WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Widget Context

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

1.0.2

  • Load available custom post types and taxonomies right before visibility checks to avoid PHP warnings.
  • Run visibility checks only after the main post query has run. Fixes issues with WooCommerce.
  • Load our CSS and Javascript files only on widget and customizer admin pages.

1.0.1

  • Fix PHP warning in custom post type and taxonomy module.

1.0

  • Public release of the 1.0 refactoring.

1.0-beta

  • Improved settings page.

1.0-alpha

  • Refactor code to allow custom widget context modules.

0.8.3

  • Fix PHP warning that occurred on PHP 5.2.x.

0.8.2

  • Improved SSL/HTTPS detection.
  • Fix: Ensure that is_active_sidebar() & is_dynamic_sidebar() don't return true when there are no widgets displayed on a page.
  • Two new filters so that other plugins can override widget context display/visibility logic.

0.8.1

  • Revert back to changing callback function in $wp_registered_widgets for attaching widget context setting controls.
  • Fix the word count logic.

0.8

  • Major code rewrite and refactoring to improve performance and usability.
  • Fix bugs with URL targeting and empty lines in the "Target by URL" textarea.

0.7.2

0.7.1

  • Confirm that the plugin works with the latest version of WP.

0.7

  • Bug fix: check for active sidebars only after $paged has been set.

0.6

  • Don't check for used sidebars on each widget load. Allow absolute URLs in the URL check.

0.5

  • Added distinction between is_front_page() and is_home(). Remove widgets from wp_get_sidebars_widgets() if they are not being displayed -- this way you can check if a particular sidebar is empty.

0.4.5

  • Widget output callback couldn't determine the widget_id.

0.4.4

  • Fixed widget control parameter transfer for widgets that don't use the new widget api.

0.4.2

  • Initial release on Plugin repository.

Requires: 3.0 or higher
Compatible up to: 3.9.1
Last Updated: 2014-7-16
Downloads: 262,635

Ratings

4 stars
4.6 out of 5 stars

Support

6 of 11 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,2,2 100,2,2
100,2,2 100,1,1
50,2,1
71,7,5
67,6,4
60,5,3
88,17,15
100,4,4
50,4,2
100,5,5
80,10,8
100,2,2
100,2,2
50,6,3
100,2,2
72,18,13
50,4,2
33,9,3
75,4,3
40,5,2
100,7,7 100,1,1
100,1,1 100,1,1 75,4,3
60,5,3 100,1,1
100,5,5 100,2,2 67,3,2 33,18,6
100,1,1 100,1,1
67,3,2 100,1,1
100,2,2 100,1,1 100,2,2
75,4,3
0,2,0
100,1,1
100,1,1
100,4,4 67,3,2 0,1,0