Contributors: Renaldo Weiser (resmio GmbH)
Tags: shortcode, resmio, usability, button, widget, reservation, online, restaurant, social, page, posts
Tested up to: 4.5.2
Stable tag: 1.2
With this API, you can add relevant information about your restaurant in your WordPress website. If you use the widget or button, your guests can make online reservations.
resmio provides you with an online reservation system software for your restaurant that allows you to manage all reservations received in your restaurant quickly and easily. In order to recieve reservations from your website you have to integrate the codesnippet provided by resmio either for the widget itself or for a reservation button (which then loads the widget).
With this template you do not have to manually add these codesnippets to your site. Instead you can type shortcodes directly into the wysiwyg-editor and or insert the shortcodes through a menu button in the toolbar of the TinyMCE editor (only in visual mode).
The shortcodes are:
Instead of adding whole codesnippets for your resmio button/widget and informations for restaurant to your website you can use shortcodes.
Copy the following folder and files in your theme:
/resmio-api/
to /yourTheme/
languages/en_US.mo
to /yourTheme/languages/
languages/en_US.po
to /yourTheme/languages/
languages/resmio_i18n.pot
to /yourTheme/languages/
Add the following Code in the functions.php
of your theme
<?php
require_once ('resmio-api/resmio-api.php');
?>
Add the following Code in the index.php
outside the PHP Code of your theme
<link rel="stylesheet" type="text/css" href="https://github.com/resmio/wp-resmio-api/blob/master/<?php echo get_stylesheet_directory_uri(); ?>/resmio-api/css/resmio-style.css">
Add the wp-resmio-api folder to your wp-content/themes folder.
Activate the theme. WP-Admin -> Appearance -> Themes
Go to settings > resmio api and insert your resmio ID and confirm with Import data.
You can add or edit the fields about your restaurant.
Confirm the settings with Save data for your WordPress Website.
Go to your pages or posts and insert the shortcode you want to use.
There are two ways to insert the shortcodes:
4.1. Type the shortcodes [resmio-button]
and/or [resmio-widget]
directly into the wysiwyg editor.
4.2. Use the menu button resmio in the toolbar of your wysiwyg-editor (only in visual mode).
Tested on 4.5.1 and 4.5.2
If you encounter any problem with this template please contact resmio GmbH via email support@resmio.com
I do not accept any responsibility for any damages or losses, direct or indirect, that may arise from using the plugin or these instructions. This software is provided as is, with absolutely no warranty.