Forums

Painter theme sub menu (6 posts)

  1. Dutchprop
    Member
    Posted 1 year ago #

    Hi all,
    I would like a sub menu in a sub menu... The theme support sub menu's, but for some reason it doesn't show the next level.

    They have managed it on this site: http://www.sustainable-event-alliance.com/ but I can't get in touch.

    Can somebody please help?

  2. 123milliseconds
    Member
    Posted 1 year ago #

    Temp try another theme that supports sub - subs; to see if its a theme issue; or not

  3. Dutchprop
    Member
    Posted 1 year ago #

    This is a theme issue, because I know the webmaster of this site (http://www.sustainable-event-alliance.com/) posted the same question. He fixed it, but I don't know why. Nobody replied to his post.

  4. Chip Bennett
    Member
    Posted 1 year ago #

    This Theme was released in 2009, well before the implementation of WordPress core support for Nav Menus.

    This Theme is using wp_list_pages() with a depth of 2 in header.php:

    <div id="menu">
         <ul>
              <?php wp_list_pages('depth=2&title_li='); ?>
         </ul>
    </div>

    To show a greater depth of Child Pages, you need to change this argument:

    depth=2

    to a greater number. e.g. to show Child-Child Pages, you need a depth of "3":

    depth=3
  5. Dutchprop
    Member
    Posted 1 year ago #

    Thanks for that! I'm not much of a programmer, but this worked.
    Do you perhaps also know how to position this 3rd menu?

    Please have a look at http://www.cisper.nl/rfid
    In the menu "products" you will find "tags and labels". You will notice that this menu isn't position next to the 2nd menu.

  6. Chip Bennett
    Member
    Posted 1 year ago #

    Please have a look at http://www.cisper.nl/rfid
    In the menu "products" you will find "tags and labels". You will notice that this menu isn't position next to the 2nd menu.

    That would be a CSS question.

    Note: wp_list_pages() outputs one menu, that consists of nested, unordered lists. You need to adjust your style definitions for the third level of nested lists.

Topic Closed

This topic has been closed to new replies.

About this Topic