WordPress.org

Français

Répertoire des extensions

Test out the new Plugin Directory and let us know what you think.

Widget Logic

Widget Logic lets you control on which pages widgets appear using WP's conditional tags. It also adds a 'widget_content' filter.

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.

PLEASE NOTE The widget logic you introduce is EVAL'd directly. Anyone who has access to edit widget appearance will have the right to add any code, including malicious and possibly destructive functions. There is an optional filter 'widget_logic_eval_override' which you can use to bypass the EVAL with your own code if needed. (See Other Notes).

There is also an option to add a wordpress 'widget_content' filter -- this lets you tweak any widget's HTML to suit your theme without editing plugins and core code.

Dons

If you like and use Widget Logic you could consider a small donation to Cancer Research UK. I have a JustGiving.com donation link. As of February 2017 we have raised 1,048.50 UKP.

Requires: 3.0 or higher
Compatible up to: 4.7.3
Mise à jour : 1 mois ago
Installations actives : 300,000+


Support

7 of 27 support threads in the last two months have been marked resolved.

Un retour ? Besoin d’aide ?

Compatibilité

+
=
Not enough data

1 personne dit que cela fonctionne.
1 personne dit que ça ne marche pas.

100,1,1 100,2,2
100,1,1 100,6,6
100,1,1 100,9,9
100,8,8
100,1,1 0,1,0 0,1,0 78,18,14 100,4,4
86,14,12 100,36,36 100,1,1 0,1,0
87,31,27 0,1,0
96,49,47
100,1,1
100,7,7
100,11,11 0,1,0
100,3,3 100,1,1 0,1,0
95,37,35 100,7,7
100,8,8
100,12,12
100,18,18
100,2,2
100,6,6
95,58,55 100,1,1 100,1,1
100,7,7 0,1,0 91,11,10 100,1,1
96,53,51 100,6,6
100,4,4 97,29,28 0,1,0
100,6,6
89,38,34 0,6,0
93,28,26 100,1,1 100,1,1
60,5,3 20,5,1 100,5,5 69,13,9
92,36,33 100,1,1
100,3,3
83,6,5
100,7,7 100,1,1
100,6,6 67,3,2
70,10,7
88,16,14
100,1,1
67,3,2
100,8,8
100,5,5
89,9,8
100,8,8
100,3,3
75,4,3
50,4,2
100,5,5
100,1,1
83,6,5
100,2,2
67,3,2
100,7,7
100,1,1
100,4,4
100,2,2
100,3,3
100,1,1
50,2,1
100,2,2
100,1,1
100,1,1 40,5,2