Widget Context icon
Content & Editing

Widget Context

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

  • By Kaspars
  • v1.5.0
  • Updated

Is Widget Context safe to install?

Good choice: actively maintained

  • Pass: Actively maintained Last updated 1 month ago (version 1.5.0).
  • Pass: Compatible with current WordPress Tested up to WordPress 7.1; the current release is 7.1. Needs PHP 7.4+.
  • Pass: Well rated Rated 4.5/5 by 98 users on WordPress.org.
  • Pass: Widely used Active on 30,000+ sites.

Check every plugin on your site with the free WordPress plugin checker →

Based on WordPress.org data, checked Nov 17, 2026. Always keep plugins updated and test changes on a staging site.

Overview

Widget Context describes itself as: “Show and hide widgets on specific posts, pages and sections of your site.”

It is active on 30,000+ WordPress sites and rated 4.5 out of 5 by 98 users on WordPress.org. Developers can extend it through 0 actions and 6 filters, listed below.

We haven't published a hands-on review of Widget Context yet. Want one, or need help with it? Send us a request.

How to install Widget Context

  1. Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
  2. Search for it. Type “Widget Context” and pick the one by Kaspars.
  3. Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI

Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:

wp plugin install widget-context --activate

Requirements: WordPress 3.0+ · PHP 7.4+ · tested up to WordPress 7.1.4

Hooks & customisation

Widget Context 1.5.0 fires 0 actions and 6 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.

widget-context — top hooks
// Filter in src/WidgetContext.php
apply_filters( "widget_context_check-{$context_id}", null, $context_options[ $context_id ] ?? array() );

// Filter in src/WidgetContext.php
apply_filters( "widget_context_classes-{$context_name}", $context_classes, $control_args );

// Filter in src/WidgetContext.php
apply_filters( "widget_context_control-{$context_name}", $control_args );

// Filter in src/ContextOptions.php
apply_filters( 'widget_context_options', (array) get_option( $this->option_name, array() ) );

// Filter in src/WidgetContext.php
apply_filters( 'widget_context_pro_nag', true );

// Filter in src/WidgetContext.php
apply_filters( 'widget_contexts', $default_contexts );

Browse all 6 hooks with examples →

Widget Context: frequently asked questions

Is Widget Context free?

Yes. Widget Context is free to download from the official WordPress.org plugin directory and is licensed under the GPL, so you can use it on as many sites as you like. Some developers sell a separate Pro version or paid add-ons; check the developer's website for details.

Is Widget Context safe to use?

Widget Context is actively maintained: the latest version was released 1 month ago. Users rate it 4.5 out of 5 from 98 reviews on WordPress.org. As with any plugin, keep it updated and only install it from WordPress.org or the developer.

Does Widget Context work with WordPress 7.1?

Yes. Widget Context is tested up to WordPress 7.1, the current release. It requires WordPress 3.0 or later and PHP 7.4 or later.

How many websites use Widget Context?

Widget Context is active on 30,000+ WordPress sites, according to WordPress.org. It is currently at version 1.5.0, last updated on October 9, 2026.

What are the best alternatives to Widget Context?

We didn't find a maintained plugin that does exactly the same job. Browse the top-rated Content & Editing plugins for related options.

Can I customise Widget Context without editing its code?

Yes. Widget Context 1.5.0 fires 0 actions and 6 filters that you can use from a child theme or a code snippets plugin, so your changes survive plugin updates. Browse all 6 hooks with examples.

Done for you

Need Widget Context to do more?

Clear starting prices, an exact quote before any work, and changes built so plugin updates never wipe them.

Custom hook snippet

from $49

A small, update-safe change built on the plugin’s own hooks.

  • Code written against the plugin’s actions and filters
  • Tested on a staging copy of your site
  • Install instructions included

Typical turnaround: 2–3 business days

Choose this

Bug or conflict fix

from $79

Errors, broken layouts or two plugins that don’t get along.

  • Find the cause on a staging copy
  • Fix without breaking updates
  • Explain what was wrong

Typical turnaround: 1–3 business days

Choose this

Not sure which fits? Describe what you need and we’ll suggest the simplest option.

Need Widget Context customised?

Tell us what you want changed, added or fixed and we'll reply with an estimate.

WP EXPERTS is independent and not affiliated with Kaspars. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 17, 2026.

About the developer

Kaspars

4 plugins · 40,270+ installs in total · 4 of 4 updated in the last year

  • Actively maintained
  • Released this month
  • Keeps up with WordPress
95 maintenance
score
Developer profile →

More plugins by Kaspars

All 4 →

Improve website performance by caching widget output in WordPress transients.

200+ installs 1 hooks

Change block visibility for specific users.

70+ installs

Alternatives in Content & Editing

See all →

Enables the previous "classic" editor and the old-style Edit Post screen with TinyMCE, Meta Boxes, etc. Supports all plugins that…

8+ million installs Reviewed 4 hooks

Duplicate Posts, Pages and Custom Posts easily using single click

3+ million installs Reviewed 3 hooks

The go-to tool for cloning posts and pages, including the powerful Rewrite & Republish feature.

3+ million installs Reviewed 21 hooks

Enables the previous "classic" widgets settings screens in Appearance - Widgets and the Customizer. Disables the block editor from managing…

2+ million installs Reviewed