O'Reilly logo

WordPress 3 Cookbook by Jean-Baptiste Jung, Ric Shreves

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 widgets inside of posts and pages

As we saw earlier in this chapter, widget placement options on your WordPress site are a by-product of your theme. The options you have are a direct result of what the theme developer has provided for you. Wouldn't it be nice if you could put widgets wherever you like, without having to edit your theme files? This recipe addresses part of that need, by opening up your content area for widget placement.

In this recipe, we look at implementing a plugin that enables you to place widgets directly inside of your posts and pages.

Getting ready

To execute this recipe, you will need to install the Widgets on Pages plugin. You will need to install this plugin before you can get started. Search for Widgets on Pages ...

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