ACF Not showing up in portfolio item page?

Hello,

I have tried to get the ACF to show on the portfolio item page, however I have not been able to get it to work, please see code below…

   <div class="entry-extra">
    <?php echo do_shortcode( '[acf field="call_to_action"]' ); ?><br>
    <?php x_portfolio_item_tags(); ?>
    <?php x_portfolio_item_project_link(); ?>
    <?php if(do_shortcode( '[acf field="project_location"]' )!=""): ?>
    <?php echo"<h6 style=text-transform:none;font-size:120%;>Location</h5>"; ?>
      <ul class="x-ul-icons"><li class="x-li-icon"><i class="x-icon-map-marker"></i><?php echo do_shortcode( '[acf field="project_location"]' ); ?></li></ul>
   <?php endif; ?>
   <?php if(do_shortcode( '[acf field="duration"]' )!=""): ?>
   <?php echo"<h6 style=text-transform:none;font-size:120%;>Project duration</h6>"; ?>
    <ul class="x-ul-icons"><li class="x-li-icon"><i class="x-icon-calendar-o"></i><?php echo do_shortcode( '[acf field="duration"]' ); ?></li></ul>
   <?php endif; ?>
    <?php x_portfolio_item_social(); ?>
  </div>

any suggestions?

Thanks
Daniel

Hello Daniel,

Thanks for writing in! To better assist you with your issue, kindly provide us access to your site so that we can check your settings. Please create a secure note with the following info:
– Link to your site
– WordPress Admin username / password

To know how to create a secure note, please check this out: https://theme.co/apex/forum/t/how-to-get-support/288

Regards.

Thanks for the reply, info sent

Sorry I have sorted it now, my bad, I had the file in the wrong location!!! Dohhhh

Hey @Dan1el,

We are just glad that you have figured it out a way to correct the said issue.
Thanks for letting us know!

Best Regards.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.