Increase PHP Values

Table of Contents
  • Increase the Max Input Vars Limit
  • Increase Maximum Execution Time
  • Increase Memory Limit
  • Troubleshooting

If your hosting provider enabled the option to change the PHP values from the Cpanel just login to your panel and change the options there.
Otherwise try the following methods. Be aware that this section requires advanced knowledge.

Increase The Max Input Vars Limit

The max_input_vars directive can be configured in .htaccess, php.ini or wp-config.php file. We recommend to increase default value to 3000. But if you have a lot of menu items try 5000 or higher.
Here is how you can do it:

In .htaccess

php_value max_input_vars 3000

In php.ini

max_input_vars = 3000

In wp-config.php

@ini_set( 'max_input_vars' , 3000 );

Increase Maximum Execution Time

You may receive a message such as Maximum execution time of 30 seconds exceededor “Maximum execution time of 60 seconds exceeded”. This means that it is taking to longer for a process to complete and it is timing out. There are a number of ways to fix this error.

In .htaccess

php_value max_execution_time 300

In php.ini

max_execution_time = 300

In wp-config.php

set_time_limit(300);

In .htaccess

php_value memory_limit 256M

In php.ini

memory_limit = 256M

In wp-config.php

define('WP_MEMORY_LIMIT', '256M');

Troubleshooting

Should you not feel comfortable in trying the above methods, or the above did not work for you, you need to your hosting support about having them increase your PHP values.

Server Requirements

Table of Contents
  • PHP Configuration limits
  • Increasing limits

To use Emart WordPress Theme, you must be running WordPress 6 or higher,

or newer version (WordPress officially suggests to use)

and MySQL 5 or higher version. Emart has been tested with Mac, Windows and Linux. Below is a checklist of items your host needs to comply with to ensure proper operation:

Ensure your web host has the minimum requirements to run WordPress.
Make sure the latest version of WordPress is up and running.
If necessary, you can download the latest release of WordPress from the official WordPress website.

PHP Configuration Limits

Issues you may encounter, such as demo content fails when importing and similar issues, are generally related to excessively low PHP configuration limit settings. You can either increase these limits on your own, or contact your web host and ask to have the limits increased to the following minimums:

  • memory_limit =256M
  • max_input_vars =3000
  • max_execution_time = 300
  • post_max_size = 12M
  • upload_max_filesize = 12M
  • allow_url_fopen = ON
  • asp_tags = OFF

Make sure you have wp_remote_get() function enabled or unblocked by your hosting as this is default feature of WordPress and is required to get demo content from our server.

Theme Installation And Demo Import

  1. Download the Stylon theme by clicking on 'All files & documentation' of 'Download' button.
  2. Login to your WordPress Admin Panel.
  3. Click on Appearance -> Themes -> Add New.
  4. Click on Upload Theme and choose the theme zip 'Stylon.zip' file (Which you already got by downloading the full package) and click on 'Install Now' button.
    item1
  5. Activate the Stylon theme.
    item2
  6. Register the theme with your Envato username, email id and purchase code (Only one standard license is considered valid for one website since using more than 1 website on a single license is a gross infringement or violation of license).
    item3
  7. After the successfully registered, click on Click here to continue with Plugin install process to install plugins.
    item4
  8. Click on Install all plugins to install and activate all plugins (If you want to activate shop and want to import demo data of shop too, then check 'Activate Shop').
    item5
  9. After successful plugin activation, click on Continue with Demo Import.
    item70
    Exception:
    If you don't see the Continue with Demo Import option even after successful plugin installation, Just simply refresh or reload the page by pressing "Ctrl + R" on Windows or "Command + R" on Mac.
  10. Now, click on OK on the Dialog Box to import the demo.
    (IMPORTANT: Installing this demo content will delete the content you currently have on your website. However, we create a backup of your current content in (Tools > Backup). You can restore the backup from there at any time in the future. When a new demo is imported, then if you have any demo which is previously imported gets automaticaly deleted.)
    item73 item73
  11. Now relax and import process will automatically finish and will show you progress on screen (via progress bar).
  12. After successful Demo import you'll be taken to your site's home page. You have just one step to complete. Important One. Please don't skip this. Go to the WordPress Admin -> Elementor -> Tools -> Regenerate CSS and you're done.
    item72

Setup Mega Menu

Please follow below steps to create a brand new mega menu from scratch. However, we recommend using existing mega menu (Which has come with the theme) and customize for ease of use through elementor.

  1. First go to “Mega Menus” section from Left admin bar. Then click “Add New”.
    item8
  2. Add Mega Menu name. Let's say, new mega menu name is New Mega Menu.
    item9
  3. Now edit the Mega Menu you created by using elementor.
    item10
  4. Design your menu as you want through elementor.
    ite1-01
  5. Now go to ‘Appearance > Menus’ and click on “Screen Options” and select “Mega Menus”.
    item12
  6. Now you need to add your created mega Menu in Website menus. Expand “Mega Menus” section and Select menu name which you want to add in your menu. You can add New Mega Menu (which you have just created) or select any other mega menu to be included under Website Menu as shown below.

    When done, then Click “Add to Menu” and “Save Menu”.


    ss1

Add/Edit Header

Header styles are coming through ‘Elementor’ and you can edit those styles froms ‘Template > Saved Templates’.

Those templates which are assigned under ‘Custom Header’ category are the templates of header. You can edit all those templates through ‘Elementor’.
ss3

You can add new templates for header from ‘Templates > Add New’ (Choose ‘Section’ as template type, name your template and click on the ‘CREATE TEMPLATE button).
item15

After creating the template, please choose the ‘Custom Header’ category for that template.
item18-1

You can edit header by editing existing elements through ‘Elementor’. You can manage logo, menu and all other properties of header from there.
Also, you can add all header properties (Logo, menu and all other properties) for new header by using ‘All Header Element’.
ss4.png

Footer Options

You can change footer from both Customizer and page level. If you want same footer on all pages, then choose any footer as per your choice from ‘Customizer > Footer >Default Footer Template’ (Figure-1) and choose ‘Theme Default Footer’ from page level (Figure-2) and this is not applicable Shop related pages.

Figure-1
item24-1

Figure-2
ss5.png

If you want different footer on any page, then go to that page and choose any footer except ‘Theme Default Footer’ from ‘Select Custom Footer’ section.

Figure-3
ss6.png

Header Options

You can change header from both Customizer and page level. If you want same header on all pages, then choose any header as per your choice from ‘Customizer > Header > General > Select Header Style’ (Figure-1) and choose ‘Theme Default Header’ from page level and this is not applicable to Blog, Blog single, Shop and Product detail pages.

As layout for ‘Blog’ and ‘Shop’ pages are managing from Theme Options only, so you won't be able to edit those pages through ‘Elementor’ and can't choose individual header for them from page level. You can choose header for them from ‘Customizer > Header > General.

Figure-1
ss7

If you want different header on any page, then go to that page and choose any header except ‘Theme Default Header’ from ‘Select Custom Header’ section.

Figure-2
ss8

Setting Up Modal

Step : 1

modal-setup

Step : 2

modal-setup

Step : 3

modal-setup

You have successfuly set the Modal on your site.

modal-display

Logo And Retina Logo Change

After login to wp-admin, go to the front-end and click on header template under ‘Edit with Elementor’.
item30-01

Go to ‘Custom Logo’ section and you can change logo from there (from ‘Default Logo’ field). You can change Retina Logo from there too (From ‘Default Retina Logo’ field). For retina logo to work the name of the retina logo must be the normal logo [email protected] eg. if the normal logo is my_image.png then the retina logo name should be [email protected] Also both images must be in the same location.
item31-01

Setup Contact Form

Contact form 7 is used to create ‘easy to handle’ and ‘easy to customize’ forms. This theme has seven pre-built forms. To get all forms, ‘Contact Form 7’ plugin must be installed and activated. You can add/edit/delete the contact form by following this documentation-
https://contactform7.com/getting-started-with-contact-form-7/

If you have imported our demo designs then you'll get all contact forms along with demo import. You only need to configure them to suit your purpose. We've created contact forms through ‘Contact Form 7’. Once you'll import the demo designs, you'll find all the forms on ‘Contact > Contact Forms’.

You need to provide all the information for every contact form, so that you can get the details upon customers fill up any form. You can put information(Information may vary as per the form) on the ‘Mail’ tab as per below screenshot:-

item32-01

Contact form 7 uses php mail() function to send form data. Few hosting providers block php mail() function to send email via forms. In such case you may need to authenticate using
https://wordpress.org/plugins/smtp-mailer/ or similar.

Theme Update

Download the latest package of the theme, unpack the files, and upload the theme on the server.

You need to upload the theme on your server by following these steps–

  1. Login to your Hosting
  2. Go to public_html>wp-content>themes
  3. Upload the updated zip file of your theme
  4. Delete the theme of the present version
  5. unzip the updated version of the theme
  6. After unzip, you may delete the theme zip

Plugin Update

Point to note: If you did any changes on any plugin files, then keep backup of them, so that you can upload those files again after updating the plugin.

You can update plugins by following below steps–

  1. Login to your wp-admin
  2. Go to Plugins > Installed Plugins
  3. Now, delete those plugins which you want to update.
  4. Now, go to ‘Appearance > WpIgnite Dashboard’ and re-install and re-activate those plugins again and you'll get the updated plugins.

How Can I Change Image For 404 Page?

You can change image for 404 page. Please go to Customizer–>Pages–>Error 404.

Here is an option to change change and text.Please check screenshot.

item33-01

Blog Setup

Table of Contents
  • The Blog Page
  • Blog Options in Customizer.

WordPress shows by default your posts in the homepage but you can configure a specific page for your posts.

The Blog Page

To setup the blog page, in your WordPress admin panel, navigate to Settings → Reading.

For example if you already have a page named “Blog“, for the Your homepage displays, select “A static page” and choose your “Blog” page as the Posts page.

This is what you should see on your screen:

ss11
Blog Options In Customizer.

Go to Appearance->Customizer->Blog-> Blog Layout

Select your default posts listing in Blog Layout option:

ss12

Blog Single Options

There are different types of blog details layout. Go to Appearance ->Customizer->blog->single page layout (IMPORTANT: You need to add/edit Blog posts through elementor only).

ss13

Shop section for Home Page

You can add a product section on any home page by using 'Product Box' through elementor.

ss20

Shop page layout

You can manage shop page layout from 'Appearance > Customize > Shop > Product Listing'.

ss21

Product details page layout

You can manage product detail page layout from 'Appearance > Customize > Shop > Product Details'. You can change some product detail page's options too from here.

ss22

Mini cart content

You can mini cart content from 'Appearance > Customize > Shop > Product Options'.

ss23

Set Woocommerce Basic Settings

Table of Contents
  1. Install WooCommerce and setup default shop pages
  2. Assign Shop related pages
Install WooCommerce And Setup Default Shop Pages

If your site doesn’t have WooCommerce installed already, then you need to install the WooCommerce plugin first. To do the same, navigate to ‘Plugins’ > ‘Add new and then type ‘WooCommerce into the search field. Now install the plugin by clicking on “Install Now” button. After that, click on “Activate” button to activate the plugin. After activating, you will get notification to install WooCommerce pages. So, install default WooCommerce pages from there.

Assign Shop Related Pages

You need to assign all shop related pages from ‘WooCommerce > Settings > Advanced’ as per below screenshot:-

11

Mange Important WooCommerce Options

Please follow below tutorial to manage specific WooCommerce options:-

Managing Products: https://docs.woocommerce.com/document/managing-products/

Managing Orders: https://docs.woocommerce.com/document/managing-orders/

Managing Email Templates: https://woocommerce.com/posts/how-to-customize-emails-in-woocommerce/

Outdated templates warning

WooCommerce keeps showing this warning with every update of WooCommerce. It's nothing but a nagging warning which has nothing to do with theme or it's functionality.

If you're getting notice of outdated WooCommerce template, then you just need to update the WooCommerce version by editing files of WooCommerce from 'wp-content/themes/theme-name/woocommerce' (Edit those files of WooCommerce only in where version is mention). For example, you can update the version of 'wp-content/themes/theme-name/woocommerce/archive-product.php' as per below screenshot:-

item109

How to set Product Variation

Step : 1

  1. Login to WordPress admin panel.
  2. Navigate to Products > Attributes
  3. Create a new attribute by setting the "name" and "slug" field as Net Weight
  4. Click on Add Attribute. You have created the atrribute successfully, now you can Configure the attribute and add variations to it.
item109

Step : 2

  1. Set the name as per the requirement, for the example given below "300ml" is set
  2. Click on Add New button
item109

You have successfully created a variation of the Net Weight attribute. You can now add more variation to it

item109

Step 3: Setting the quantity for a specific product

  1. In wp-admin go to Products > All Products
  2. Choose your product and click on Edit option
  3. Under the Product Data section choose Attribute option
  4. Now click on the attribute that has been created in Step 1 ,for the below example it is Net Weight
  5. Check the Used For Variations option
  6. Under the Values option, you can now choose multiple quantiy variations.
item109

Step : 4

  1. Click On Variations option
  2. Select the Add variation dropdown
item109

Step : 5

item109

Now you can edit or remove any quantiy as per your choice.

item109

You have successfully set the variation for a specific product.

item109

How To Set Product Price

Please go through the points given below on how to set the product price

  1. Login to WordPress admin panel.
  2. Navigate to Products > All Products.
  3. Choose the Product of your choice
  4. Click on Edit option
  5. Under the Product Data section, click on Variations option
  6. Finally, click on the Variations tab to expand, Then set the Regular Price and Sale Price as per your choice
    item6

You have now successfully set the product price

item6

How To Set / Change Product Description

How To Set / Change Product SKU

How To Set Sales Countdown Timer

How To Turn Off Sale Countdown Timer

If you dont wish to display the countdown timer on the product page then please set the timer date to a previous day date from your current date.

How To Set Product Additional Information

Setting Up Product shipping Content On Product Page

Please go through the points given below on how to set the product price

  1. Login to WordPress admin panel.
  2. Navigate to Products > All Products.
  3. Choose the Product of your choice
  4. Click on Edit option
  5. Click on Custom Fields tab to expand, then set the estimated_delievery_content and estimated_delievery_title as per your choice
  6. item6

You have now successfully set the product shipping details

item6

Product Size Chart

Step : 1

  1. Login to WordPress admin panel.
  2. Templates > Categories > Add New Category
  3. Create a new categories by setting the "name" and "slug" field as Size Chart
  4. Click on Add categories. You have created the atrribute successfully.
  5. item109

    item109

Step : 2

  1. Click On Saved Templates under the templates click On ADD NEW
  2. Create a template as a section and give a appropiate name acoording to products
  3. Click on Add New button

After adding template got to quick edit and select price chart . Then create size chart > edit with Elementor

item109

item109

Select size chart in product editing page

item109

You have successfully created the product size chart.

item109
item109

Product Color Setup

Step : 1

  1. Login to WordPress admin panel.
  2. Navigate to Products > Attributes
  3. Create a new attribute by setting the "name" and "slug" field as Color
  4. Click on Add Attribute. You have created the atrribute successfully, now you can Configure the attribute and add variations to it.
  5. item109

Step : 2

item109

Step : 3

item109

You have successfully created a variation of the Color attribute. You can now add more variation to it

item109

Step : 4

  1. In wp-admin navigate to Products > All Products
  2. Choose your product and click on Edit option
  3. Click on Product Data tab to expand
  4. Click on Attributes option
  5. Select Custom Product Attribute option from the dropdown
item109

Step : 5

  1. Click on the color tab to expand.
  2. Check the Used for variations option.
  3. In the Values section select all the colors as per your choice
item109

Step : 6

item109

Step : 7

item109

You have successfully added the colors at your product page.

item109

How to Enable/Disable shipping progress-bar

If you wish to enable or disable shipping progress-bar from the cart page along with cart side-bar from Figure 1. Then navigate to customizer > shop > Product options in Figure 2. and turn off/ on product shipping toggle as per your requirements .

Figure 1.
progress
progress

Figure 2.

progress

Translation

Table of Contents
  • Use Poedit software
  • Use Loco Translate
Use Poedit Software

For individuals who desire translation using files included in the theme, we suggest using the .mo/.po files. These files work in 'buddies' or pairs, so for every language, you must have 2 files with the same name but with a different extension name altogether. For example, if you wish to translate into the French language, your files would be fr_FR.mo and fr_FR.po

To make edits on these files, you have to use Poedit which is an “easy to use” software. You only need to upload our provided .pot file into Poedit, then edit relevant text values, save the file and upload them into the language folder that is included or provided in the theme.

Use Loco Translate

You can use https://wordpress.org/plugins/loco-translate/ plugin for translate too.

How To Add Clients

Please go through the points given below to understand how to create a new client item—

  1. Login to WordPress admin panel.
  2. Navigate to “Clients > Add New Client”.
  3. Provide a suitable title for your client item.
  4. Provide client category.
  5. Provide client image on client cover image section.
  6. Finally, click on “Publish” button to publish your client item.
    item6 item7 item8