WordPress.org

Ready to get started?Download WordPress

Forums

OpenMenu - The official plugin for OpenMenu
OpenMenu Custom Post Type & WordPress Template Hierarchy (2 posts)

  1. just2izy
    Member
    Posted 2 years ago #

    Hi.

    I am testing out the plugin as part of a directory site, so I will have many menus for a variety of restaurants, bars, etc as part of it.

    It works but from the testing I've done so far the OpenMenu CPT seems not to follow the normal template hierarchy.

    See Post_Types#Template_Files

    That is, I expect that by creating single-{posttype}.php so single-openmenu.php I can display open menus and also similarly use other templates archives, taxonomies to display menus by cuisine, etc.

    Please explain how it works currently to me. I know I can use the shortcodes to include in posts/pages (it works) but I want to play around with template files and see what makes most sense especially since some menus are multiple pages long....

    Thanks for the plugin....

  2. OpenMenu
    Member
    Plugin Author

    Posted 2 years ago #

    Templates currently only supports our default template. We only included the template settings to lay a foundation for a future update.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic