Frequently Asked Questions

Contents

1. Polylang - Activate the languages and translations management for the custom post types and taxonomies.

2. How to import Slider Revolution?

3. Infinite next and previous post looping in WordPress?

4. How to order post type and order category

5. I can't install theme - Stylesheet is missing

6. How to Enable WPBakery Page Builder (Formerly Visual Composer) on All Post Types

7. How to edit Revolution Slider Demo on Homepage?

8. Support Policy

9. Adding Translation Files To Your Child Theme !

10. How to translate multilanguages for footer widget area using WPML Plugin?

11. Slider Revolution not vertically scrollable on mobile device?

12. Automatic Update The Plugins

13. How to create a contact form for your website?

14. Fixed 404 Error When Updating, Saving the Posts, Pages, etc...?

15. Demo data import failed using Elementor version 3.0 or higher.

16. How to change which WordPress page template is set as default template?

17. Upload media files with any format?

18. What To Do If Demo Content Import Fails

19. Installing a WordPress Theme Using the Upload Method

20. Translate the WordPress Theme use the Loco Translate Plugin !!!

21. How to add www urls in wordpress?

22. How to Update Plugin Included?

23. Difference between HTML Templates and WordPress Themes

24. How to add "Products" into WooCommerce Breadcrumb?

25. How to submit a ticket

26. How to setup for user register on website using WooComerce?

27. Support expired and how to purchase support renewal?

28. Plugins Licenses

29. Add custom class in column, row, any element and style css for custom class?

30. How to translate the theme with Loco Translate plugin?

31. How do I change Google Map API Key for website?

32. Instagram Feed Setup?

33. Hosting Requirements to running WordPress Theme.

34. How to change another demo?

35. Increase the PHP Time Limit

36. Add custom fonts for WordPress Website?

37. How to enable pinch zoom on website for mobile devices?

38. How to update the theme?

39. Troubleshooting the Demo Content Import?

40. How to Upload WordPress Theme

1. Polylang - Activate the languages and translations management for the custom post types and taxonomies.

Hi everyone,

1, In Admin page -> Languages -> Settings -> Custom post types and Taxonomies -> Settings


2, Choose custom post types and taxonomies: 


3, Start translations for the custom post types and taxonomies: 


Thank you

2. How to import Slider Revolution?

Hi Everyone,

1, Make sure you have successfully installed the Slider Revolution plugin for your site.


2, Go to your WP admin page -> Slider Revolution -> Import Slider


3, Find slider import zip from your computer (In theme package -> data_export -> slider-name.zip)

Browse

Select the slider import zip from your computer.

Custom Animations / Static Styles

Overwrite:

Overwrite previous styles and animations with those from the imported slider.

Append:

Preserve previous styles and custom animations (usually the best option).

-------------------------------------------------------

If you have questions or problems, please create a ticket to receive support from us: https://oceanthemes.ticksy.com/submit/

Thank you

3. Infinite next and previous post looping in WordPress?

Read more: https://gist.github.com/banago/5603826

Code for Post: 

/**
 *  Infinite next and previous post looping in WordPress
 */
if( get_adjacent_post(false, '', true) ) { 
    previous_post_link('%link', '← Previous Post');
} else { 
    $first = new WP_Query('posts_per_page=1&order=DESC'); $first--->the_post();
        echo '<a href="' . get_permalink() . '">← Previous Post</a>';
      wp_reset_query();
}; 
    
if( get_adjacent_post(false, '', false) ) { 
    next_post_link('%link', 'Next Post →');
} else { 
    $last = new WP_Query('posts_per_page=1&order=ASC'); $last->the_post();
        echo '<a href="' . get_permalink() . '">Next Post →</a>';
    wp_reset_query();
};

Code for Custom Post Type:

/**
 *  Infinite next and previous post looping in WordPress
 */
if( get_adjacent_post(false, '', false) ) { 
    next_post_link('%link', '← Previous project');
} else { 
    $last = new WP_Query('post_type=project&posts_per_page=1&order=ASC'); $last->the_post();
    echo '<a href="' . get_permalink() . '">← Previous project</a>';
    wp_reset_query();
}; 
if( get_adjacent_post(false, '', true) ) { 
    previous_post_link('%link', 'Next project →');
} else { 
    $first = new WP_Query('post_type=project&posts_per_page=1&order=DESC'); $first->the_post();
    echo '<a href="' . get_permalink() . '">Next project →</a>';
    wp_reset_query();
};

4. How to order post type and order category

1,  Post Types Order

Post Order and custom Post Type Objects (posts, any custom post types)
using a Drag and Drop Sortable JavaScript AJAX interface. 

==> Use this plugin : https://wordpress.org/plugins/post-types-order/

2, Category Order and Taxonomy Terms Order

Order Categories and all custom taxonomies terms (hierarchically) and
child terms using a Drag and Drop Sortable javascript capability. No
Theme updat 

==> Use this plugin : https://wordpress.org/plugins/taxonomy-terms-order/

Thank you

5. I can't install theme - Stylesheet is missing

Hi,

You'll have two option to download WordPress theme file:

1, Download the "Installable WordPress file only" and You only need to upload this zip file through the WordPress Dashboard -> Appearance -> Themes -> Add New -> Upload Theme -> Browsers your theme zip file


2, Download the "All files & documentation":


If you have download the "All files & documentation" you need to first extract the file you've downloaded from ThemeForest to a folder, the theme-name.zip file is inside of it along with documentation, license, and other files. You need to upload only theme-name.zip file to your WordPress. This might be helpfull:

https://help.market.envato.com/hc/en-us/articles/202821510

Thank you

6. How to Enable WPBakery Page Builder (Formerly Visual Composer) on All Post Types

Hello,

By default, WPBakery Page Builder (Formerly Visual Composer) may not be pre-configured or setup by your theme to allow Visual Composer layout editor to be used on all post types such as Products or Posts, Portfolio, Service, etc.... You can change this using the WPBakery Page Builder (Formerly Visual Composer) Role Manager:

1, Setup WPBakery Page Builder (Formerly Visual Composer)  for custom post type : portfolio, service, product, etc... 

  1. From your WordPress admin, click WPBakery Page Builder
  2. Click the Role Manager tab
  3. From the Post Types drop-down, choose Custom, then check each of the boxes available and click Save Changes button


2, In your post, page, post type:


3, Edit "portfolio" by Visual Composer and see image guide below:


4, Edit "service" by Visual Composer and see image guide below: 

Thank you

7. How to edit Revolution Slider Demo on Homepage?

Hello,

Please note: Please make sure you have fully imported the demo data for your website.

1, Go to your WP Admin page -> Slider Revolution -> Click Edit Slider:


2, Click on slide image and replace demo content by your content: 


3,  Edit each field:

4, After Edit all fields and save change fields finish -> You need to Save Slide: 


Thank you!

8. Support Policy

support policy

Thank you for purchasing one of our premium themes. We only offer support only to our Theme Buyers with a Valid Purchase Code. We only offer support for our themes, features and functionality unique to our themes. Please note that we cannot assist with general WordPress support or provide you with theme modifications and customizations in any circumstances. If you need any customization service you may request a quote from us.

What we support

The item support period

A supported item includes item support for 6 months from the purchase date. During those 6 months, the author is expected to be available to provide the item support services we’ve set out on this page. Response times by authors can vary depending on the volume of inquiries, the nature of the request, and whether questions have already been answered or support has already been provided (see ‘fair-use’ later on).

If you’re about to purchase the item, you’ll have the option to purchase extended item support, increasing the item support period up to a maximum of 12 months from the date of purchase.

Answering questions about how to use the item

During the item support period, the author is expected to be available to answer your general questions about the item and how to use it. For example, how do I get my homepage to look like the one in the preview? The response to this type of question can come in various formats including directing you to an already documented response (e.g. in the comments or FAQs).

Answering technical questions about the item (and included third party assets)

During the item support period the author is expected to be available to:

Help with defects in the item or included third party assets

During the item support period, you can report and discuss bugs and minor item defects with the author, and authors are expected to be available to assist you with reported bugs. If appropriate, authors may issue bug fixes directly to you as part of item support. (If an author decides to address a bug fix through a general version update, that update will be available to all buyers.)

A supported item may include third party functionality or items from other authors such as plugins, image sliders or contact forms. During the item support period, the author is expected to be available to assist with questions about third party assets, and to either help you to address particular issues with the third party asset or direct you to where you can find the solution.

Item updates to ensure ongoing compatibility and to resolve security vulnerabilities

If a supported item includes a third party asset (e.g., a plugin), or is intended to work with third party software or platforms (e.g. a CMS), authors are expected to ensure the item remains compatible if the software or platform version is updated. This includes if the third party asset has a security update. Item updates of this type will generally be delivered as version updates available to all buyers. Choosing a supported item (or upgrading to extended support) ensures you’re getting an item that’s backed by the author, and enables our authors to maintain their items in these ways.

What we don’t support

Our support is NOT applicable to the following queries:

item customization

Item support does not include services to modify or extend the item beyond the original features, style and functionality described on the item page. For customization services that will help you tailor the item to your specific requirements, we recommend contacting the author to see if they privately offer paid customisation services or checking out the great service providers on Envato Studio.

Installation of the item

Buyers have varying levels of experience with different software platforms and technologies and getting your item up and running can depend on many variables that are specific to your circumstances. You’ll need to have a working knowledge of the software platforms and technologies for which items are created, so item support does not include help to install the item on your server or on a CMS. If you’re just starting out or skilling up, try a course or tutorial on Tuts+. If you’re after installation services, you can ask the authors if they privately offer paid installation services or you can check out service providers on Envato Studio.

Hosting, server environment, or software

Authors are not required to support issues about your web hosting or server environment, or issues with the software you’ve got installed on your machine to use the item. Please check your ISP/web hosting provider or other software documentation that you’re trying to use to help solve your issues.

Help from authors of included third party assets

If a supported item includes a third party asset (e.g. a plugin or slider), the author of the third party asset is not required to provide support for that asset to buyers of the supported item. Direct your questions about third party assets to the author of the item you purchased.

Support Guidelines

Please follow the guidelines mentioned below while using our Support Forum:

Support Response

Thanks again for purchasing our themes, and see you in the forum!

9. Adding Translation Files To Your Child Theme !

If you worked hard to translate the theme you probably don’t want to keep the translated .po and .mo files in the parent theme because they will be overwritten when you update the theme. The best solution would be to place them in your child theme which is very easy to do and is also explained right in the WordPress CODEX.

So basically you just have to add your languages into your child theme and then use (add to your child theme’s functions.php) the following function to load it from the child theme instead of the parent:

// Load translation files from your child theme instead of the parent theme
function my_child_theme_locale() {
    load_child_theme_textdomain( 'total', get_stylesheet_directory() . '/languages' );
}
add_action( 'after_setup_theme', 'my_child_theme_locale' );

Then add your translated files inside a "languages" folder in the child theme.

10. How to translate multilanguages for footer widget area using WPML Plugin?

Using this plugin to translate your footer widget area in each languages when using WPML plugin: https://wordpress.org/plugins/wpml-widgets/

11. Slider Revolution not vertically scrollable on mobile device?

How to fixed issues with Revo Slider after update new version?

=> Just need go to your Revo Slider in backend and edit: Mobile Swipe Enable is "Off"


12. Automatic Update The Plugins

1, When you get notice update the plugins.

2, Deactive all plugins before automatic update.

3, Watch video below for a look.

Thank you

13. How to create a contact form for your website?

Hello,

Now I will guide you to create a contact form for your website, Before creating contact form, I want to make sure that contact form 7 plugin is installed for your website, download and install contact form  7 plugin here: https://wordpress.org/plugins/contact-form-7/

1, Create and Setup Contact Form:

=> Read more mail tag: https://contactform7.com/tag-syntax/#mail_tag and setup file attachment in email :https://contactform7.com/file-uploading-and-attachment/


2, Setup Sending Mail https://contactform7.com/setting-up-mail/

=> Yes, of course. Simply check the “Use mail (2)” box in the Mail tab panel and set up Mail (2) as the template for autoresponder mail. Mail (2) is an additional mail template which works in the same way as the primary Mail template, but Mail (2) is sent only when Mail has been sent successfully.


3, Copy contact form 7 shortcode and paste into your pages, posts: 

3a, Copy shortcode:


3b, Paste into your pages, posts: 


3c, Result after setup contact form: 

Thank you for reading this article, if you need the support from us, please create a ticket.

14. Fixed 404 Error When Updating, Saving the Posts, Pages, etc...?

Hi,

Please read more guide to fixed your problem: https://geekflare.com/wordpress-editor-unable-to-save/

Thank you

15. Demo data import failed using Elementor version 3.0 or higher.

"There is an issue with Elementor 3.0."

==> We have a solution for you to successfully import demo content. Please do follow step by steps below:

1, Please resets the site’s database to the default installation, use this plugin to reset website: https://wordpress.org/plugins/wp-reset/

=> After install and active the WP Reset plugin then reset your website:


2, The first, you need to active the theme:


3, The second, you need to active all the plugins required install with the theme:


4, Rollback Version for Elementor version 2.9.9 (Rollback to Previous Version) -> This is very important:


5, Start Import demo content again with One Click Import Demo featured:


6, After Import demo content success, please update the Elementor latest version 3.0.2 or higher: 

7, Finished!

Note: if you still cannot import demo content successfully. Please create a new ticket and provide your full admin account information and website url link. We will import demo content for you as soon as possible.

16. How to change which WordPress page template is set as default template?

I recently had a page template that needed to be set as the default page template INSTEAD OF the “Default Template”

I dig some digging and found a solution that works exactly as expected.

Here is how to change which WordPress page template is set as default template.

Make sure to update “post” to “page” if needed.

Also make sure to update “template-fullwidth.php” with your own template file-name.

- You can use templates available in wordpress themes: template-fullwidth.php, template-canvas.php, etc...

- You can create your own template file: https://developer.wordpress.org/themes/template-files-section/page-template-files/

Add this code below into your functions.php file (path: wp-content/themes/theme-name/functions.php)

function archi_default_page_template() {
    global $post;
    if ( 'page' == $post->post_type 
        && 0 != count( get_page_templates( $post ) ) 
        && get_option( 'page_for_posts' ) != $post->ID // Not the page for listing posts
        && '' == $post->page_template // Only when page_template is not set
    ) {
        $post->page_template = "page-templates/template-fullwidth.php";
    }
}
add_action('add_meta_boxes', 'archi_default_page_template', 1);

17. Upload media files with any format?

For upload video files with other format and not support from your WordPress site, you need allow video format you want to upload on your WordPress site:

https://codex.wordpress.org/Function_Reference/get_allowed_mime_types

https://codex.wordpress.org/Plugin_API/Filter_Reference/upload_mimes

Find this code in your wp-content/themes/archi/framework/template-tags.php file.

/* Upload images format svg */
function archi_mime_types($mimes) {  
    $mimes['svg'] = 'image/svg+xml';  
    return $mimes;
}
add_filter('upload_mimes', 'archi_mime_types');

Replace by this code:

/* Upload images, videos format svg, mov */
function archi_mime_types($mimes) {  
    $mimes['svg'] = 'image/svg+xml';  
    $mimes['mov'] = 'video/quicktime';  
    return $mimes;
}
add_filter('upload_mimes', 'archi_mime_types');

Thank you

18. What To Do If Demo Content Import Fails

If the import stalls and fails to respond after a few minutes, or it fails with a simple error message like “Import failed,” You are suffering from PHP configuration limits that are set too low to complete the process. You should contact your web host and ask them to increase those limits to a minimum as follows:

You can verify your PHP configuration limits by installing a simple plugin found here. And you can also check your PHP error logs to see the exact error being returned.

Also if possible update your PHP version to 7.4 or higher.

After doing this you can reset your database using the WordPress Reset Plugin and try to re-import the demo data ( WARNING : Reset the database will make you lost all the data of your current wordpress )

If you still have problem your web host may uses process watching software that prevents bulk processing on their web servers.

If you have problem please submit a ticket and we will help you to import the demo.

19. Installing a WordPress Theme Using the Upload Method

Installing a WordPress Theme Using the Upload Method

If you have found a premium or custom theme from a third-party, you can easily upload it using the WordPress dashboard with just a few steps:

1. Ensure you have the .zip file for the theme you want.

First, download the .zip file you bought in the theme marketplace or commercial provider.

2. Navigate to Appearance > Themes.

Then, log in to your WordPress account and go to Appearance in the menu on the left of the dashboard and select Themes.

how to install a wordpress theme

3. On the themes page, select Add New at the top of the page.

How to Install and Setup a WordPress Theme (Complete Guide for 2021)

4. After clicking on the Add New button, select the Upload Theme button.

how to upload wordpress theme

5. Upload and install the file.

After selecting Upload Theme, click Choose File. Select the theme .zip folder you've downloaded, then click Install Now.

how to upload zip of theme

6. Click Activate once complete.

After clicking Install, a message will appear that the theme installation was successful. Click Activate to make the theme live on your website.

how to install wordpress themes

20. Translate the WordPress Theme use the Loco Translate Plugin !!!

Hi Everyone, 

Please watch video tutorial, how to use the Loco Translate to translate your theme in your language: 

Use Loco Translate plugin to translate your website into your language: https://wordpress.org/plugins/loco-translate/

Best regards,

OceanThemes Team !

21. How to add www urls in wordpress?

Hi,

Please read more: https://pagely.com/blog/www-not-www-add-www-urls-wordpress/

Thank you

22. How to Update Plugin Included?

In order to update the plugins included in the theme you need to:

Way I, Update plugins via update new theme:

1, Install the latest version of the theme.

2, In WordPress Admin Panel => go to Plugins => Deactivate and Delete all the premium plugins, e.g : WPBakery Visual Composer, Slider Revolution, LayerSlider WP, etc...

3, In WordPress Admin Panel => go to Appearance > Install Plugins and re-install all the premium plugins.

Way II, Update plugins, but don't want update new theme:

If you don't want to update the theme but want to update the plugins.

1, Re-download the newest version of the theme from themeforest, click download button and chooise "All files & Documentation".

2, Unzip theme package .zip file to a folder and find in theme package has a folder plugins.

3, In WordPress Admin Panel => go to Plugins => Deactivate and Delete all the premium plugins, e.g : WPBakery Visual Composer, Slider Revolution, LayerSlider WP, etc...

4, In WordPress Admin Panel => go to Plugins => Add New => Upload Plugin => Install and Active plugins.


=> If you still need help with updating the plugins please create a ticket under category of your theme use.

23. Difference between HTML Templates and WordPress Themes

These days we have so many options for building a website that it’s naturally to get lost in these web jungles, especially if you are a beginner or a newcomer. Today’s post is addressed for all who are misunderstanding HTML with WordPress and need to know the clear difference between these two terms. We will shed some light on this issue and help you to choose which option is right for you.

Here is the list of the main distinctive features between WordPress and HTML:

1. The main definition

WordPress is a free CMS (Content Management System) which allows you to build a website or blog based on its structure. WordPress is using a template-based format, so you can easy set a ready-made theme and add your content by using drag and drop features. In the previous blog entry, we were considering the most frequently asked questions by WordPress beginners to help you figure out the basic features of this publishing platform.

HTML stands for Hypertext Markup Language, in other words it is a programming code which allows you to display information on a page. You need to use HTML tags to format different parts of the document (headings, paragraphs, images, etc.). But before working with HTML, you must learn how to edit HTML code. It’s not very complicated, but still you need to know how to do it. Otherwise, you can create HTML pages using Dreamweaver platform or any other HTML editor. The easiest way to work with HTML is getting a ready-made template and just make some light customization tweaks to set your original content.

2. Practical usage

WordPress is used by millions of people as the platform for websites’ running and blogging activity, perfectly serving both types of the websites.

HTML is used mostly for various websites, providing great capabilities either for business, personal or creative web projects.

3. Source

WordPress is an open source platform which is developed by community. It means that anybody can modify this CMS by developing various additions (plugins, themes) which you can implement into your own site.

As for HTML, it is a closed source, meaning only you or coder can make any necessary changes to the code.

4. Theme or template

Only WordPress files are called themes and can be managed through the WordPress admin panel. A theme consists of the pages, they are stored in a single database and linked together, so you can make any style changes with just a few simple clicks.

Design which is based on HTML technology is called template and it can be edited in any HTML editor. HTML template can not be installed in a WordPress site as it doesn’t have WP Content Management System in its structure.

5. Software requirements

Before purchasing any design for your future website, please pay attention to the software requirements. For example, in our site you can see all necessary information on the right of the template, near the Live demo. In this way you can check if the presented design is running on WordPress or HTML.

6. Limitations in design

Speaking about design opportunities, WordPress includes modules which can be used in specific places on a page. You have a lot of opportunities to implement your creative ideas, but still you need to follow this structure for making the right customization.

Working with HTML, website’s design is limited only by your imagination and the level of your programming skills.

7. Updates

If you want to make the updates yourself, with WordPress you need to log in and make text or image updates easily.

As for HTML site, you need to use HTML editor to make any updates. If you are using another computer, the required editor must be downloaded, so you can do all necessary modifications in your site.

8. Frequency of updates

If you need to do updates constantly, being able to add fresh content into your database, then WordPress option will suit for the best.

But if you are planning to update your website just a few times a year, it makes sense to go with HTML version.

9. SEO

SEO-friendly WordPress site requires the appropriate page structure as well as using some SEO plugins to maximize natural search exposure.

Dealing with HTML, you need to pay attention to the page construction and tags during construction, so your website will be SEO-optimized.

10. Flexible layout

This valuable feature can be built either in WordPress theme or HTML template. In this way, Responsive WordPress theme can be adjusted to any screen resolution, providing you and your visitors with the great user experience.

Some HTML templates have responsive layout in their structure, but you need to check this option in the list of the features or just test it on your mobile phone. Most of HTML templates which comes with responsive layout are called Bootstrap templates.

As for OceanThemes, we can offer you our constantly growing collections of WordpPress Themes with responsive layout, Bootstrap Templates which have Bootstrap framework in their structure to make your website adaptive for any device and also HTML Templates with quality designs and great capabilities.

To give you a quick look of our templates, we would like to showcase some of the latest:

24. How to add "Products" into WooCommerce Breadcrumb?

Hello,

Default WooCommerce Breadcrumb: Home -> Products Category -> Product


Settings to WooCommerce Breadcrumb: Home -> Products -> Products Category -> Product


 1, Create a "Products" page by go to Pages -> Add New:


2, Set "Products" page is Archive product page by go to WooCommerce -> Settings -> Products -> Display:


3, Settings Permalinks for products and breadcrumb by go to -> Settings -> Permalinks -> Product permalinks:


You may also be interested in WooCommerce Snippets: http://www.wpexplorer.com/best-woocommerce-snippets-wordpress/

Thank you

25. How to submit a ticket

Hello,

Please do follow step by step and not need add purchased code.

1, In this page : https://oceanthemes.ticksy.com/submit/ and choose category (Choose the theme name you are using):


2, Sign In by your Envato account or ThemeForest account (Login by the same account you used to buy wordpress themes):




2a, If you has Sign In your Envato account or ThemeForest account, please click button approve:


3, After complete all steps and you can start submit a ticket to get best support from our support team.

Thank you


26. How to setup for user register on website using WooComerce?

Hi,

1, In Backend -> Settings -> General -> http://prntscr.com/l7sf42 -> Save Changes

2, In Backend -> WooCommerce -> Accounts & Privacy -> http://prntscr.com/l7seiv -> Save Changes

Thank you

27. Support expired and how to purchase support renewal?

Hello,

Please buy extended support to continue receive support from us.

1, Go to your link the theme on themeforest: https://themeforest.net/item/archi-interior-design-wordpress-theme/12649286

2, See on the right side of the item page: 

3, Click on button "Renew support" to buy a extended support for your WordPress Theme.

4, Complete your payment.

Thank you for purchasing the extended support package and after the purchase, you can continue to request support from us on this support system.

28. Plugins Licenses

How do licenses work for any plugins that are bundled with the theme I bought?

Please read more: https://help.market.envato.com/hc/en-us/articles/115005593643-How-do-licenses-work-for-any-plugins-that-are-bundled-with-the-theme-I-bought

You can ignore all the warning about "update" or "authorize this site".

We will update the theme with the newest plugins version every time we update the theme.

The plugins are only included in the theme, we can't share our licenses to our customers, if you want to activate the auto update of the plugins or get premium support for each plugins you will need to buy a license from themeforest.

Do not hesitate to contact us if you need more information.

Regards

29. Add custom class in column, row, any element and style css for custom class?

Hi,

1, Add custom class in row or column or any element has support input "extra class name":

- in column: http://prntscr.com/msvqh0

- in row: http://prntscr.com/msvpsn

2, Add custom style css for custom class:

- For Redux Framework - Theme Options: http://prntscr.com/msvosq

- For Kirki Customize - WordPress Customizer: http://prntscr.com/msvpgm

3, Also, you add CSS Media Queries for custom css:

https://www.w3schools.com/css/css3_mediaqueries_ex.asp

Thank you

30. How to translate the theme with Loco Translate plugin?

Hi,

1a, Setting WordPress in your language: Admin page to Settings > General > Site Language and select from the list of available languages.

1b, Download installation and active Loco Translate plugin: https://wordpress.org/plugins/loco-translate/

2, In Admin page -> Loco Translate -> Themes -> Translate your theme: 

3, Create new language (your language):

4, Choose language you want to translate into:

5, Loco Translate plugin will automatically generate your language file and save it in the languages folder in your theme ( wp-content/themes/archi/languages/ ):

6, Translate text in default language (English) in your language:

7, Results after translation:

7a, BackEnd:

7b, FrontEnd (comment box on single post): 

You may also be interested, translate the custom post type plugins with Loco Translate plugin: 

Thank you

31. How do I change Google Map API Key for website?

Beginning July 2018, Google has changed its policy of using the Google Map API Key, which is beyond our control: https://cloud.google.com/maps-platform/pricing/sheet/

1, When your Google map is no longer working: http://prntscr.com/k8qosr
2, Create your Gmap API key here: https://developers.google.com/maps/documentation/javascript/get-api-key
3, Login to your website admin page -> theme option to add a Google API key for your website.

3a, For theme option: Theme-name Options -> Miscellaneous Settings : http://prntscr.com/k8qpqe

3b, For customizer: Appearance -> Customize -> Miscellaneous: http://prntscr.com/k8qu61

32. Instagram Feed Setup?

How to setting Instagram Feeds?

1, How to find Instagram User ID?

Please enter your username to find User ID: https://codeofaninja.com/tools/find-instagram-user-id

2, How to find Instagram Client ID and AccessToken?

Please read more guide: https://elfsight.com/blog/2016/05/how-to-get-instagram-access-token/

33. Hosting Requirements to running WordPress Theme.

To run WordPress we recommend your host supports:

Please make sure  that you are running version WordPress 4.9.x or higher version, version PHP 5.6 or higher version and version MySQL 5.6 or higher  version(for legal environments also needing versions  PHP 5.6 will work well, but it is recommended to be on at least version PHP 5.7). We have tested it with  many OSs such as MAC, Windows and Linux... Below is a list of items you should ensure that your host can comply with them. 

Hosting is more secure when PHP applications, like WordPress which is runing use your account’s username instead of the server’s default shared username (www or www-data). The most common way for hosting companies to do this is use suPHP. Just ask your potential host if they run suPHP or something similar. 

Ask for it

Here’s a letter you can send to your hosting provider; copy and paste!

I'm interested in running the open-source WordPress <https: wordpress.org=""></https:> web software and I was wondering if my account supported the following:
PHP 7 or greater
MySQL 5.6 or greater OR MariaDB 10.0 or greater
The mod_rewrite Apache module
Thanks!


Recommended PHP Configuration Limits:

There are many issues you may run into such as white screen, demo content fails when importing, empty page content with Visual Composer and other similar issues are all related to low PHP configuration limits. The solution is given to increase the PHP limits. You can do this on your own, or contact your web hosting and ask them to increase those limits to a minimum need as follows



34. How to change another demo?

Hi,

* How to change another demo and delete the existing demo version on the site?

Step 1, The first, You need to installation and active this plugin for your website: https://wordpress.org/plugins/wp-reset/


Step 2,  Reset old demo data by go to Tools -> Reset -> enter "reset" text -> click reset button: 


Step 3, Re-active the theme and all required plugins: 

- Go to Appearance -> Themes -> Active the theme

- Go to Appearance -> Install Plugins -> Active all plugins


Step 4, Start importing the new demo version you want

=> Please make sure you have deleted the "WordPress Impoter" plugin (If you have installed) before import demo: http://prntscr.com/n4g4tl

Thank you

35. Increase the PHP Time Limit

The PHP Time Limit refers to the amount of time (in seconds) that your site will spend on a single operation before timing out (to avoid server lockups). To prevent the importing process from timing out, the value needs to be increased. 300 (seconds) should be enough for processing the import file.

(Beginner) Ask your hosting company to increase it

The easiest way is to reach out to your hosting company and ask them to increase the max_execution_time to 300.

(Advanced) Increase the Max Execution Time via php.ini

Connect to your server via FTP and find or create the php.ini file. The following line must be added to it:

max_execution_time = 300;

(Advanced) Increase the Max Execution Time via .htaccess

Connect to your server via FTP and find the .htaccess file and add the following line:

php_value max_execution_time 300

36. Add custom fonts for WordPress Website?

Hi,

We have some solution to resolved for your problems.

1, Use this plugin to add custom fonts for your website: https://wordpress.org/plugins/use-any-font/

2, Read more tutorials guide: https://www.wpbeginner.com/wp-themes/how-to-add-custom-fonts-in-wordpress/

Best Regards,

OceanThemes

37. How to enable pinch zoom on website for mobile devices?

Hi,

You can change meta tag on to header.php file: http://prntscr.com/np687q

From: 

 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

To:

<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=12.0, minimum-scale=.25, user-scalable=yes">

Thank you

38. How to update the theme?

*********** To update the theme you have two choices: ************

1, Automatically update the theme when a new version is released:

Way 1: Use Envato Market Plugin :

Read more: http://www.wpexplorer.com/envato-market-plugin-guide/

Way 2: Use the Envato WordPress Toolkit plugin :

Read more: http://www.wpexplorer.com/envato-wordpress-toolkit-guide/

2. Update theme manually via FTP or WordPress Admin Panel :

1, Re-download the theme package from https://themeforest.net/downloads
2, Download "Installable WordPress file only" : 

3, Extract the theme package. ZIP file to a folder of the theme name. 

4, Upload theme via WordPress dashboard:

  1. Go to Appearance → Themes → Add New.
  2. Upload the zip file of the latest version of your current theme. For example, you can update the Twenty Twenty-Two theme by uploading a new copy downloaded from WordPress.org.
  3. Click Replace active with uploaded when prompted.


----------------------------------------------------------------------------------------------------------------------------

=> Do not hesitate to submit a ticket if you have more questions or issues or need help!

39. Troubleshooting the Demo Content Import?

Hi All,

I've heard from a couple of users having issues during the demo-content import process and I wanted to help out by providing some usable information and steps that you can follow. 

Note: This does fall beyond our scope of support, though, so if you are still having issues after this article - please touch base with your hosting service since they are going to be the experts of your setup/server conditions. If they provide some feedback for the theme, please let me know. 

Most of the time, this is a simple WordPress or setup limitation and there are a couple things that you can do to troubleshoot this process.

Here are some variables to consider when troubleshooting this:

Check your PHP version and other WP specific requirements:

00 - The very first thing that you'll want to do is confirm that your setup is ready with the basic WP requirements: https://wordpress.org/about/requirements/

You might also consider a plugin like "WordPress phpinfo{}" to view your configuration details.

Fixing/Increasing WordPress/Server Limitations

01 - Touch base with hosting: Different servers/hosting services place standard limitations on WordPress setups/users. These are normal and easily increased by either touching base with you're hosting service, or by doing it manually. If you do want to touch base with you're hosting service, they should also be able to provide you with an error log and provide some additional insight as to why this is occurring for you.

02 - Fixing/Increasing Limitations: From there, the manual option is pretty easy, but can be intimidating if you're not familiar with the workflow.

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

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

; Increase maximum post size post_max_size = 64M
; Increase execution time
max_execution_time = 300
memory_limit = 99M
upload_max_filesize = 64M
php_value memory_limit 256M
php_value upload_max_filesize 256M
php_value post_max_size 256M
php_value max_execution_time 300
php_value max_input_time 300
@ini_set( 'upload_max_size' , '64M' );
@ini_set( 'post_max_size', '64M');
@ini_set( 'max_execution_time', '300' );

But usually the culprit is limited to one of these options.


The WordPress Importer

There are many of us out there that wish that there was a better import method/plugin than the WordPress Importer because of the various bugs that it has at the time of posting this. With that said, it does do the job eventually and is the best alternative out there right now.

01 - Error Log: If you are seeing a list of errors provided after the import, this is totally normal. There are various reasons for each of these "failed to import" messages, but nothing that would indicate a major error. Most of the time, this is just because the content already exists.

In another example, if a plugin isn't active (that the content being imported uses) it will also display an "error" message - since the content can't be added to a deactivated/uninstalled plugin. - ie. Contact Form 7 plugin has content demo imported at this stage.

Also, if the first import doesn't import everything, then during the next import - all duplicate items would display the "failed to import".

02 - Duplicates: Simply put, uploading the xml file even 10 times won't hurt anything. You can't upload duplicate posts, pages, images, etc. (you'll see an error message for each when importing the xml if they already exist). 

That said, duplicates menus will be added in Appearance > Menus, but that's easy to fix > Just delete all entire menus, and do one last import. Menus, as of this post, are the only items that are duplicated during multiple imports.

40. How to Upload WordPress Theme

A common issue that can occur when installing a WordPress themes is “The package could not be installed. The theme is missing the style.css stylesheet.” error message being displayed when uploading or activating the theme.

One of the reasons you may receive this error is if you have uploaded the incorrect file. You have 2 options for downloading your theme.

1. Installable WordPress file only. (below)

2. All files and documentation (full zip folder). You will need to extract and locate the installable WordPress file. (below)


Please make sure you are uploading only the installable theme which is called Name Of theme-name.zip. If you upload ALL these files you will receive an error.

Way 1: Upload the theme via WordPress admin panel

Way 2: Upload the theme via FTP