Widget Logic lets you control on which pages widgets appear using WP's conditional tags.
As of April 2026, Widget Logic is a WordPress blocks plugin with 100K+ active installations and a 4.4/5 rating from 188 reviews. It has been downloaded 3.2M+ times in total. Requires WordPress 3.0+ and PHP 5.4+. Available on WordPress.org since 2008. Recently updated within the last 3 months. Downloads are down 83% this week. Top alternative: Spectra Gutenberg Blocks – Website….
This plugin gives every widget an extra control field called “Widget logic” that lets you control the pages that the widget will appear on. The text field lets you use WP’s Conditional Tags, or any general PHP code.
The configuring and options are in the usual widget admin interface.
BIG UPDATE:
Now you can control widget in Gutenberg Widgets editor as well as in Classic Editor. It is just as easy as before but also in gutenberg view.
Pre-installed widgets let you add special widget with one click of the mouse. First pre-installed widget is Live Match that let you add widget of one random live football game with real time score updates (teams logos, livescore, minute of the match, tournament name). And more interesting widgets to come!
NOTE ON DEFAULT FUNCTIONS: Wi…
displays some weird soccer scores without consent. STAY AWAY!!
I’ve used this plugin for years, but as of the v6.0 rewrite and change of plugin author, it includes some kind of live soccer match results and calls to external JS. It’s bad, and as of WP 6.8.1 it breaks sites completely.
I’ve gone back to v5.10.4 and rolled that out to my customers, but changed the folder name so WordPress doesn’t try to update it to a bad v6.x version. Unfortunately this probably means you’ll also have to use the Classic Widgets plugin and not be able to use block editor in widgets… or migrate your site to use reusable blocks and insert those into a widget.
Hopefully this helps someone else avoid the pain.
This plugin is now containing a malware with arbitrary JavaScript injection.
Look for alternatives as soon as possible
It’s injecting code from third-party sites with football results, probably some betting stuff soon.
Seems the plugin + domain was sold and the new owner is going to misuse it for his advantage.
A huge problem gdpr-wise, not recommened to use, be aware
| WordPress | 3.0+ requiredTested up to 6.9.4 |
| PHP | 5.4+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.