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 Emart 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 'emart.zip' file (Which you already got by downloading the full package) and click on 'Install Now' button.
    item1
  5. Activate the Emart 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.
    item70
  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.)
    item72 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

How to Setup/Active Child Theme

If you want to activate a child theme from the parent theme then we suggest to create a local backup of the additional CSS in the customizer of your parent theme, After activation of the child theme, copy all the CSS from your local backup then navigate to child theme Customizer by following WP Admin Dashboard > Appearance > Customize > Additional CSS and paste it to child theme Customizer.

Additional CSS Additional CSS Editor

Note: After child theme activation if you notice any change in the font typography, then please navigate to the child theme customizer by following WP Admin Dashboard > Appearance > Customize > General > Google Font Typography and set the typography.

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.
    item11-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.
ss4.png

Also, you can add all header properties (Logo, menu and all other properties) for new header by using ‘All Header Element’.
item20-1

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 (Figure-2) and this is not applicable to Blog, Blog single, Shop and Product detail pages.

Figure-1
ss7

Figure-2
ss8

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-3
ss9

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-4).

Figure-4
ss10

Setting Up Modal Popup

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

Product Cart Free Shipping Content

You can mini cart shipping text change from 'Appearance > Customize > Shop > Product Options'.

ss23

Color Variation Swatches

Table of Contents
  1. Product > Attributes setup
  2. Attributes > Terms
  3. Add variations to products

Button, image and color swatches are added by the plugin Variation Swatches for WooCommerce https://wordpress.org/plugins/woo-variation-swatches/

The color/image swatches work with the default WooCommerce attributes. Let’s see an example.

Product > Attributes Setup

In the following list the attribute is named Color. But it could be any other name.

item54

Edit your attribute and select type Color (or Image if you want to add an images instead of a plain color)

item55
Attributes > Terms

Then, edit the attribute terms and select the color for each one

item56
Add Variations To Products

Assign the Color attribute to your product and select the terms. Use the attribute as variation:

item57

The color/image swatches work like other variation. Product variations are part of the WooCommerce core functionality. The only difference is in the options presentation.

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 choise.

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 choise
  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 choise
    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 choise
  4. Click on Edit option
  5. By default, the custom fields option is hidden in WordPress. To enable this feature, access your page or post editor. Locate the Screen Options button on the right corner of your screen, and check the Custom Fields box. This will make a new dialog box appear below the content editor.
  6. item6
  7. Click on Custom Fields tab to expand, then set the estimated_delievery_content and estimated_delievery_title as per your choise

You have now successfully set the product shipping details

item6

Product Size Chart

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 Size Chart
  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

  1. Click On Configure Items under the created Size Chart attribute
  2. Set the name as per the requirement, for the example given below "M" is set
  3. Click on Add New button
item109

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

item109

Step : 3

  1. In wp-admin navigate to Products > All Products
  2. Choose your product and click on Edit option
  3. Click on Product Size Chart tab to expand
  4. In the Size Chart dropdown select your size chart attribute.
item109

Step : 4

  1. Visit your Product Page
  2. Select the Size Chart option from the Edit With Elementor dropdown
item109

Step : 5

item109

You have successfully created the product size chart.

item109
item109

Product Color Swatch

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 choise
item109

Step : 6

item109

Step : 7

item109

You have successfully added the colors at your product page.

item109

How To Change Product Page Button Color

How To Add Shipping Zone

  1. Login to WordPress admin panel.
  2. Navigate to Woocommerce> Settings.
  3. Select Shipping option.
  4. Finally, put your desired shipping zones in the fields below.
    item6

How To Add Shipping Rate Information

If your cart page does not have shipping rate information set in the below example

item6

Set the shipping fare information by following the steps:

  1. Login to WordPress admin panel.
  2. Navigate to Woocommerce> Settings.
  3. Select Shipping option.
  4. In the Shipping Methods option turn on the Flat Rate toggle.
item6

After successful set up of the Shipping Methods option, your cart should look like this,

item6

How To Set Product Payment Options

  1. Login to WordPress admin panel.
  2. Navigate to Woocommerce> Settings.
  3. Select Payment option.
  4. Finally, enable the toggle for your supported payment methods as per your requirement
    item6

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.

Some of texts are not included in theme as those texts are coming through WooCommerce directly and you can change those by following https://woocommerce.com/document/woocommerce-localization/ tutorial. You may use Polylang / Locotranslate plugin in Wordpress and translate the theme to your language. After installation, the plugin would give you choice to translate texts you want to translate.

You may use Polylang / Locotranslate plugin in Wordpress and translate the theme to your language. Or You can change text from theme folder and woocommerce plugin folder. simple find and replace text from this 2 folder.

Please follow the steps below:

You can change shop side bar text from Widgets

item6

Sign in & Register

Plugins\wplgnite-core\widgets\header-nav-menu\class-Wplgnite-header-custom-menu.php

item6

You can find this text in

theme\emart\functions.php

You can change View Cart and Checkout text

item6.

You can change Out of stock text

plugins\wplgnite-core\class-wplgnite-core.php

item6

You can change Buy Now text

item6

You can find this text in

theme\emart\assets\js\ajax_add_to_cart.js

item6

You can find this text in

theme\emart\woocommerce\single-product\related.php

item6

You can find change Address text in

find and replace text from woocommerce plugin folder plugins\woocommerce\includes\wc-account-functions.php

item6 item6

change flat rate text ( find and replace text from woocommerce plugin folder) or

item6 item6

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

Change Log

27 July 2023

Version: 1.1.3

Fixed Outdated WooCommerce Templates.

Improvement in import process to reduce size.

Minor fixes.

27 June 2023

Version: 1.1.2

Fixed Outdated WooCommerce Templates.

26 June 2023

Version: 1.1.1

Fixed Woocommerce single product carousel.

Fixed Woocommerce product review.

Fixed Woocommerce product sidebar category layouts

13 June 2023

Version: 1.1.0

Added three new demos:

01 June 2023

Version: 1.0.3

Fixed variation product price issue

02 May 2023

Version: 1.0.2

Fixed contact form css issue.

10 April 2023

Version: 1.0.0

Initial Release.

ss