Displaying custom data in your Templates
Thankfully, the hard part is over. You are now able to save custom content using various input types. Now we need to display this information to the users on the frontend. This process should give you a better understanding and an appreciation of how the data from the database is delivered to your site's theme. Third-party themes are developed differently, but if you can wrestle the default theme into submission, then you should be able to deal with others.
If you are using the default WordPress 3 theme, "Twenty Ten", then you may have noticed right away that your custom fields do not appear on your posts when you visit them on the frontend.
In order to fix this problem, let's make a copy of the theme so ...
Get WordPress 3 Plugin Development Essentials now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.