Dina Documentation

Thank you for purchasing my theme. If you don't find the answers for your questions in this help file, please feel free to email via my user page contact form . Thanks!

When you purchase a theme from Themeforest, the Regular License allows you to use the theme in a single end product. One theme license for one domain ( one theme installation in a single domain )

eg: domain.com and 2domain.com require 2 theme installations. Then you need to purchase 2 licenses.

The billing process and licensing term are fully managed by Envato Ltd. and we don't have any control over this matter.

For more information about licensing check this page https://themeforest.net/licenses/standard?license=regular

NOTE for web agencies and freelancers: You may charge your client for your services to create an end product, even under the Regular License. But you can't use one Regular License for multiple clients or jobs.

FAQ:

Can I use the theme on a test site, then move it to a live site when finished?

Yes, you can use the theme on a test site to build it, then move it to the live site once you're finished. You'll have to remove the theme files from the test site.

If you are new to WordPress here's what you have to do:

In order to install the current version of WordPress Theme, please go to https://wordpress.org and download the current version of WordPress. For information on how to install WordPress, please see the WordPress codex page https://codex.wordpress.org/Installing_WordPress .

You can do it in 2 ways:

  1. a. Via WordPress Admin: Go to Appearance > Install Themes > Upload and choose dina.zip file ((make sure you are not uploading the whole zip file that you've downloaded (including dummy content, documentation) but only the dina.zip file). Click Install Now.
  2. b. Via FTP: Upload dina folder into wp-content/themes folder.
  3. After you've installed the theme make sure to activate it.
NOTE: After the theme is activated make sure to install the required MT Dina, Elementor, ACF plugins. The plugins are necessary for having the features presented in the demo.

If you want your website to look like the live demo, then customize it as you want, follow these steps:

  1. After the theme is activated make sure to install and activate the required and recommended plugins: MT Dina, Elementor, ACF, Contact Form 7 plugins . The plugins are necessary for having the features presented in the demo.

  2. Install and activate One Click Demo Import plugin.

  3. Go to Appearance > Import Demo Data and click the Import Demo Data button for one of the website demos.

  4. A new page will open. Click "Continue & Import" button. Wait until the demo content is imported to your website.
  5. IMPORTANT: After you import the demo content to your website, change the URL from the imported demo to your website. These are the steps you need to take:

    Go to Elementor > Tools > Replace URL Tab

    In old-url field enter the demo URL - see below and new-url enter your site address. Click Replace URL

    1. Main Demo URL: https://dina.matchthemes.com/
    2. Dining Demo URL: https://dina.matchthemes.com/dining/
    3. Seafood Demo URL: https://dina.matchthemes.com/seafood/
    4. Italian Demo URL: https://dina.matchthemes.com/italian/
  6. If the menu in the header doesn't appear, go to Appearance > Menus, select "Primary Menu" at the bottom of the page and click Save.

    Then go to Appearance > Customize > Headers || Footers and select from the pre-made header and footer sections.

    For more info please check the Headers & Footers docs section.

  7. In case the blog posts appear in the main page, instead of the home page, go to Settings > Reading > Your homepage displays, select > A static page and for the Homepage option select the Home page.

  8. To configure the homepage slider / video go to Appearance > Customize > General Options > Home - Slider Items.

    The default slider text is this:

    <h1>Welcome</h1>
    	<p>Discover and experience fine selection of international tastes</p>
    	<p> <a href="#" class="view-more more-white">Book a Table</a></p>

    The slider images size from the demo is 1920x1080 px. You can experiment with other sizes too.

  9. To use the Colors and Typography options from Appearance > Customize , go to Elementor > Settings and check Disable Default Colors and Disable Default Fonts options.

  10. The background images are not displayed by default when you import the demo file. The images URLs would have been from my live demo and most of the users forgot to change them. ( this caused my server get very busy with requests ). You'll have to edit the page with Elementor and add the section background image. The images are available in the Media option. Check the below example.

IMPORTANT: After you've imported the demo content to your website, change the URL from the imported demo to your website. These are the steps you need to take:
  1. Go to Elementor > Tools > Replace URL Tab

  2. In old-url field enter https://matchthemes.com/demowp/dina and new-url enter your site address. Click Replace URL

    1. Main Demo URL: https://dina.matchthemes.com/
    2. Dining Demo URL: https://dina.matchthemes.com/dining/
    3. Seafood Demo URL: https://dina.matchthemes.com/seafood/
    4. Italian Demo URL: https://dina.matchthemes.com/italian/
  3. Go the General Tab > Regenerate CSS, click Regenerate Files
  4. Click Save Changes button

After you've installed the theme, you can customize it in Appearance > Customize.

If you didn't install XML file like in preview, then you would have to go STEP BY STEP....
Note: Before creating the menu items make sure you've created some pages / posts.
  1. Go to Appearance - > Menus tab
  2. Add new menu, enter Menu Name
  3. Add Menu Items. Select the pages you've just created and add them to the menu
  4. Drag & drop the menu items as you like. Check the image below. Than save the menu
  5. !IMPORTANT: make sure the Theme Locations option is set to Primary Menu.

First go to Settings > Permalinks. Select from Common Settings > Post name option. This is for better SEO permalinks.

The theme comes with the following custom Page Templates:

How to use a template:

The theme uses the Elementor page builder plugin. The majority of pages are created with it. To learn more about Elementor and how to use it please check this page: Elementor Docs

1. After the Elementor plugin is installed, go to Elementor > Settings and check Disable Default Colors and Disable Default Fonts option. By doing so you can use the Colors and Typography options from Appearance > Customize

2. If you haven't import the theme demo data and you want to use just the Dina Elementor page templates, go to Templates and import the dina-elementor-page-templates.zip file from the main archive.

  1. Click Pages > Add New
  2. Optional add the Featured Image and modify the Page Customization options ( right under the text editor) . Click the Publish button.
  3. Click the Edit with Elementor button

  4. Click Add Template ( the folder icon ) and select from My Templates one of the Dina page templates.

  5. OR click Add New Section and start building your page as you want.

First thing, please make sure the required plugins are installed and active: MT Dina and Elementor.

Then go to Elementor > Settings and make sure the Post Type > Footer Builder option is checked. Same for Disable Default Colors and Disable Default Fonts options.

To select one of the pre-made header / footer sections go to Appearance > Customize > Headers or Footers options. Select the ones you want.

For the footer section you can use the footer builder. Go to Footer Builder option. Click Edit with Elementor link or click the "Add New" button to create a new section.

If you create a new footer section, in order to display it, you'll have to select it from Appearance > Customize > Footers > Footer Display option

  1. Click Pages > Add New.
  2. Look for Page Attributes on the right side and click on the Template drop-down menu. Select the "Home Elementor" template.
  3. Click Publish.
  4. To configure the homepage slider go to Appearance > Customize > General Options > Home - Slider Items. ( Note: The recommended size for the slider images is 1920x1080 px. You can experiment with other sizes too. )

    You can select slider or video from Slider Option.

    The default slider text:

    <h1>Welcome</h1>
    	<p>Discover and experience fine selection of international tastes</p>
    	<p> <a href="#" class="view-more more-white">Book a Table</a></p>
  5. Add home content by clicking the Edit with Elementor button
  6. ! IMPORTANT : Click Settings > Reading and select Front page displays a static page. Select the page you just created as your Front page and click Save Changes.
  1. Click Pages > Add New.
  2. Look for Page Attributes on the right side and click on the "Template" drop-down menu.
  3. Choose a menu page template or select the "Full Screen" template, then edit with Elementor button and use one of the shortcodes below.
  4. Click Publish.
  5. Now you can add the new page to your menu
  6. There are also 6 menu shortcodes:

    For menu accordion: [food_menu_acc cat=""]

    For menu 1 columns: [food_menu_1col cat=""]

    For menu 2 columns: [food_menu_2cols cat=""]

    For menu 3 columns: [food_menu_3cols cat=""]

    Menu v2: [food_menu_v2 cat="" cols=""], cols can be 2, 3, 4, 5

    Menu v3: [food_menu_v3 cat="" cols=""], cols can be 2, 3, 4, 5

    For menu grid images: [food_menu_grid_img]

    The cat attribute is optional, in case you want to display some particular menu categories. Separate them with a comma.

  1. Click Galleries > Add New Gallery.
  2. Below the text editor you'll find the Gallery Options.
  3. Add your gallery images, select a gallery template.
  4. Click Publish.
  5. Now you can add the new page to your menu
  6. Gallery shortcode:

    Gallery 4 columns: [mt_gallery_4cols post_id=""]

    Gallery 3 columns: [mt_gallery_3cols post_id=""]

    The post_id attribute is required. You'll find the post ID by clicking its title in the Galleries section. The post will open in post editor and you'll see the post ID in your browser's address bar. Check the image below:

  1. Click Pages > Add New
  2. Look for Page Attributes on the right side and click on the Template drop-down menu. Select the "Full Screen" template
  3. Click Publish
  4. Click Edit with Elementor and choose one of the contact page templates
  5. Install and activate the contact 7 plugin ( https://wordpress.org/plugins/contact-form-7/)
  6. Go to Contact > Add New and create a new contact form

  7. Add the following code in the Form option to look like in my demo

    <div class="row">
    <div class="col-md-6">
    <label>Name*
        [text* your-name class:reservation-fields] </label>
    </div>
    <div class="col-md-6">
    <label>Email*
        [email* your-email class:reservation-fields] </label>
    </div>
    </div>
    <div>
    <label>Subject*
        [text* your-subject class:reservation-fields] </label>
    </div>
    <label>Message*
        [textarea* your-message x6 class:reservation-fields] </label>
    
    [submit "Send Message"]

  8. Click the Save button. Copy the shortcode and paste it in the contact page.
  1. Click Pages > Add New
  2. Look for Page Attributes on the right side and click on the Template drop-down menu. Select the "Full Screen" template
  3. Click Publish
  4. Click Edit with Elementor and choose the reservation page templates
  5. Install and activate the contact 7 plugin ( https://wordpress.org/plugins/contact-form-7/)
  6. Go to Contact > Add New and create a new contact form

  7. Add the following code in the Form option to look like in my demo

    <div class="row">
    
    <div class="col-md-4">    
    <label> Name*</label>[text* your-name class:reservation-fields] 
    </div>
    <div class="col-md-4"> 
    <label> Email* </label> [email* your-email class:reservation-fields]
    </div>
    <div class="col-md-4"> 
    <label> Phone*</label> [tel* your-phone minlength:10 maxlength:12 class:reservation-fields]
    </div>
    
    </div>
    
    <div class="row">
    
    <div class="col-md-4">
    <label> Date*</label> [date* your-date min:today class:datepicker class:reservation-fields]
    </div>
    
    <div class="col-md-4">
    <label> Time*</label> [select your-time class:reservation-fields "09:00" "10:00" "11:00" "12:00" "13:00" "14:00" "15:00" "16:00" "17:00" "18:00" "19:00" "20:00" "21:00" "22:00"] 
    </div>
    
    <div class="col-md-4"> 
    <label> Seats*</label> [text* your-seats class:reservation-fields] 
    </div>
    
    </div>
    
    <label> Special Requests</label> [textarea your-message id:message2 class:reservation-fields x4 ]
    
    <p class="alignc">[submit "Book Now"]</p>

  8. Click the Save button. Copy the shortcode and paste it in the reservation page..
  9. OpenTable shortcode: [mt_opentable id="" btn_txt="" people_txt="" date_txt="" time_txt=""]

    The id attribute is required. Find your OpenTable ID intro your account.

    The other attributes are optional.

  1. Click Pages > Add New.
  2. Click Publish.
  3. Now you can add the new page to your menu
  4. Now click Settings > Reading and select Front page displays a static page. Select the page you just created as your Posts page and click Save Changes.
  5. To select a blog layout go to Appearance > Customizer > General Options > Blog - Articles Layout option
  6. Click Posts > Add New to create a news post. Make sure when you add a Featured Image for a post to have at least 900x500 px to look like my demo.

There are 5 widget areas for this theme. Go to Appearance > Widgets to use them.

Dina is using the WordPress Live Customizer feature. Go to Appearance > Customize and change site title, colors, upload your logo and more. You'll see real time preview of changes you made to your site.

Here's the list of available shortcodes:

  1. Menu shortcodes:

    Menu accordion: [food_menu_acc cat=""]

    Menu 1 columns: [food_menu_1col cat=""]

    Menu 2 columns: [food_menu_2cols cat=""]

    Menu 3 columns: [food_menu_3cols cat=""]

    Menu v2: [food_menu_v2 cat="" cols=""], , cols can be 2, 3, 4, 5

    Menu v3: [food_menu_v3 cat="" cols=""], cols can be 2, 3, 4, 5

    Menu grid images: [food_menu_grid_img]

    The cat attribute is optional, in case you want to display some particular menu categories. Separate them with a comma.

  2. Simple Menu shortcode - this will not use the Food Menu CPT

    See it in action here: Menu v8

    Use the following shortcode format to create your menu ( cols atrribute value can be 1, 2, 3 ):

    [food_menu_mt cols="1"]
    +Tomato Bruschetta | $4.00
    +Marinated Grilled Shrimp | $7.00 | Fresh Shrimp, Oive 
    +Avocado & Mango Salsa | $5.00 | Avocado, Mango, Tomatoes
    +Marinated Grilled Shrimp | $7.00
    +Baked Potato Skins | $9.00 | Potatoes / Oil / Garlic
    [/food_menu_mt]
  3. OpenTable shortcode: [mt_opentable id="" btn_txt="" people_txt="" date_txt="" time_txt=""]

    The id attribute is required. Find your OpenTable ID intro your account.

    The other attributes are optional.

  4. Gallery shortcode:

    For gallery 4 columns use this shortcode: [mt_gallery_4cols post_id=""]

    The post_id attribute is required. You'll find the post ID by clicking its title in the Galleries section. The post will open in post editor and you'll see the post ID in your browser's address bar. Check the image below:

  5. Team shortcode: [team_2cols count=""], [team_3cols count=""], [team_4cols count=""]

    The count attribute is optional.

  6. Blog shortcode: [blog_3cols count=""]

    The count attribute is optional.

Dina theme comes with a child theme in the main download package.

A child theme is a theme that inherits the functionality and styling of another theme, called the parent theme.

Child themes are recommended if you modify the theme files code and don't want to lose your customization when updating the theme to a new version.