🎉 Double storage, double possibilities : Enjoy 2x storage with all our plans now at no additional cost.

Widget Logic

Widget Logic lets you control on which pages widgets appear using WP's conditional tags.
By submitting this form you agree to our Terms & Conditions

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.

  • Version
  • Last updated
  • Active Installations
  • Tested up to
  • WP Version
  • PHP Version


No longer works properly as of WP 5.8

By Jon (garconis) on August 19, 2021

It's no longer possible to add or edit existing logic, now that WordPress has implemented Widget blocks.

Tremendous plugin

By modes200 on April 17, 2020

This plugin is very useful, I recommend it I have been using this plugin for years and it is great.

Prosta i funkcjonalna

By marekjar on April 3, 2020

Dzień dobry, Wtyczka jest REWELACYJNA. Prosta bez wielu niezrozumiałych i niepotrzebnych ustawień. Cały dzień szukania i testowania różnych wtyczek. Przy pomocy krótkiego kodu ustawiamy wyświetlanie widgetów na tych stronach, które mają przekazać dodatkowe informacje. Pozdawiam - marekjar

Very nice plugin

By bstoutstudio on November 10, 2019

This is very nice plugin! Thank you for your hard work and fast support!

Thank you for this handy plugin

By Manjunathpmf on October 20, 2019

The plugin is lightweight and does the job well. Thank you @WPChef

Делает виджет полупрозрачным

By kotyarashop on July 30, 2019

Спасибо за попытку облегчить нам жизнь. К сожалению при скрытии виджета он не исчезает вообще, а становится полупрозрачным. Кроме того, плагин сделан не для обычных людей, очень сложный и не интуитивно понятный.


By Tareq Jamal (hesamz) on July 9, 2019

This is exactly want I need.


By Rais (raistlinix) on July 3, 2019

This plugin is very useful, I recommend it

Excellent plug-in

By pessoa68 on June 10, 2019

A recommander chaudement si vous souhaitez varier l'affichage de vos plug-in en fonction des pages, des articles, etc. Très puissant et vraiment open source !

Powerful without reinventing the wheel

By Clarus Dignus on April 14, 2019

Widget Logic gives you power of determining when widgets should appear based on a variety of conditions. The conditions are expressed as the official WordPress conditional tags. Relying on an existing system of conditional logic, this plugin doesn't unnecessarily reinvent the wheel. Conditional tags are well documented. No shortage of examples exist online.

Downloads Trend


Are you the author of this plugin, Claim this page

Explore other WordPress plugins

Advanced Access Manager

All you need to manage access to WordPress websites on the frontend, backend and API levels for any role, user or visitors.

Clever Fox

Clever Fox plugin to enhance the functionality of free themes made by Nayra Themes. More than 60000+ trusted websites with Nayra Themes.

Public Post Preview

Allow anonymous users to preview a draft of a post before it is published.

AMP for WP – Accelerated Mobile Pages

AMP for WP is the most recommended AMP plugin by the community. Automatically add Accelerated Mobile Pages (Google AMP Project) functionality on your …