Lukani Documentation

Lukani WooCommerce Responsive Theme Documentation

Lukani responsive theme documentation by RoadThemes

Thank you for purchasing my theme. If you have any questions that are beyond the scope of this help file, please feel free to email via my user page contact form here. Thanks so much!


Getting Started

WordPress Information

To install this theme you must have a working version of WordPress already installed. You should ALWAYS be running the latest version of WordPress anyway; otherwise you put your whole site at risk for potential threats in case using an outdated version of WordPress.

If you need help installing WordPress, follow the instructions in WordPress Codex.

Installation

How to install theme

Once you've downloaded the installation file on ThemeForest, extract it and locate a file called lukani.zip. You can install the theme by using one of two installation methods:

  1. WordPress upload - This is probably the simplest way for most users. Here are the steps you need to take:
    1. Login to WordPress admin
    2. Go to Dashboard> Appearance > Themes > Add New > Upload Theme
    3. Click on "Choose File" and select lukani.zip
    4. Click on "Install Now"
  2. FTP upload - If you wish to install via FTP, here are the steps you need to take:
    1. Using FTP client, login to the server where your WordPress website is hosted
    2. Using FTP client, navigate to the /wp-content/themes/ directory under your WordPress website's root directory
    3. Using FTP client, upload the Theme directory to themes directory on remote server

Once installation is complete, your Theme theme will be ready to use. You should now see "lukani" appears in the WordPress themes manager panel.

Note: If you don't want to lose changes after a theme update, we recommend that you install and activate a child theme.

How to install plugins

The installation of plugins will be required once after the theme activation.

***Install and Activate them. In case if automatic plugin installation fails (as a rule it is because of your server settings), you can install them manually via your Dashboard: Plugins > Add New > Upload Plugin > Browse plugins archives. Or via FTP, by uploading and extracting the plugin zip files into wp-content/plugins folder.

- You can find the zip files for plugin installation in the theme folder lukani/plugins.

Watch the guide above to see in details.

***Automatic plugin installation

***Manual plugin installation

Demo Content

Guide Video

Import data demo

We can import content for pages, posts, menu, projects, contact form, testimonials... like our demo. To import our demo content follow the steps below:

  • Install and activate required and recommended plugins before you proceed.

  • Click Import Roadthemes => Click on IMPORT DEMO => Wait some minutes => See The data have imported succesfully => Next, click Import Roadthemes => See the demo with ACTIVATED => Successful

  • To install other demo, please click Import Roadthemes -> IMPORT DEMO at the demo you want. => See The data have imported succesfully -> Successful

  • To install demo which you have imported but now not "ACTIVATED", please click Import Roadthemes -> ACTIVATE at that demo.

Import Revolution Slider

After importing demo data, slider doesn't show. You need to create/import. We have some sample slider in the slider-sample folder in the package.

- Login to your WordPress dashboard, navigate to Slider Revolution - Modules - Manual Import

- You can drag and drop sample slider or choose Click to Choose to choose sample slider in the slider-sample folder in the package

- You can see sample slider you've imported at:

Import Widgets

- After importing demo content, if Shop page doesn't show sidebar, please import widgets.

- To create widgets for this theme quickly, we use a tool to import all widgets from exported files in "sample-data/exported_files" folder.

- Login to your WordPress dashboard, navigate to Tools - Widget Importer & Exporter

- Click on "Browse..." or "Choose File" button then select "widgets.wie", click on "Import Widgets" to finish.

- After importing widgets, if you need change widgets, go to Apperances - Widgets

Updates

1. How to update your theme

*** Manual Update via FTP

You can update your theme manually by performing the following steps:

  1. Before update, please backup your site
  2. Download the latest theme zip file from ThemeForest
  3. Extract lukani_updated.zip and open lukani folder
  4. Upload all files in lukani folder override to: wp-content\themes\your_theme

***Important note: Please note that all changes made directly within theme files (additional PHP coding and theme modifications) will be lost upon theme update. That is why we recommend using a child theme when making changes in theme files, in order to avoid losing these changes or having to re-do them each time you update your theme.


Theme General Settings

1. Wordpress General Settings

Go to Dashboard> Settings > General

If the url is not correct, Go to Dashboard > Settings > Permalink and Click Save

2. Change site title, tagline, site icon

To change site title, tagline, site icon, you need to do like steps below:

- Go to Dashboard - Appearance - Customize - Site Identity: Change title, tagline, icon of the site.

3. Set a page as home page and posts page (blogs)

To set a page as home page and posts page (blogs):

****Example: To set Home1 to be your homepage:

Login Dashboard > Settings > Reading :

After that, you must go to Dashboard> Pages > All Pages > Home page (you have set above, Example: Home shop 1, Home shop 2 ...) and set Template as Front Page Template:

***Important note: Please note that Template Demo (2, 3, ...) are only for our demo. If you choose Template Demo, you cannot change Theme Options and Header, Footer layouts.

4. Setting WooCommerce Pages

  • Login Dashboard > WooCommerce > Settings :

  • - Tab Products: setting Shop page.

    - Tab Advanced: setting other pages.

    - Setting Wishlist page: Go to Dashboard > YITH > Wishlist > Settings :

Theme Options

*** Note: You have to set home page as Front Page Template , see Setting Homepage and Posts Page

You can access Theme Options from the WordPress admin panel. The settings found here are applied globally and will affect all pages of the site.

General

This section allows you to set up general settings for your site. We can change body background, content background and show/hide the back to top button.

Colors

This is where you can change colors for your website. We can change the primary color, sale label color, link color, text selected color and background.

Header

Note: The menu ID may changed, so you need to update menu in Pages, Header, Footer (WPBakery Page Builder editor).

This section allows you to set up the header area. The first choice to change the header layout, header layout in mobile. Change the header text color and link color.

Sticky header:

We can turn on or off the sticky header. Change background for the sticky header, it supports transparent background color. You can change header sticky layout.

Top bar:

In this area, we can change text color and link color for top bar.

Menu:

We can change mobile menu label. The sub menu background in desktop view.

Categories Menu:

We can change categories menu label. The sub categories menu background, number of items are applied for the categories menu (categories menu) in desktop view.

Fonts

In this area, we can change font for text, heading, menu, price... There are some options to select for each font like font family, back up font family, font weight and style, font size, line height, color. We use Google Fonts. You can use default options or change any font like you want.

If we want to use default options, click on "Reset Section" button.

Layouts

In this tab, we can select page layout is full width or box, select theme preset and turn off the style switcher.

Preset: There are many presets to select, if we select a presets (example: preset 2) the theme uses pre-defined fonts and colors in that preset. If we select "Use Options" then the theme uses fonts and colors from "Colors" and "Fonts" tab.

Brand Logos

This section allows you to upload brands logo and configure the options for the brands slider. Click on Add Slide to add more logos.

Categories carousel

This section allows you to upload category logos and links. Click on Add Slide to add more images.

Sidebar

This section allows you to change position of sidebars to left or right side in inner Pages (Default Page Templates). Products and Blogs sidebars are in other sections. Go to edit page/post to select custom sidebar.

Product

This section allows you to change the layout for the shop page and change position of sidebar in shop page. We can change how the products appear in grid view or list view. We have products per page, product columns and secondary image.

Product page:

This area allows you to change options for the product page in product page.

Quick View:

This area allows you to change the text link on the quick view window.

Blogs

This section allows you to change the text on header of blog page "Blog", select blog layout, change read more text, change position of sidebar in blog page.

Latest posts carousel:

This area allows you to change options for the latest posts carousel on home page.

Testimonials

This area allows you to change options for the testimonials carousel on home page.

Error 404 page

This section allows you to upload image, background for the error 404 page.

Less Compiler

This section allows you to turn on/off the less compiler. In the theme, we used .less files in the "less" folder to generate .css files. Turn off the compiler after you finished your website.

Header

Header Layout

- Go to Theme Options - Header - Header Layout to select your header layout.

- Go to Theme Options - Header - Header Mobile Layout to select your header layout on Mobile.

Setting Header

- Go to WPBakery Page Builder > Templates > Header 1 (Header 2/ Header 3/ Header 4)(The header you are using) -> Edit:

***Change mobile header : In WPBakery Page Builder=>Templates=>Header Mobile -> Edit

Mobile Header

- Go to Theme Options - Header - Header Mobile Layout to select your header mobile layout.

- Change your logo and content of header on mobile : Go to WPBakery Page Builder > Templates > Header Mobile (The mobile header you are using) -> Edit. Remember to save when finish changing.

Config menus on Header

After installing theme, to show My Account on Header, you need to config and save menus:

  • Go to Dashboard > WPBakery Page Builder > Templates > Header 1(Header 2/ Header 3/ Header 4) (the header you are using)

  • At WP Custom Menu -> Edit -> At Menu:

    To like our demo set:

    - With (1): Select Currency 2 menu

    - With (2): Select Language 2 menu

    - With (3): Select Top Menu menu


Menus

1. Create new menu

Following these steps to create a menu.

  1. Go to Dashboard > Appearance > Menus

  2. Click on Create a new menu -> Enter a name for your menu, and then click on Create Menu

  3. Select items from the left meta boxes and click Add to Menu

  4. On the right, feel free to drag and drop menu items to organize them

  5. When you’re done moving menu items, check a menu location at the bottom of the page

  6. Click Save Menu

2. Config locations of menus

- To config locations of menus like demo, please follow these steps:

Go to Appearance > Menus > Manage Locations and choose location for each menu:

3. Config Horizontal Menu to show columns like demo

  1. Go to Dashboard > Appearance > Menus

  2. Select Edit Menus : At Select a menu to edit : Choose Horizontal Menu (Primary Menu, Sticky Menu, Sidebar Menu by Mega Main) -> Select

  3. Select item you want to set columns. Ex, here is Shop : At Menu Structure : Set Multicolumn Submenu and Submenu Columns (Not For Standard Drops) : choose number of columns


WPBakery Page Builder

WooCommerce

Theme comes with WooCommerce integration, which allows you to build an online shop. For more information on installing and configuring WooCommerce, please visit this page:

http://docs.woothemes.com/documentation/plugins/woocommerce/getting-started/

In order to setup WooCommerce with our theme, please perform the following steps:

  1. Go to Plugins - Add New from the admin panel.
  2. Type WooCommerce in the search field.
  3. Locate WooCommerce - excelling eCommerce in the search results and click on Install Now
  4. Once installation is complete, click on Activate Plugin

 

Product Image Sizes

  • Woocommerce product image sizes: Go to Dashboard - Appearance - Customize -> WooCommerce -> Click Product Images.

    Main image width: Single product width (unit: px)

    Thumbnail width: The largest width of products (in shop and homepage layouts, not the thumbnail) (unit: px)

  • YITH Compare product sizes: Go to Dashboard - YITH - Compare

  • YITH Zoom magnifier product sizes: Go to Dashboard - YITH - Zoom magnifier

  • Important Note: After changing product sizes, you need to regenerate thumbnails. Read more: http://wordpress.org/plugins/regenerate-thumbnails/

    Products Images

    When editing a product, we can upload a featured image and thumbnail images.

    Products Wishlist

    Note: You need active plugin YITH WooCommerce Wishlist.

    Read more: https://docs.yithemes.com/yith-woocommerce-compare/.

    Go to YIT Plugins=>Wishlist to change settings for the wishlist, we don't require any settings there but we recommend to change text, select social networks.

    Revolution Slider

    Blog

    Blog Posts

    To create a new blog post, go to Posts - Add New from the admin panel.

    1. Enter a title for your post in the text field near the top.
    2. Next, at the right side of your screen, in the section called Post Format, choose a format for your blog post.

    3. Upload an image as featured image

    Let's go over Post Format :

    • Standard - This is the default blog format. You can start adding content.
    • Image - This is same as the default format, but it uses the content-image.php to display post. You can edit file to change layout of this post type.
    • Gallery - This post type has a gallery, you can add shortcode to show a slider at Post featured content.

      You can insert shortcode carousel such as Carousel, Gallery ...

    • Video - This post type has a video player, you can add shortcode to show YouTube or Vidmeo at Post featured content.

      You can insert shortcode video such as Youtube, Vimeo ...

    • Audio - This post types has a audio player, you can add shortcode to show a player at Post featured content.

      You can insert shortcode carousel such as Audio ...

    Now it's time to categorize this post.
    1. In the section called Categories, select the categories that you wish to add this post to. Alternatively, if you'd like to create a new category, click on "+ Add New Category." A text field will unfold where you can enter a name for the category.
    2. Then click on "Add New Category".
    3. Once you've checked the categories where you want this post to go to, click the "Publish button".
    4. Under the Categories section are the Tags sections. Here you can add tags to your post.

    Now that you've set up your blog post, let's go over the custom fields.

    Note that most of them are the same custom fields you'll find when creating standard pages.

    Post Excerpt

     

     

     

    Instagram

    Go to Instagram Feed to config, set ID instagram, can custom number of photos, columns will be shown.

    Roadthemes Shortcodes

    You can find our shortcodes in tab Theme

    Roadthemes Product Sliders

    They included:
    • RT Sale Products : list products on sale
    • RT Feature Products : list products set as featured
    • RT Recent Products : list recent products
    • RT Top Rated Products : list top rated products
    • RT Best Selling Products : list best selling products
    • RT Products : list multiple products (You choose products manually)
    • RT Products categories : Display product categories loop
    • RT Products category : Show multiple products in a category

    Note: read more about Woocommerce Products: https://docs.woocommerce.com/documentation/plugins/woocommerce/getting-started/setup-products/

    Some Settings for Example:

    Roadthemes Latest Posts

    Mailchimp Newsletter

    Note: You need active plugin Mailchimp For Wordpress.

    Read more: https://wordpress.org/plugins/mailchimp-for-wp/

    Go to Dashboard - Mailchimp for WP - Mailchimp and enter your API.

    - Then go to Mailchimp for WP - Form to edit Mailchimp Form and get the Form ID.

    - Go to Dashboard - Pages - All Pages - Choose home page & paste shortcode of Mailchimp

    Pages

    - Create pages: you can read more: https://wpbakery.com/video-academy/start-building-page-scratch-blank-page-templates/

    - When creating a new page, one of the first things you might want to do is to assign an appropriate template for it. To do this, go inside the page backend and locate the section on the right called Page Attributes. Theme comes with a variety of templates to choose from:

    • Default Template - Choose this one if you wish to create a standard page.
    • About page - This template to use is for "About Us" page.
    • Contactpage - This template to use is for " Contact Us" page.
    • Front Page Template - This is the template to use for "Home" page.
    • Full Width - Choose this one if you wish to create a standard page with elements that go across full width of the page, no sidebar.

    Translation

    Translate theme

    We will guide 2 ways to translate theme: Using Loco translate and PoEdit. We only guide translate text strings of our theme.

    Important: Before, you need check you can switch language

    • Dashboard -> Settings -> General. Changing this will set a new default language for all site visitors. Example, we're going to set the language to French at Available : Choose Français

      If you don't see your language in the dropdown list you may have to install the core language packs manually.

      You can set your site back to English now if you like. We'll be switching to French later on to check our custom translations are working, but the language setting isn't required while we add them.

    1. Translate theme with Loco translate:

    * Install Loco Translate plugin
    • Go to Dashboard > Plugins > Add New

    • Enter Loco Translate at search field

    • Locate Loco Translate in the search results and click on Install Now

    • Once installation is complete, click on Activate

    => You can read this guide to translate theme with Loco translate : https://localise.biz/wordpress/plugin/beginners


    2. Translate theme with Poedit:

    You need install Poedit software on your computer. Poedit is available on OS X and Windows and can be downloaded from here.

    Before using Poedit to translate,

    • Open Poedit and select Create new translation

    • A new window will pop up, select WordPress theme you want to translate. A Theme’s default translation template is located in wp-content\themes\your_theme\languages\lukani.pot

    • Next, from a dropdown menu select a language you want to translate your theme to:

    • Highlight any string you want to translate. Or you can press Ctrl+F to find string you want to translate.

    • In the Translation section enter a desired translation of the source string

    • Once you have translated your theme, save the file with format : language-code_country-code.po("fr_FR.po" in this example) in wp-content\themes\your_theme\languages

      - Explanation: fr_FR - with "fr": language-code and "FR": country-code

      - You can find language code and country code at Get language codes , Get country codes

    Translate plugins

    The easiest way to translate the plugin is by using the Loco Translate WordPress plugin. To use loco translate plugin, please see the steps below.

    1. Install Loco Translate plugin

    • Go to Dashboard > Plugins > Add New

    • Enter Loco Translate at search field

    • Locate Loco Translate in the search results and click on Install Now

    • Once installation is complete, click on Activate

    2. Translate plugin with Loco translate

    • Go to Loco Translate > Plugins and click a plugin theme. Example: Slider Revolution

    • Click New Language

      - If after you click New Language, you see Template missing the warning. You only click Skip template

    • Choose your language and choose a location is in languages/plugins/, then click Start Translating

    • Click Source Text and enter the text you want to translate in French translation

    • Click Save button

    • Note: To update your language file when you updated the theme, you only click Sync button.

    Additional Notes

    Regenerate Thumbnails

    If you change the image size settings, you must resize all images that you have uploaded. You can use plugin Regenerate Thumbnails, read more: https://wordpress.org/plugins/regenerate-thumbnails/.

    We use bootstrap in our Theme .

    Read more: https://getbootstrap.com/docs/4.2/getting-started/introduction/

    Child theme

    If you modify a theme directly and it is updated, then your modifications may be lost. By using a child theme you will ensure that your modifications are preserved.

    Read more: https://codex.wordpress.org/Child_Themes.

    Font Icon Pack

    Please note that Theme comes with font icon pack: Font Awesome 4.7.0, Pe icon 7 stroke, Ionicons, Linearicons Free, Material Design Iconic Font, ... See which icon fonts are used by go to folder: wp-content\themes\[theme-name]\css. You can see an overview of all the available icons in this icon packs at the following link:

    1. Font Awesome 4.7.0: https://fontawesome.com/v4.7.0/icons/
    2. Pe icon 7 stroke: https://themes-pixeden.com/font-demos/7-stroke/
    3. Ionicons: https://ionicons.com/
    4. Linearicons Free: https://linearicons.com/free
    5. Material Design Iconic Font: http://zavoloklom.github.io/material-design-iconic-font/icons.html

     

     

     

     

    FAQ where to get help, support and additional information

    We hope this manual was useful for you and helped you to install, to edit the template and to resolve your issues.

    1. Why blank white page and less compiler error?

    In this theme, it uses the less compiler function to generate css files from .less file. If your server has small PHP memory, it may show the error. Please try to increase the PHP memory like this:

    1. Edit your wp-config.php file and enter something like:

    define('WP_MEMORY_LIMIT', '256M');
    WordPress memory can be different to the server – you need to set this regardless of server memory settings

    http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

    2. If you have access to your PHP.ini file, change the line in PHP.ini
    If your line shows 32M try 256M:

    memory_limit = 256M ; Maximum amount of memory a script may consume (256MB)

    3. If you don’t have access to PHP.ini try adding this to an .htaccess file:

    php_value memory_limit 256M

    4. If none of the above works then talk to your host.

     

    2. Why can't I save my menu?

    Cause of this problem is small value of the "max_input_vars" option in the configuration of your server (host). You must increase value of the "max_input_vars". You must to set a value that is twice as large of the current value.

    • Most hosts have the opportunity to change this value in the "Host Admin Area".
      Example:
      If currently you have max_input_vars = 1000
      You need to set max_input_vars = 2000 (or more)

    • You can try to change this value using ".htaccess" file in root directory of the your site, adding this lines in ".htaccess".
      php_value max_input_vars 3000  
      php_value suhosin.post.max_vars 3000
      php_value suhosin.request.max_vars 3000

    • You can try to change this value using "php.ini". Add this line if you don't find max_input_vars
      max_input_vars = 3000

    • If that does not help you, ask your host support "How can I increase the value of the max_input_vars for my site?".
    3. Why website loads slowly?

    In some cases, you uses large images on your page, server run slowly because it's a VPS. Try these methods:

    - Reduce images size

    - Install cache plugin like W3 Total Cache

    - Turn off less compiler in Theme Options=>Less compiler after finished changing colors & fonts.

    - Test website with GTMetrix and see its suggestions https://gtmetrix.com/

    4. I see errors when importing demo content?

    If you get a white screen or some other error when trying to import our demo content, this probably happens because of the maximum execution time limit. You need to increase the maximum execution time (upload time) setting of your web server. The default maximum execution time on web servers is 30 seconds. Please increase it to 300 seconds. Possible ways of achieving this are:

    • By wp-config.php changes - set_time_limit(300);
    • In htaccess - php_value max_execution_time 300;
    • In php.ini file - max_execution_time = 300

    Ask your hosting provider to take care of this for you.

    5. How to insert shortcode?

    In this theme, we use Shortcodes Ultimate plugin to make shortcodes. You can go to this page http://gndev.info/kb/ and read the documentation to create your own shortcodes.

     

    Credits & sources

    I have included these sources with this theme:

    jQuery: http://jquery.com/

    FlexSlider: http://flexslider.woothemes.com/

    Slick: http://plugins.jquery.com/slick/

    jQuery Gmap: http://labs.mario.ec/jquery-gmap/

    FancyBox: http://fancyapps.com/fancybox/

    jQuery Parallax:http://www.ianlunn.co.uk/plugins/jquery-parallax/

    jQuery Shuffle: http://vestride.github.io/Shuffle/

    Font Awesome: http://fortawesome.github.io/Font-Awesome/

    lessphp: http://leafo.net/lessphp


    Once again, thank you so much for purchasing this theme. As I said at the beginning, I'd be glad to help you if you have any questions relating to this theme. No guarantees, but I'll do my best to assist. If you have a more general question relating to the themes on ThemeForest, you might consider visiting the forums and asking your question in the "Item Discussion" section.