WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm building a website using the Simple Fields plugin to mark a post as featured and to add a simple slide show. I've read the documentation page and they only explain how to do things on the backend.

So I have some fields attached to a post, and now I want to get those values on the front-end.

How do I get those values?

share|improve this question

migrated from stackoverflow.com Apr 21 '11 at 21:25

This question came from our site for professional and enthusiast programmers.

I'm pretty sure that plugin just hooks into the meta fields so in order from them to display you can echo the get_post_meta.

For instance:

 <?php echo get_post_meta($post->ID, 'the_name_of_your_custom_field', true); ?>

http://codex.wordpress.org/Function_Reference/get_post_meta

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.