Support

Account

Home Forums ACF PRO Custom post type question? Reply To: Custom post type question?

  • Hi John,

    Thank you for responding. I’ll try to answer your questions. Please bare with me as I’m still learning…

    What template file are you editing to show the values?
    I created a single-portfolio.php file to use as my template for sections.

    How are you calling get_field()?
    Pretty sure this is wrong, but I was following these instructions..
    https://www.advancedcustomfields.com/resources/adding-fields-posts/

    So in my case it looked like this:

    <?php
    the_post();

    // vars
    $project_title = get_field(‘project_title’);
    ?>

    <h6><?php the_field(‘project_title’); ?></h6>

    are your field calls inside of “The Loop”?
    Sadly no. Not sure how this loop is supposed to look like…

    Again, thanks again in advance…