Hey I'm new to WordPress. I've looked at the codex and other topics here, I just don't get how to display my custom field, which I have set in the area under my post editor. The name is MyField
and the value This is my custom post text
.
Now I want to include my field into the category loop, so it shows up instead of the standard excerpt.
<?php the_meta(); ?>
shows obviously all custom fields, that is not what I want.
I´ve tried to include <?php get_post_custom_values('MyField'); ?>
, which changed nothing, do I have to do something with this after that like calling it? How can I do that?