Custom Fields in WordPress

If you’re a wordpress user, you would have seen some wordpress have this function to include a thumbnail image and maybe sometimes include your Mood level.

Based on a blog at AbsoluteSpook.com, one can add in their thumbnail to the blog entry. Well, by default an automatic graphic is displayed instead. By instruction on the theme, all one need is to modify the custom fields in WordPress! Now the problem is how can one do that?

A simple explanation is go to your blog post that you wanted to modify or add the custom fields and select Custom Fields Below.

Choose a Key and the value.

Key – Name
Value – Daniel

Then add this

<?php the_meta(); ?>

Here’s how one can display too.

<ul class='post-meta'>
<li><span class='post-meta-key'>Curently Reading:
</span> Calvin and Hobbes</li>
<li><span class='post-meta-key'>Today's Mood:</span>
 Jolly and Happy</li>
</ul>

There are actually many more ways to use the custom field in wordpress. If you really need to know, you can refer to the WordPress help guide for more extreme use of the Custom Field.

Leave a Reply