Support » Fixing WordPress » Horizontal menu with Pages and Subpages

  • Resolved ojster

    (@ojster)


    Hello,

    I would like to create a horizontal menu with pull down menus that would show SubPages and SubSubpages. I figured out how to make this as a list, but not how to include it in the menu.

    I would like to integrate it into a G5 menu by http://www.yxscripts.com/ and therefore I would need an option to insert each separate Page link into additional code. I knew how to make this in MovableType, but have not been able to figure it out in WP.

    If I use this code:
    <?PHP wp_list_pages(“child_of=19&sort_column=menu_order&title_li=”); ?>
    I get a complete list of SubPages and SubSubPages. I would like to insert each separate link itno the following code:

    addLink(“tool1-sub”, “SubPage Name”, “SubPage Link”, “”, “”);
    addLink(“tool1-sub”, “SubPage1 Name”, “SubPage1 Link”, “”, “”);

    And this would have to be for every link. And similar code also for SubSubPages.

    Any ideas on how can I do that? Or is there a better way to create such horizontal menu?

    I would really appreaciate any advice.

    Best regards,
    Peter

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Horizontal menu with Pages and Subpages’ is closed to new replies.