Support » Fixing WordPress » “page” serve as category only?

  • 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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi


    Forum Moderator

    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.

    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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘“page” serve as category only?’ is closed to new replies.