the_content() not outputting anything (Advanced Custom Fields)

Hi i’m using the custom post types UI and advanced custom fields plugin and would like to use the default content editor as one of my fields for a custom post type.
When i use the_content(); in the template code to output the content it doesn’t work.

  <div class="singleProjectContainer">
      <h1><?php the_title(); ?></h1>
      <p><?php the_field('description'); ?></p>             
      <?php the_content(); ?>
  </div>

Can someone please help me with this. I’ve searched google but i’m seeing answers related more to content filters.

Read More

Advanced Custom Fields Options

Related posts

Leave a Reply

1 comment

  1. Be more specific while asking. Asuming you’re using WYSIWYG editor in a custom field.

    To retrieve custom field value, the_content() won’t work. You must use something like this

    echo get_post_meta($post_id, 'meta_filed_key',  TRUE);