Forums

only limited grandchildren in sidebar (2 posts)

  1. kischi
    Member
    Posted 1 year ago #

    Hi,

    I have a page in wordpress, that has a topmenu as a dropdown so it has some children that are shown in the dropdown and then those children has some children that is shown in the sidebar when you are in the top parent category.

    And all that's fine, but when there are more then a cirtain number of grandchildren showing in the sidebar their are also shown in the dropdown as children.

    You can see it if you go to: http://www.globeaid.dk/volunteering/

    if you look in the sidebar under "volenteering categories" the 4th child is called engineering, and it should only be shown there because it is a child to "volenteering categories" but if you look in the volenteering dropdown you can see it it the bottom. It is not supposed to be there.

    So do you know where I should be looking for limitations for grandchildren, or what the problem could be?

    Thank you in advance, I hope someone can help me.
    I hope you understand what I meen.

  2. kischi
    Member
    Posted 1 year ago #

    I should also say that, I am using the theme "Default" and in the sidebar I am using these functions:

    ( is_404() || is_category() || is_day() || is_month() ||
    is_year() || is_search() || is_paged() || ( is_home()

    and in he header file with the main drop down menu I am using this funktion:

    <?php wp_list_pages('title_li=&depth=0&sort_column=menu_order&exclude=56'); ?>

    Do you know if there are any of these funktions that has a limitation to children.

    could someone please help me with that problem?

    Thank you :)

Topic Closed

This topic has been closed to new replies.

About this Topic