Support » Developing with WordPress » Template tags and menus

  • I am trying to replicate a css menu using WordPress Template tags. I am struggling to use the template tags to produce the following output:

    The menu has 4 main pages, and 11 subpages. However, the last child of each main page must have the class=”last” tag attributed to it. In addition, the main pages must have a blank div tag placed afterwards, in order for the menu to render correctly.

    Is this possible to execute using template tags? As a newbie, I’m finding this quite challenging!

Viewing 1 replies (of 1 total)
  • I’d manually add the pages, personally. Looks like the function definitions are pretty complex for the page listing.

Viewing 1 replies (of 1 total)
  • The topic ‘Template tags and menus’ is closed to new replies.