Home Forums General Issues ACF "URL" field – can't find where to change the URL.


ACF "URL" field – can't find where to change the URL.

  • Hi

    I am trying to change the URL on two image links (facebook and instragram) which are displayed on several pages on the website as you can see here –

    In every page there’s this code in a php file which relates to this:

    while (have_posts() ) : the_post(); ?>
    <div class=”col-md-4 col-sm-4″>
    <div class=”social”>
    “>/img/inst.png” alt=””>
    “>/img/fac.png” alt=””>

    In the Dashboard – Custom Fields section, these two fields are set in a group. Neither field has a value set with a URL.

    Where can I find this URL so that I can change it please?

    Appreciate any help. Thank you!

  • re-pasting code – sorry about that!

    while (have_posts() ) : the_post(); ?> 
    				<div class="col-md-4 col-sm-4">
    					<div class="social">
    						<a href="<?php the_field('inst');?>"><img src="<?php bloginfo('template_directory') ?>/img/inst.png" alt=""></a>
    						<a href="<?php the_field('fb');?>"><img src="<?php bloginfo('template_directory') ?>/img/fac.png" alt=""></a>
Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘ACF "URL" field – can't find where to change the URL.’ is closed to new replies.