To add the localization to Grand Restaurant theme’s date input, Please copy below code and paste it at the end of theme main function file (/wp-content/themes/grandrestaurant/functions.php) <?php add_filter( ‘wp_footer’ , ‘grandrestaurant_localize_datepicker’ ); function grandrestaurant_localize_datepicker() { ?> <script> jQuery(function($){ $.datepicker.regional[‘fr’] = { closeText: ‘Fermer’, prevText: ‘Précédent’, nextText: ‘Suivant’, currentText: ‘Aujourd\’hui’, monthNames: [‘Janvier’,’Février’,’Mars’,’Avril’,’Mai’,’Juin’, ‘Juillet’,’Août’,’Septembre’,’Octobre’,’Novembre’,’Décembre’], monthNamesShort: [‘Janv.’,’Févr.’,’Mars’,’Avril’,’Mai’,’Juin’, ‘Juil.’,’Août’,’Sept.’,’Oct.’,’Nov.’,’Déc.’], […]
Category: Installation
Setup Reservation Email or link reservation button to URL
By default, reservation button on main menu bar will open reservation form in lightbox so customer can submit reservation form to your email address. Setup Reservation Email Address Navigate to WordPress Dashboard > Theme Setting > General > Reservation Email Settings. You will options for reservation email settings. Your reservation email address – Enter which email […]
How to link to reservation popup
Normally you can open reservation via reservation button next to theme’s main menu. However you can also link from other elements too. For example you have this button code <a href=”#” class=”tg_reservation button”>Your Text</a>
Setting up Child Theme
A child theme is a theme that inherits the functionality and styling of another theme, called the parent theme. Child themes are the recommended way of modifying an existing theme. Why use a Child Theme? There are a few reasons why you would want to use a child theme: If you modify a theme directly […]
Import Demo Widgets
What’s included: sidebars widgets in Appearance > Widgets Install and activate Widget Importer & Exporter plugin before you proceed. Download this demo widgets import file. Once you finish download, unzip the file and you will find .wie file there. Open Wordpress Dashboard > Tools > Widget Importer & Exporter. Look at import widgets section. Select file you recently download […]
Social Icons
You can setup your social media profiles. Go to Theme Setting > Social Profiles. Enter each social profile information and leave the one you don’t want to display its social icon blank. Social Icons In Top Bar You can display social icons in top bar area. Open Appearance > Customize > Menu > Top Bar and […]
Flickr & Twitter Widgets
Most of widgets which are included in theme don’t required setup. But Flickr and Twitter are required initial setup so they can display their content correctly. Please follow below steps. Custom Twitter Widget Please go to https://dev.twitter.com/apps/ and login with your Twitter account Create new application. Click to create the access token, then refresh the […]
Sidebar
Pre defined Sidebars Page Sidebar – Default sidebar for any new pages created. Blog Sidebar – Default sidebar for any new blog template created. Contact Sidebar – Default sidebar for contact with sidebar module. Single Post Sidebar – Sidebar for all single posts. Single Image Page Sidebar – Sidebar for all single image attachment page. […]
WPML Plugin For Multilingual Content
Theme support WPML plugin for Multilingual content . First you have to purchase WPML license from https://wpml.org and your can download the plugin from your WPML account page (download WPML Multilingual CMS). Then install the plugin. From your admin sidebar, open Plugins > Add New > Upload. Then upload and install the plugin. Once you installed, activate it and it […]
Translations
Theme includes bunch of PO translation files for each languages so you can use standard translation tools to help translate theme output strings to your desired language. WordPress Translation Setting For Pre-Wordpress 4.0 users please follow below steps Login to your FTP account and edit wp-config.php file. In wp-config.php file, look for WPLANG constant for example […]