Custom Post Type for a Menu

I created this simple plugin for a restaurant to post their menu online.

Here’s the plugin file (put in plugins directory).

It includes categories (for menu sections), and several parameters for each item.

Now here’s the menu category display page. Create a page named “archive-grille_menu.php” and upload to your theme directory. Replace the loop with this code:

(I listed the categories in two columns.)

 Next is the display page for each category:

Remember to change the divs and styling to match your page layout.

 You can see this plugin in action at: http://paradisegrille.net.

 

 

Comments are closed.

Skip to toolbar