O'Reilly logo

WordPress 3 Plugin Development Essentials by Everett Griffiths, Brian Bondari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required