Home Forums General Issues Can't get to work "url" field type


Can't get to work "url" field type

  • I used this in an older website and worked just fine. So I’m puzzled about this:
    Basically I created a field group associated to a category. That category is used with a post that contains the footer links. and righ now the link is not showing up at all.

    Here’s the code I’m using:

    			if( get_field('link_instagram')): ?>
    		    	<a target="_blank" rel="nofollow noopener" href="<?php the_field('link_instagram'); ?>" class="d-flex justify-content-center align-items-center mx-4 mb-2 custom-mx-1" aria-label="***"> 
    		    	<img src="<?php bloginfo('template_url'); ?>/img/redes-instagram.svg" alt="">
    		  <?php endif; ?>
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.