Excluding multiple template pages in Widget Logic sidebar plugin
-
Hi:
I successfully excluded one page_template using Widget Logic, so I tried extending it to multiple pages.
I’m using this string in the widget logic text box:
!is_page_template('proj-ed.php', 'proj-civil.php', 'proj-comm.php', 'proj-senior.php')
to try to exclude multiple pages from referencing a sidebar widget. Is there anything wrong with this formulation? Are the spaces causing it to not work? FWIW, proj-ed.php is the template that still works. all the other do not.
I’m also using HTML Javascript adder plugin, although that does not matter when I’m just excluding one template-which works.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Excluding multiple template pages in Widget Logic sidebar plugin’ is closed to new replies.