"page" serve as category only? (3 posts)

  1. MacneticM
    Posted 5 years ago #

    Is there a way to have a "page" appear in the menu as only a category for the sub-pages so that, either, there actually is no page at all or that, if it must exist, that it can't be followed?

    I'll give an example in case I'm not sufficiently clear.
    For a restaurant site,"Our services" is in the top level of the menu. Under that appears "Catering", "Delivery", etc. There needn't be any content on the "Our services" page; it only serves to group the other actual pages.

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    Assuming that you're talking about WP Pages as opposed to Posts, "Our services" would have to be a published page but its only content might be a list of its sub-pages - "Catering", "Delivery", etc. That would be a good example of where a custom page template might come in handy. You could have a fairly generic custom page template that was assigned only to pages that are intended to be section headers, so to speak.

  3. MacneticM
    Posted 5 years ago #

    I don't understand how a "custom page template" would solve the problem ...or would it serve as a sort of "include" that contains that section of the menu? Even then, wouldn't that still require that any changes, additions, deletions, etc to the menu must be done at least twice?

    I don't have sufficient javascript skills to do this myself but, if there's no other way mightn't the next best solution be to turn off linking on the menus top level?

Topic Closed

This topic has been closed to new replies.

About this Topic