Start a FREE 7 day trial! Get training videos and books, plus expert support:  

WordPress Tutorials and Blog Posts

Widget Context Allows Different Widgets on Different Pages

tutuploadstutuploadsmedia_1328239378919.pngWordPress is making great strides as a CMS, but it does lack one feature found in most CMSs: the ability to control over which posts and pages your widgets appear on.

The Widget Context plugin is the best and most usable solution. It consists of a not much more than some radio buttons, some checkboxes and a box for URLs.

There are some more complex alternatives to Widget Context and these include Widget Logic, Display Widgets and Slayers Custom Widgets.

Step 1. Find and install the plugin

tutuploadstutuploadsStep_1._Find_and_install_the_plugin..png
  • Go to Plugins, then Add New.
  • Type "widget context" into the search box.
  • Click Install when the results list shows up.

Step 2. Go to your widgets page

tutuploadstutuploadsStep_2._Go_to_your_widgets_page.png
  • Go to Appearance, then Widgets.

Step 3. Select the widget to work with

tutuploadstutuploadsStep_3._Select_the_widget_to_work_with..png
  • Click the down arrow to open the widget controls.

Step 4. Configure your choices

tutuploadstutuploadsStep_4._Configure_your_choices..png
  • Choose the selection method - Show on selected, Hide on selected or Hide. Hide makes it not show up at all.
  • Check the box for the content type. It will only show on (or not show on) the types you select, depending on your selection method.

Option: Type in the target URL. Put only one URL per line.  You can use an asterisk as a wild card to apply the rule to an entire category, a year, a month or just a single page. The note under the box gives you examples:

  • to select front page.
  • category/peace/* to target all peace category posts
  • 2012/* to target articles written in year 2012.

Click Save. That's it. You're done. Just experiment to get it right.

 

Start a FREE 7 day trial! Get training videos and books, plus expert support: