WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Kaspars v1.4.0

Widget Context

Show and hide widgets on specific posts, pages and sections of your site.

Widget Context

The facts

Rating
4.5★ from 97
Active installs
30k+
Price
Free
Last updated
18 May 2026
Added
Jul 2009
Requires WP
3.0
Tested up to
WP 6.9.7
Requires PHP
7.4
Downloads
1,007,293

Our analysis

AI-assisted

Widget Context is a WordPress plugin that allows you to control the visibility of widgets on different sections of your site, such as the front page, posts, and pages. It offers targeting by URLs, including support for wildcards, enabling you to set specific conditions under which widgets are displayed or hidden.

This plugin is suitable for users who want to customize their site’s layout and functionality based on the content being viewed. It is particularly useful for those who need to manage widget visibility across various sections of their site without extensive coding knowledge.

Best for: This plugin suits WordPress users looking to manage widget visibility based on specific conditions.

What it does well

  • Allows showing and hiding widgets on specific site sections
  • Supports URL targeting with wildcard functionality
  • Configurable through widget settings in WordPress admin
  • Active installation count of 30,000
  • High rating of 4.5 out of 5 from user reviews

Where it falls short

  • Limited information on additional features or support options

Verdict

Widget Context provides a straightforward solution for controlling widget display on your site. It is a useful tool for those wanting to enhance their site's user experience.

From the developer

Kaspars's own description of Widget Context, lightly tidied.

Use Widget Context to show and hide widgets on certain sections of your site — front page, posts, pages, archives, search, etc. Use targeting by URLs (with wildcard support) for maximum flexibility.

Premium Support

Subscribe to our Premium Support service and get the PRO 🚀 version of the plugin for free when it’s launched! Your support enables consistent maintenance and new feature development, and is greatly appreciated.

Contribute

Documentation

Widget visibility can be configured under individual widget settings under “Appearance → Widgets” in your WordPress administration area or through the widget editing interface in the Customizer.

Target by URL

The “Target by URL” is a powerful feature for targeting sections of your website based on the request URLs. It was inspired by a similar feature in the Drupal CMS.

Use relative URLs such as page/sub-page instead of absolute URLs https://example.com/page/sub-page because relative URLs are more flexible and make the logic portable between different domains and server environments.

Wildcards

Use the wildcard symbol * for matching dynamic parts of the URL. For example:

  • topic/widgets/* to match all posts in the widgets category, if your permalink structure is set to /topic/%category%/%postname%.

  • page-slug/* to match all child pages of the page-slug parent page.

  • Use a trailing ?* to capture URL with all query arguments such as utm_source, etc. For example, for every blog/post-slug also include blog/post-slug?*.

Exclude by URL

Specify URLs to ignore even if they’re matched by any of the other context rules. For example, enter example/sub-page to hide a widget on this page even when “All Posts” is selected under “Global Sections”.

Read the full description on the official page →

Tagged as