Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #8056

    For some (weird) reason, the dynamically created page sidebar navigation (Corona > Theme Options > Layout & Settings > Page Sidebar navigation) lists all pages instead of just the ancestors, parents, and children. This mostly occurs on child and sub-child levels. It’s not controllable when this happens – at least I haven’t found the reason for it yet. Does anyone know how to fix this issue?

    #60166

    Anybody to help with this problem?

    #60167

    Hi,

    I wasn’t able to reproduce your problem. Could you link to a page where this is occurring? This way we can give specific instructions.

    #60168
    #60169

    It might have been a plugin issue – I uninstalled a couple ones I didn’t need anymore and it’s fine now. However, the search results page still shows all pages in the left sidebar. Does anyone know how to fix this?

    #60170

    The search page is no parent/ancestors or child page of another page and that’s why it will always display all pages. If you’d like to exclude the pages from the search template open up sidebar.php and replace:

    if($subNav && isset($post) && is_object($post) && !empty($post->ID))

    with:

    if($subNav && isset($post) && is_object($post) && !empty($post->ID) && ! is_search())

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Sidebar navigation sometimes displays all pages’ is closed to new replies.