DeMomentSomTres Restaurant

Version: 2.1.1
last update: 25 May, 2016

demomentsomtres-restaurant-wordpress-plugin
Download link: https://downloads.wordpress.org/plugin/demomentsomtres-restaurant.zip
Plugin page at WordPress.org: http://wordpress.org/plugins/demomentsomtres-restaurant/
Contributors: marcqueralt

Description

DeMomentSomTres Restaurants is specifically designed to Restaurants, Bars and cafeterias in order to show their menus in an easy to mantain way.

It manages publish date and also expiry date allowing you to plan activity.

You can get more information about the component at the this plugin author's website

Features

  • Dishlist: you can show as many dishes and plates.
  • Specific taxonomy type dishlist type: the dish lists can be grouped under an specific taxonomy. So you can have daily menu, vegetarian menus...
  • Shortcode to show last contents of a taxonomy: the short code is designed to show a group of the most recent menus in a dishlist type. It was designed in order to show the current menu in the home page.
  • Shortcodes to mark Ecological, Proximity, Gluten Free and Price. This shortcodes has been integrated to the editor in order to make things easy.

History & raison d'être

On may 2013 DeMomentSomTres was asked to build a web for a small restaurant in Argentona (Barcelona) called La Fonda del Casal.

Our experience building websites for small restaurants showed us the need to have a plugin to make them easy to manage their menus and meals lists. They needed an easy way to publish that but we needed it not inside the blog. A custom type was required. They also needed a way to show the day menu in the frontpage without rewriting it. The shortcode was born. And this shortcode allowed us to put all the menus of diferent types together in a single page but that can be managed as many: wines, salads, meals... Test it at Fonda del Casal Restaurant.

Later we improved it including experiences from La Fonda Sport and also from Semproniana.


Tags: carte, custom post type, menu, restaurant, restaurant carte, restaurant menu

FAQ

How do I update from a version prior to 2.0?

You have to perform the upgrade process from Settings area.

What does this update process do

It updates the name and the content of the date field

How do I show the last menu of a certain type inside a post or page

You can use the shortcode [demomentsomtres-restaurant-dish-list type=id count=1 hidden_titles title_format="h3" prefix="" suffix="" empty="" emptyurl="" classes="" blog_id="" id=""] to show the N current dish lists of type id inside the post or page.

  • Type id is required. Type id is the ID of the dishlist type. It can be found on the dishlist types edition page.
  • Count (optional): number of dishlists to show. It is assumed to be 1 if not present.
  • Hidden titles (optional): If you want to hide the titles the parameter hidden_titles must be present.
  • Title format (optional): You can define the HTML tag for titles using title_format. If no value provided it is assumed to be h3.
  • Prefix (optional): content to add at the start of the title.
  • Suffix (optional): content to add at the end of the title.
  • Empty (optional): text to show if no menu is found.
  • Emptyurl (optional): url to link to if no menu is found.
  • Classes (optional): classes to add to the dishlist in order to customize it.
  • blog_id (optional): id of the blog where dish_list are selected.
  • id (optional): css id for the element.

Why there's no widget to show the menus lists

The plugin Recent Posts Widget Extended is enough for our needs and is highly customizable. As we don't like to reinvent the wheel, we did not code any widget.

Additional shortcodes

There'are the following additional shortcodes with the following features:

  • [ECO]: inserts an <i class="icon-eco">Ecological</i> element.
  • [PROX]: inserts an <i class="icon-prox">Proximity</i> element.
  • [CEL]: inserts an <i class="icon-cel">Gluten Free</i> element.
  • [P XXX]: inserts an <div class="price">XXX</div> element.

How do I show all the public dish lists

You can call the restaurant archive to show the contents on an archive basis.

How to customize the message on expired dish lists

To customize expiry message you can use css class .demomentsomtres-restaurant-expired.

Support

You can get support via WordPress forums or via comments in this page.

Comments

  1. Hola! Me preguntaba si sería posible mostrar un menu diferente cada día, es decir, que el 1er y 2do plato, y que debajo haya una sección con suplementos para cada plato que sea fijo.

    Un saludo!

    1. Buenos días Samantha.

      La respuesta es sí.

      Nos encontramos con esta situación y por ello creamos el concepto de plantilla. En Fonda Sport cada día el menú cambia pero el pie con los precios es siempre el mismo. La plantilla contiene el título “Entrantes”, un espacio (dónde ponen manualmente los entrantes) y un pie común.

      Para crear plantillas debes hacerlo desde la configuración del componente.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>