WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

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've just started learning so this might be a noob question.

Displaying Custom Fields

With a Custom Field added to the post, it's time to display your books and mood to the world. To display the Custom Fields for each post, use the the_meta() template tag. The tag must be put within The Loop in order to work. Many people add the_meta() template tag to the end of their post or in their Post Meta Data Section.

- Custom Fields on Codex

I think I'm misinterpreting the bold part but I tried to add the tag <?php the_meta(); ?> in my post and it's not showing up.

Screenshot here.

share|improve this question
up vote 0 down vote accepted

you should add <?php the_meta(); ?> in your single.php or in other relevant file.

reference how to edit your theme files

share|improve this answer
Actually I'm going over with the rest of the tutorial, but I was just curious why that isn't working. Does it mean something else by "post" than what I understand? – laggingreflex Aug 2 '12 at 4:17
you can't put the php code like that directly on content. unless you use a plugin of course. did you edit the file? – peteroak Aug 2 '12 at 5:00

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.