[resolved] get_post_meta not working (2 posts)

  1. NWTD
    Posted 2 years ago #

    I've created a custom post type and several custom fields. In the dashboard, I've been able to successfully call these custom fields using get_post_meta for customizing the columns for my custom post type.

    However, when I attempt to call these custom fields to display on the front end of the site, I get nothing.

    Here's the code I'm using to attempt to display ont he front end: http://pastebin.com/dUPtyCh8

    Here's a link to the front end that visitors will see: http://contractorwebsiteservices.com/intheblackhorses/todays-racing-selections/

  2. NWTD
    Posted 2 years ago #

    This ended up being an issue with the framework I'm using, Genesis. I had to us the genesis_get_custom_field('myfield') call for it to work.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.