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.


Add comment


Security code
Refresh

blog-ad

Start Online Training

Members get access to all our video training. That's 1,142 training sessions in Joomla, Drupal, WordPress and Coding.

Manage All Your Joomla Sites

adminicredible

With Admincredible you can update and manage all your Joomla sites. If you have 5 or 500 sites, Admincredible will make your life easier! Visit Admincredible.com.

Latest Comments

The License for Our Tutorials

All of our tutorials are published under the Creative Commons Attribution-NonCommercial license. This means:

  • You can re-use these tutorials.
  • You can modify these tutorials.
  • You must link back to our original tutorial.
  • You can't use these tutorials commercially.

Click here to read the full license.

Open Source Training is not affiliated with or endorsed by the Joomla, WordPress or Drupal projects.
All product names and trademarks are the property of their respective owners.

Copyright 2013 Open Source Training, LLC. All rights reserved.