---
title: Display Widgets Only on Certain Pages
date: 2009-03-31T23:48:09+00:00
modified: 2012-08-23T13:35:38+00:00
permalink: https://kaspars.net/blog/display-widgets-only-on-certain-pages
post_type: post
author:
  name: Kaspars
  avatar: https://reverse.kaspars.net/gravatar/avatar/92bfcd3a8c3a21a033a6484d32c25a40b113ec6891f674336081513d5c98ef76?s=96&d=mm&r=g
post_tag:
  - Plugin
category:
  - WordPress
---

# Display Widgets Only on Certain Pages

**Update:** I am releasing an updated version of the Widget Context plugin and would like you to test it out. [Read more →](https://kaspars.net/blog/widget-control-plugin-preview "Widget Control Plugin Preview; Looking for Beta Testers")

In WordPress it requires only two steps:

1. Install the [Widget Context](https://kaspars.net/blog/projects-services/wordpress-plugins/widget-context/ "Download Widget Context Plugin for WordPress") plugin, and
2. specify the *visibility settings* for each widget.

### Possible Widget Visibility Settings

[![Widget Context Settings](/wp-content/uploads/2008/11/widget-context-035-385x480.png "Widget Context Settings")](https://kaspars.net/wp-content/uploads/2009/03/widget-context-035.png)

- Display widget *only on selected pages* or *on every page except* selected — homepage, single post, single page, attachment or image page, search results, all or individual category, tag, author or date archives.
- Display widget on pages that *have less or more than certain number of words*.
- Display widget on pages that mach or don’t match *specific URL patterns*, for example, enter `about/*` to show or hide a widget on all child pages of your *About* page.