WordPress.org

Ready to get started?Download WordPress

Forums

Custom Post - Custom Fields (1 post)

  1. Stuart Blackett
    Member
    Posted 2 years ago #

    I've installed a plugin titled "CMS Press" onto my Site.

    I have created two custom fields within a custom post I've called "The Team"

    The code for the page is as follows :

    [Code moderated as per the Forum Rules. Please use the pastebin]

    The custom field I created in my custom post is called "jobtitle" I am trying to retrieve that from this line of code

    <h3 class="job_title"><?php get_post_meta($post->ID, 'jobtitle', true); ?></h3>

    However nothing is getting output at all.

    Can someone help me with this. I suspect it may be something to do with the loop and my new query being in a new loop?

    Thanks in advance

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by Stuart Blackett
  • This topic is not resolved
  • WordPress version: 3.3.1