Widget Logic - problem getting 2 widgets on same page (1 post)

  1. tomwgf
    Posted 4 years ago #

    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 events

    The 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?


Topic Closed

This topic has been closed to new replies.

About this Topic