static pages subsets (3 posts)

  1. DrLightman
    Posted 5 years ago #

    In a site I'm doing for a client, three menus are required, topmenu, sidemenu and a bottomenù.

    Each of the menù links will point to a static page.

    I cannot hardcode the links in the theme, they should be dynamic, the final user must be able to edit them with ease.

    I thought about tagging the pages, but WP doesn't let you tag static pages, only posts.

    I tought about applying a category, but it's not allowed to do so.

    I thought of using the "Links" admin menù, but I never did, so I'm asking if this should be right way to do so. The first thing I notice is that if I change the siteurl in the future, I'll have to edit all the links. I don't like this solution.

    The solution I'm going to implement is to make 3 parent pages and use the child of each parent as a subset for each one of the three menus, and in each wp_list_pages call, I will exclude_tree the parents I'm not interested in. This seems good, but I won't like to have nested paths /aaa/bbb for every page in the menus, for some pages it would be enough /aaa.

    Sorry for the long post, thank you in advance for any tip.

  2. David Gwyer
    Posted 5 years ago #

    Just use the new custom menu feature in WordPress 3.0 (make sure you choose a theme that supports them), then you can create any number of custom menus all over your site containing fixed links, posts, pages or a mixture of the three.


  3. DrLightman
    Posted 5 years ago #

    That's great, I didn't know that, thank you I'll have a look at it.

Topic Closed

This topic has been closed to new replies.

About this Topic