Title: DeMomentSomTres Restaurant
Author: Marc Queralt i Bassa
Published: <strong>10. Juli 2013.</strong>
Last modified: 4. Maj 2021.

---

Search plugins

![](https://ps.w.org/demomentsomtres-restaurant/assets/banner-772x250.png?rev=1399532)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/demomentsomtres-restaurant/assets/icon.svg?rev=1297520)

# DeMomentSomTres Restaurant

 By [Marc Queralt i Bassa](https://profiles.wordpress.org/marcqueralt/)

[Download](https://downloads.wordpress.org/plugin/demomentsomtres-restaurant.zip)

 * [Details](https://me.wordpress.org/plugins/demomentsomtres-restaurant/#description)
 * [Reviews](https://me.wordpress.org/plugins/demomentsomtres-restaurant/#reviews)
 *  [Installation](https://me.wordpress.org/plugins/demomentsomtres-restaurant/#installation)
 * [Development](https://me.wordpress.org/plugins/demomentsomtres-restaurant/#developers)

 [Support](https://wordpress.org/support/plugin/demomentsomtres-restaurant/)

## Description

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

Integrated to WooCommerce.

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](http://demomentsomtres.com/en/wordpress-plugins/demomentsomtres-restaurant/)

#### Mogućnosti

 * 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](http://www.lafondadelcasal.cat).

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](http://www.lafondadelcasal.cat/plats).

Later we improved it including experiences from [La Fonda Sport](http://www.fondasport.net)
and also from [Semproniana](http://www.semproniana.net).

On July 2020 we allowed to integrate WooCommerce products based on [Cafeteria La Penedès](https://www.lapenedes.cat)
requirements to manage take away products.

On May 2021 we updated to WordPress 5.7.1 and stopped using Titan Framework

## Installation

It can be installed as any other WordPress plugin.

#### Update from 20200618000

There’s an automatic upgrade wizard in configuration.

## 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="" permalink="txt"]` 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.
 * permalink (optional): outputs a link at the end of content linking to content
   permalink and using txt as link text.
 * emptyjs (optional): defines a jQuery function to call when shortcode is empty
 * wpml (optional): when WPML is installed, forces the change of language in the
   shortcode

### Why there’s no widget to show the menus lists

The plugin [Recent Posts Widget Extended](https://wordpress.org/plugins/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.

### [demomentsomtres-restaurant-type]

Shows the dishlist type of the single dishlist shown.
 Parameters: * wpml (optional):
when WPML is installed, forces the change of language in the shortcode

### [demomentsomtres-restaurant-post]

Shows again the current menu.
 Parameters: * wpml (optional): when WPML is installed,
forces the change of language in the shortcode

### 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`.

### WooCommerce integration

## Reviews

![](https://secure.gravatar.com/avatar/5332fd8a0d98a34a814a19b14a899dc02373943fcbf45840940fd404eb4a5a40?
s=60&d=retro&r=g)

### 󠀁[Ens és molt útil per vendre menjar per emportar](https://wordpress.org/support/topic/ens-es-molt-util-per-vendre-menjar-per-emportar/)󠁿

 [fondasport](https://profiles.wordpress.org/fondasport/) 4. Maj 2021.

Gràcies a DeMomentSomTres, WooCommerce i aquest plugin hem pogut posar el nostre
restaurant a Internet convertint-lo en un eCommerce de menjar per emportar en ple
COVID. Fa un any que funciona i els nostres clients en fan ús de forma senzilla.
Imprescindible si tens un restaurant.

 [ Read all 3 reviews ](https://wordpress.org/support/plugin/demomentsomtres-restaurant/reviews/)

## Contributors & Developers

“DeMomentSomTres Restaurant” is open source software. The following people have 
contributed to this plugin.

Contributors

 *   [ Marc Queralt i Bassa ](https://profiles.wordpress.org/marcqueralt/)
 *   [ Ayoub Mourou ](https://profiles.wordpress.org/ayoubmourou/)

“DeMomentSomTres Restaurant” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/demomentsomtres-restaurant/contributors)
for their contributions.

[Translate “DeMomentSomTres Restaurant” into your language.](https://translate.wordpress.org/projects/wp-plugins/demomentsomtres-restaurant)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/demomentsomtres-restaurant/),
check out the [SVN repository](https://plugins.svn.wordpress.org/demomentsomtres-restaurant/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/demomentsomtres-restaurant/)
by [RSS](https://plugins.trac.wordpress.org/log/demomentsomtres-restaurant/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 202105030000

 * Compatibility issues and Framework migration to Redux

#### 202006260000

 * WooCommerce integration

#### 202006180000

 * BUG – time not considering gmt for hidden until field.

#### 20200610

 * Add hidden-control to dish list shortcode to filter dish lists.

#### 20190226

 * Adds print feature quick

#### 2.4

 * Additional parameters emptyjs and wpml to demomentsomtres-restaurant-dish-list
 * Additional parameter wpml to demomentsomtres-restaurant-type
 * New shortcode demomentsomtres-restaurant-post

#### 2.3

 * Shortcode [demomentsomtres-restaurant-type]

#### 2.2

 * Link added to shortcode linking to the content as shortcode dishlist output

#### 2.1.1

 * Bug in wp-admin if TitanFramework was not activated

#### 2.1

 * Dishlist efficiency improved
 * SiteOrigin compatibility
 * Bug in MCE editor calling templates

#### 2.0

 * DeMomentSomTres Tools no longer retired.
 * Multiple templates
 * 4.5 compatibility

#### 1.9.2

 * css id added to shortcode

#### 1.9.1

 * WPML compatibility
 * Expiry tomorrow by default
 * WP 4.4 compatibility

#### 1.9

 * Two templates

#### 1.8.1

 * Previous bug solved

#### 1.8

 * Bug if not multisite in shortcode

#### 1.7

 * Multisite supported by shortcode

#### 1.6

 * Compatibility upgrade to 4.0 and WPBakery Visual Composer

#### 1.5

 * Shows a message if DeMomentSomTres Tools is not installed

#### 1.4

 * Gluten free icon and shortcode

#### 1.3

 * demomentsomtres-restaurant-dish-list shortcode parameters added to include empty
   message and empty html link and title prefix and title postfix.
 * Editor button to copy menu template.
 * Customized message when menu is expired.

#### 1.1.0

 * an archive view of dishlists avoiding them to be always hidden in order to avoid
   404 errors and help SEO positioning.
 * validity range showed at the top of posts and excerpt.

#### 1.0.0

Initial release

## Meta

 *  Version **202105030000**
 *  Last updated **5 years ago**
 *  Active installations **10+**
 *  WordPress version ** 5.5 or higher **
 *  Tested up to **5.7.20**
 *  Languages
 * [Catalan](https://ca.wordpress.org/plugins/demomentsomtres-restaurant/) and [English (US)](https://wordpress.org/plugins/demomentsomtres-restaurant/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/demomentsomtres-restaurant)
 * Tags
 * [carte](https://me.wordpress.org/plugins/tags/carte/)[custom post type](https://me.wordpress.org/plugins/tags/custom-post-type/)
   [menu](https://me.wordpress.org/plugins/tags/menu/)[restaurant](https://me.wordpress.org/plugins/tags/restaurant/)
   [restaurant menu](https://me.wordpress.org/plugins/tags/restaurant-menu/)
 *  [Advanced View](https://me.wordpress.org/plugins/demomentsomtres-restaurant/advanced/)

## Ratings

 3.7 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/demomentsomtres-restaurant/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/demomentsomtres-restaurant/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/demomentsomtres-restaurant/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/demomentsomtres-restaurant/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/demomentsomtres-restaurant/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/demomentsomtres-restaurant/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/demomentsomtres-restaurant/reviews/)

## Contributors

 *   [ Marc Queralt i Bassa ](https://profiles.wordpress.org/marcqueralt/)
 *   [ Ayoub Mourou ](https://profiles.wordpress.org/ayoubmourou/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/demomentsomtres-restaurant/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.demomentsomtres.com/en/wordpress-plugins/demomentsomtres-restaurant/)