• parse

    (@parse)


    Hi!
    I have a question regarding the template-part of a website I’m working on.

    This is how the sitestructure looks in WP: https://dl.getdropbox.com/u/500851/wordpress.JPG
    And this is the output: https://dl.getdropbox.com/u/500851/wordpress2.JPG

    And here’s my code: https://pastebin.se/197763 (I’m aware of the problem with the $place-variable, but that’s what I’m working towards.

    In the submenu I’d like to show only the children of Place, the reason I’m doing this is that I’d like to show the menu in different parts of the template. The visitor is redirected to a season (vinter/sommar (winter, summer)) and there they choose a place and under the place the submenus will show. And I’ll have a Globals-menu somewhere else on the page, but that is already figured out.

    And if I go to /summer/place/menuitem I’d like WordPress to keep an eye on that and highlight the correct menuitems with class=”active” or something like that.

    Of course it should be the same structure under Vinter like it’s under Sommar. But that’s only a quick drawup.

    Thanks all of you who read this far!

    / Anders

  • The topic ‘Many and deep levels in pagestructure’ is closed to new replies.