Widget Logic- Page Template not working
-
I installed Widget Logic and it works great for almost everything. The only problem I am having is that for some reason it won’t exclude a widget on a page that I am using a particular template on. I have the following code:
!is_page(array(144,174,146,208)
It works for all of the pages except for page 146. I am using a template on that page that calls certain posts in a particular category:
<?php $page = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("cat=10&showposts=5&paged=$page"); ?>
The weird thing is that I am using the code:
is_page(array(144,174,146,208)
for another widget that I want to only show up on those pages and it works fine.
Any ideas why I can’t exclude the widget from that page?
Thanks!
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Widget Logic- Page Template not working’ is closed to new replies.