Advanced Custom Fields
unable to get custom fields to show up (1 post)

  1. adavis3105
    Posted 2 years ago #

    While using the ACF plugin ( with the repeater addon) I am trying to get the custom fields to show up on the blog post with the custom post type, and nothing is showing up but the title and whatever i put into the visual editor box...

    Here is my code

    <div id="content" role="main">
    		<?php query_posts( 'post_type=recipes'); ?>
    		<?php if(have_posts()) while(have_posts()) : the_post();?>
    		<?php the_post_thumbnail();?>
    		<?php the_title();?>
    		<?php the_field('total_time');?>
    		<?php the_category();?>
    		<?php endwhile;?>
    		</div><!-- #content -->


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Advanced Custom Fields
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.