If you followed along in theprevious sections and added the mood Custom Field to your own site, notice that the data doesn't appear on your site the way it does on Lisa's. To get the data to display properly, you must open the template files and dig into the code a little bit. If the idea of digging into the code of your template files intimidates you, you can put this section aside and read up on WordPress themes, template files, and template tags in Book VI.
You can add Custom Fields, in several ways, to your templates in order to display the output of the fields you've set; we think the easiest way involves using the get_post_meta(); template tag function, which looks like this:
<?php $key=“NAME”; echo get_post_meta($post->ID, $key, true); ?>
Here's how that function breaks down: