Support » Plugins » Hacks » Custom Post – Custom Fields

  • Stuart Blackett

    (@stuartkoodoocreativecouk)


    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

  • The topic ‘Custom Post – Custom Fields’ is closed to new replies.