Hide if no child pages?
-
Hi there,
Any way to hide the widget if no child pages exist? I am getting a duplicate if there are no child pages :
ex if children:
About Us
– who we are
– what we do
– our mission statementSo the side bar shows all 4 pages…
If a page has *no* child pages, I don’t want the widget to show at all ( so the single page doesn’t show in the sidebar also… how can I achieve this?
I know you can add to the “show on selected option as:
about-us*
products*
services*
case-studies*
resources*and the widget will show on those pages and their child pages… but I’d like this to happen automatically if a child page is added to another page that isn’t listed here… this possible?
https://www.ads-software.com/extend/plugins/hierarchical-pages/
- The topic ‘Hide if no child pages?’ is closed to new replies.