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!