Widget Logic – problem getting 2 widgets on same page
-
hi
i have a page (Activities) with child pages (list of activities).
I have a left sidebar with navigation of child pages
and a right sidebar with a list of Activity eventsThe left navigation has a Navigation Menu widget with widget logic:
global $post; return (is_page(‘Activities’) || ($post->post_parent==”20″));
and the navigation appears on all pages.The right widget has PHP Widget to show events with the same widget logic:
global $post; return (is_page(‘Activities’) || ($post->post_parent==”20″));On the main Activities page – both left and right sidebars work – the show navigation and events.
But the child pages do not, they only show the right, Events, sidebar.
How can i get both sidebars to appear on all child pages?
thanks
- The topic ‘Widget Logic – problem getting 2 widgets on same page’ is closed to new replies.