Support » Themes and Templates » Menus Parent pages

Menus Parent pages

  • Hi All

    I have searched the archives and read the codex but still don’t understand how to do this problem! I think it might have something to do with being 4.45pm here and my brain has died!

    I have a site: http://www.lostwithiel.org.uk/ which has a large number of pages and these will be growing. What I want to do is to display only the parent page title. Then when I visit that page all links included within that parent page become available.

    Having read through it seems the easiest way to do this, (for me anyway), is to have a template for each category. Then to exclude all pages in the main index.php except for parent ones, then when the user clicks on the right page, this displays all the child pages.

    If I am correct in this, then is there a piece of code please that says, “Display all children” and “only display all parents”, otherwise everytime I or other folks create a new page, I will have to edit the template.

    Or is there a better way to do this?

    Thanks for your help.


Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Menus Parent pages’ is closed to new replies.