• hi,

    for a restaurant site i need to publish their menus for braekfast, lunch, dinner etc. at the respective times of the day.

    how would you tackle this problem?

    PAT

Viewing 3 replies - 1 through 3 (of 3 total)
  • How often does the menu change?

    If the menu is static, then I’d create 3 pages.

    Then in your theme’s index.php, I’d test the time and based on that time display the appropriate page content.

    Actually thinking about it, don’t know if it matters if the menus are static or not, just keep changing the page each time the menu does change.

    Create posts and advance-date them.
    Make your theme display only 1 current post.
    The old menus will then be in the archives and searchable, but who would actually want to look at 2 year old menus ??

    How I would do it:
    *) create a “menu” category with “breakfast”, “lunch” and “dinner” subcategories
    *) create a category template
    *) make the template loop through the subcategories and display only the latest post in that category

    EDIT: I just realized that’s not what you want to do ??
    Yes, then do what the mod told you to do.

    @mores – that’s the way I originally thought would work, but it probably doesn’t need to be that ‘complicated’ ?? Have to see what perler has to say.

    Also, guess if a ‘history’ is important, revisions are available…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘regularly schedule publishing and unpublishing of post’ is closed to new replies.