I know there is no is_subpage syntax for widget logic, (that would be great if there was) but here is what I am looking to do.
I wish to place a widget in the (sidebar, footer or wherever I need it).
For this example, lets say I want to place a footer widget on the page >> http://addictiondiscussion.com/addiction-treatment-centers/california/stanislaus-county/
I also want that same widget to show up in the same spot on the page >> http://addictiondiscussion.com/addiction-treatment-centers/california/orange-county/
And on the page >> http://addictiondiscussion.com/addiction-treatment-centers/california/santa-cruz-county/ . They are all sub-pages of >> http://addictiondiscussion.com/addiction-treatment-centers/california/.
I don’t want to have to add all the individual page id’s to the “is_page code” in widget_logic.
Besides, when each county page fills up and needs to have a (page-2), the individual page id’s will become void. Does this make sense?
There are over 3000 counties in the US and I don’t want to have 3000 different is_page codes to write.
- The topic ‘[Plugin: Widget Logic] Is there a "is_subpage" alternative?’ is closed to new replies.