How to Add One-Click Login With Google in WordPress

Source: https://www.wpbeginner.com/plugins/how-t…google-in-wordpress/
Capture Date: 16.09.2018 23:07:02

Last updated on July 30th, 2018 by

Do you want to add one-click login with Google to your WordPress site? Allowing users to login with their Gmail account saves them time because they wouldn’t have to remember their WordPress username and password. In this article, we will share how to easily add one-click Google login in WordPress.

How to add one-click login with Google in WordPress

Why You Should Add One-Click Google Login in WordPress?

Most internet users remain logged in to their Google accounts. This allows them to quickly access all Google apps like Gmail, Drive, Docs, Photos, and more without signing in separately for each app.

Having one-click Google login activated on your WordPress login page allows your users to quickly sign-in to your website using their Gmail account. It saves them time, and they wouldn’t have to enter their login credentials each time.

If your organization uses GSuite for professional business email addresses, then your team members can use your organization’s Google apps accounts for login.

If you run a simple WordPress blog, then you might not find this feature useful. However single sign-on feature like one-click Google login is very helpful for any websites that require users to login such as multi-author websites, membership websites, and websites selling online courses.

That being said, let’s take a look on how to easily add one-click login with Google to your WordPress website.

Adding One-Click Gmail Login in WordPress

First thing you need to do is install and activate the Google Apps Login plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, you need to go to Settings » Google Apps Login page in your WordPress admin area. Under the Main Setup tab, you’ll need to add Client ID and Client Secret code.

Apps login settings page

To get these details, you need to visit Google Developers Console. If you are not already logged in, then you will be asked to login with your Google account.

Next, you need to click on Start a project from the top menu. It will open a popup where you would click on New Project button to continue.

New project

Now, you need to add a project name and select the location. Project name can be anything, and Location will be your organization’s domain name (example.com). If you are logged in with your company’s Google account or your GSuite account, then it will add the location and organization automatically.

Project, location, and organization name

However, if you are creating a project from your personal Google account, then you can leave the location with No Organization selected.

Project name and location

Next, click on the Create button to continue.

You’ll now be redirected to APIs & Services dashboard. On this page, you need to click on Credentials from the left menu and go to OAuth consent screen page.

In the Email Address field, you need to add your email address that you have used to create this project. Also you need to add your website URL in the Homepage URL field and click on the Save button.

OAuth consent screen

After that, it will take you to the Credentials page again. Go ahead and click on the Create Credentials button to select OAuth client ID option.

OAuth client ID

Next, you need to select Web application as an Application type. In the Authorised JavaScript origins field, you need to enter your website URL (http://www.example.com), and add WordPress login page URL (http://www.example.com/wp-login.php) in the Authorised redirect URLs field.

Web application type

After that click on the Create button, and you’ll see your Client ID and Client Secret information in a popup.

Client ID and Client secret

You need to copy and paste these keys on the plugin’s settings page in your WordPress admin area.

Add client ID and client secret in WordPress

After that, you can simply logout from your WordPress admin account, and you’ll see a Login with Google button on your login screen.

Login with Google

Clicking on the button allows you to login with one-click into your WordPress account. However, keep in mind that users can only login with the Google account address that they have used on your website.

We hope this article helped you learn how to add one-click login with Google in WordPress. You may also want to see our guide on how to create a login popup modal in WordPress, and how to create a custom user registration form in WordPress.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

How to Do Keyword Research for Your WordPress Blog

Source: https://www.wpbeginner.com/beginners-gui…your-wordpress-blog/
Capture Date: 16.09.2018 22:49:28

We are often asked by our users how to do keyword research for their WordPress blogs. Keyword research helps you find betters content ideas that will help you grow traffic and create highly engaging content that users will love. In this article, we will show you how to properly do keyword research for your WordPress blog.

How to do keyword research for your WordPress blog

What is Keyword Research and Why You Need it?

Keyword research is a research technique used by content creators and SEO experts. It helps you discover words users enter into search engines to find content, products, and services in your industry.

You can then use those words and phrases into your website to get more search traffic.

Many beginners assume that they have a clear idea of what their users are looking for. However, you don’t need to make educated guesses when there are powerful tools available that can help you make data-driven decisions.

Properly using keyword research as a part of your content strategy can help you achieve the following:

  • Find the popular keywords your users are actually looking for
  • Find content ideas that are easy to rank for and have decent search volume
  • Find out what your competitors are doing and then beat them to it with a better content strategy
  • Get more search traffic and grow your audience with each new article

That being said, let’s take a look at how to properly do keyword research for your WordPress blog and boost your search traffic.

We have hand-picked the best keyword research tools that we have personally used for our own projects. We will show you each one of them and how to properly use them to do your own keyword research like a pro.

1. SEMRush

SEMRush

SEMRush is one of the best SEO Tools on the market. It is the complete SEO suite with tools to perform organic research, paid advertising research, keyword research, and in-depth competition analysis.

To get started, simply go to SEMRush website and enter a keyword or your website URL.

SEMRush keyword research overview

You will see an overview of the keyword you entered showing search volume (number of average searches), CPC for paid advertising, and number of search results.

Scroll down a little and you will see an overview of keywords matches and related keywords. You can click on the view full report button to explore the complete lists or export them to a CSV file.

Related keywords

Scroll down further and you will see the list of top search results for the keyword you entered. You can click on each of these links to view full report which will help you understand why these pages rank for these keywords.

You can also use their new ‘Keyword Magic Tool’ which gives you faster access to broader keyword research on related terms. You can click on the add button next to a keyword to add them into keyword analyzer.

Keyword magic tool

Once you have figured out the best keywords with highest search volume, the next step would be to analyze competition for those keywords. Click on the links already ranking for those keywords to see a detailed analysis.

Keyword competition analysis

You will be able to see the backlinks for that particular URL, other keywords that page rank for, and how much search traffic it gets.

Overall, SEMRush is the best keyword research tool on the market. It not only gives you keyword ideas, it also helps you find out how you can rank for those keywords.

2. Ahrefs

Ahrefs

Ahrefs is one of the most powerful keyword research tools on the market. It helps you learn why your competitors are ranking so high, and what you need to do to outrank them in search results.

Ahrefs crawls more than 6 billion pages every day, with over 12 trillion links in their index from 200+ million domain names. That’s a lot of data, but the real beauty is how their platform helps you use this data to your advantage.

It has an intuitive user interface which breaks down all the data into different sections. Simply enter a domain name in the search field and Ahrefs will pull a wealth of information in an easy to understand format.

Ahrefs reporting overview

It will show you an overview of the results with the total number of backlinks, referring domains, organic keywords, and content review. You can click on any of these sections to drill down further.

Click on ‘Organic Keywords’ report and Ahrefs will show you a list of keywords for the domain name with search volume, search rank, URL, and more.

Ahrefs organic keywords report

You can also generate keyword ideas by entering keywords in the search box. Ahrefs’ keyword explorer tool will generate a list of keyword suggestions with search volume, difficulty score, and clicks.

Ahrefs also comes with powerful tools for content analysis, rank tracking, web monitoring, and more. You can export all reports in CSV or PDF format and then work on them in your favorite spreadsheet software.

3. AnswerThePublic

AnswerThePublic

AnswerThePublic is a free visual keyword research and content ideas tool. It utilizes Google and Bing’s auto-suggest feature and presents the data in a more understandable visual format.

Simply visit the website and enter a keyword or phrase. The tool will then load keywords and present them into visual maps. Reports are divided into questions, prepositions, comparisons, alphabetical, and related keywords.

Keyword visualization

You can click on any keyword and it will show Google search results in a new browser tab. This allows you to quickly view the questions people are searching for, and how you can answer them with relevant content.

All keyword research is presented on a single page. You can download the data in visual format as images or export them to a CSV file and use with your preferred spreadsheet software.

Download keyword research data

More Keyword Research Tips

All the above-mentioned tools will provide you a treasure trove of data. Here are some more tips on how to narrow down your keyword research and find the most profitable ideas.

  • Start your keyword research with broader keywords and then narrow it down to find keywords with low competition and more search volume.
  • Enter your own URL in SEMRush or Ahrefs to see your own keyword performance and then compare it with your competitors.
  • Focus on finding keywords that answer your customer’s questions and help them make a buying decision.
  • Don’t limit your keyword research to most searched keywords. You can easily rank for longer keywords and build upon that.

How to apply keyword research in your business or blog?

The main goal of keyword research is to find out what your customers are looking for and then rank for those keywords in search results. There are multiple ways to do that depending on your content strategy.

  • Plan a proper content marketing strategy around your new keyword research
  • Create useful content articles, blog posts, infographics, videos, and more using those keywords.
  • Business websites can create landing pages, documentation, FAQs and other content targeting new keywords
  • If you run an online store, then you can use those keywords in your product titles, descriptions, product categories, and more.

Need help creating engaging content? Check out our expert pick of the best content marketing tools and plugins.

How do I track the performance of my keyword research?

First, you need to sign up for Google Search Console. It provides you insights into how Google views your website. You will also be able to see keywords you rank for, and average position in search results.

Google Search Console

You will also need Google Analytics to track the performance of your content. MonsterInsights is the easiest way to install Google Analytics in WordPress. It shows you top content in your WordPress dashboard and enables you to track user engagement on your website.

We hope this article helped you learn how to do keyword research for your WordPress blog. You may also want to see ultimate step by step WordPress SEO guide for beginners.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

How to Enable Customer Tracking in WooCommerce with Google Analytics

Source: https://www.wpbeginner.com/plugins/how-t…th-google-analytics/
Capture Date: 16.09.2018 22:32:51

Do you want to enable customer tracking in WooCommerce? Customer tracking allows you to offer a personalized shopping experience based on customer behavior in your eCommerce store. In this article, we will show you how to easily enable customer tracking in WooCommerce with Google Analytics.

Enabling customer tracking in WooCommerce with Google Analytics

Why Enable Customer Tracking in WooCommerce with Google Analytics?

Google Analytics allows you to see where your visitors are coming from and what they do on your website. In other words, it helps you track your traffic sources as well as user engagement on your website.

For eCommerce platforms, Google Analytics offer an enhanced eCommerce tracking feature. Enabling this feature helps you unlock the following reports:

  • Shopping Behavior
  • Checkout Behavior
  • Product Lists Performance
  • Sales Performance

Google Analytics can even associate these reports to individual customers by assigning them a unique ID.

However, the problem is that the ID assigned by Google Analytics doesn’t accurately give you information about the user. For example, the same user can use your website from another device and Google Analytics will give them a new ID.

By default, a WooCommerce store allows your customers to create an account or checkout as a guest user. Creating an account helps the user save their shipping and billing information for faster checkout next time. It also helps you offer customers a personalized shopping experience based on their browsing and shopping history.

Wouldn’t it be great if you could track logged in users with their user IDs in Google Analytics? This will give you access to a treasure trove of information and insights on customer behavior which you can use to offer better on-site experience and boost your sales.

Let’s take a look at how to easily enable customer tracking in WooCommerce.

Step 1. Set up Ecommerce Tracking in WordPress with Google Analytics

First, you will need to install and activate the MonsterInsights plugin. For more details, see our step by step guide on how to install a WordPress plugin.

You will need to be on the “Pro” plan to access the eCommerce addon, which we will need for this tutorial.

Upon activation, you will need to connect MonsterInsights to your Google Analytics account. For detailed instructions, see our article on how to install Google Analytics in WordPress.

After that, you need to visit Insights » Addons page and install ‘MonsterInsights Ecommerce’ addon. Once installed, click on the activate button to start using it.

Install eCommerce addon for MonsterInsights

Next you need to visit Insights » Settings page and click on the ‘Tracking’ tab. First, you need to click on the ‘eCommerce’ tab and check the box next to ‘Enhanced eCommerce’.

Turn on enhanced eCommerce tracking in MonsterInsights

After that, you need to click on the ‘Demographics’ tab and check ‘Enable user ID Tracking’ option.

Enable user ID tracking in MonsterInsights

Don’t forget to click on the ‘Save changes’ button to store your settings.

Step 2. Enable Enhanced Ecommerce Tracking in Google Analytics

E-commerce tracking is not enabled by default in your Google Analytics account, and you will have to manually enable it. Head over to your Google Analytics account dashboard and switch to the admin page.

Swith to admin page in Google Analytics dashboard

Next, you need to click on the ‘Ecommerce Settings’.

Ecommerce settings

On the settings page, click the slider under the first step, Enable Ecommerce, to turn it on. You need to click on the Next Step button to continue.

Enable ecommerce and continue

In the next step, you need to turn on ‘Enhanced Ecommerce Settings’ and click on the submit button to save your changes.

Enhanced ecommerce

Now your Google Analytics account will start showing enhanced eCommerce reports for your WooCommerce store.

Step 3. Enabling Customer Tracking in Google Analytics

Enhanced eCommerce tracking will enable eCommerce reporting features for your WooCommerce store. However, it does not enable user tracking by default.

Let’s change this.

To enable individual customer tracking, you need to visit your Google Analytics account dashboard and open the admin page.

Swith to admin page in Google Analytics dashboard

Now click on the Tracking Info link under property column to expand the submenu, and click the User-ID link that appears below.

Tracking info

On the next page, you’ll have to review and agree to user-ID policy and then turn it on.

Turn on user ID tracking

Click on the ‘Next step’ button to continue.

Google Analytics will now ask how you would like to configure the user-ID tracking. Since you’ll be using MonsterInsights to take care of this, you can just click on the ‘Next step’ button to continue.

setting up user ID tracking

Next, you need to click on the ‘Create’ button to enable user ID tracking.

Create user ID tracking

After that, you will be asked to enter a ‘Reporting View Name’, which will be used to display User ID reports. We recommend including UserID in the name, so it is easy to remember which view has UserID tracking enabled.

Reporting view name

Now you just need to scroll down to the bottom and click on ‘Create view’ button to save it.

Create reporting view

Step 4. Viewing Customer Tracking Reports in Google Analytics

Now that everything is set up, Google Analytics will now track all your website customers. It will also be able to track logged in users with their unique WordPress user ID.

To view all your individual customer activity, you can go to your Google Analytics account and click on Audience » User Explorer menu.

You will see individual customer reports with a unique ID assigned to all non-logged in users.

All users tracked by Google Analytics

To view customer tracking report for logged in users in WooCommerce, you need to click on Google Analytics logo on the top left corner of the screen.

All accounts view in Google Analytics

This will show all your Google Analytics profile. You will see your website profile and under ‘All website data’ you will see UserID reporting view you created earlier.

User ID reporting view

Click on UserID reporting view to load it.

Once it’s loaded, you need to click on Audience » User Explorer menu, and you will see logged in customer tracking report where each user is represented by their WordPress user ID on your website.

Logged in customer reporting view

You can click on user ID to view a customer’s individual tracking data.

Individual customer data

This report gives you a user ID from your WordPress site. You still don’t know who this customer is, and how you can create personalized offers, emails, or shopping experience for them.

Let’s find out.

Step 5. Matching Customer Tracking with Their WordPress Accounts

First, you need to note down the customer ID you see in your UserID reporting view.

After that go to your WordPress website’s admin area and click on the ‘Users’ menu. It will show you a list of all users on your WordPress site.

Edit a user account in WooCommerce

Click on the ‘Edit User’ link below any username in the list. WordPress will now open the user profile for you, and if you look in your browsers address bar you will user_id parameter in the URL.

User ID in WordPress

Now you need to replace the value next to user_id with the one you copied from your Google Analytics report and press enter key on your keyboard.

WordPress will now load the user profile associated with that particular User ID. You now have the customer’s name, username, email address, and social media information. You can also track their orders, product views, cart activity, and more.

We hope this article helped you learn how to enable customer tracking in WooCommerce with Google Analytics. You may also want to see our expert pick of best free WooCommerce plugins for your online store.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

7 .htaccess Rules That Every WordPress User Should Know

Source: https://www.maketecheasier.com/htaccess-…ed%3A+maketecheasier
Capture Date: 28.03.2018 22:28:17

If you are hosting your site on an Apache server, you will come across the Hypertext Access file or “.htaccess” for short. This file allows you to create rules and control file and folder access in the root and subdirectories. In fact, if you open the .htaccess file located in the WordPress root directory, you will see a code snippet related to WordPress permalink settings. However, you can do so much more with this file. Here are seven of the best .htaccess rules that every WordPress user should know and implement.

Note:
1. Unless otherwise stated, all the code snippets shared below should be added to the .htaccess file located in the root directory of your website.

2. Before making any changes, make sure that you have a good backup of the file so that you can restore it if anything goes wrong.

1. Disable Directory Browsing in WordPress

Disabling the directory browsing is one of the first things you should do when you install WordPress. If the directory browsing is enabled, it exposes your directories and lets any site visitor browse through tEm. Though some web hosts disable it by default, most of them leave it enabled. To disable directory browsing, all you have to do is add the following code in your .htaccess file.

#Disable directory browsing Options All -Indexes

wp-htaccess-tips-directory-browsing

2. Create 301 Redirects

There are many plugins for WordPress that let you redirect URLs however you want. But if you are looking to redirect just a couple of URLs, then you don’t have to use a dedicated plugin; all you have to do is use a code snippet like the one below. Don’t forget to replace the URLs according to your needs.

#Create 301 redirects Redirect 301 /oldpage.html http://example.com/newpage.html

3. Enable Browser Caching

Using .htaccess files, you can also enable browser caching which allows your website to load faster for returning visitors. To enable browser caching, all you have to do is add the below code snippet to your .htaccess file.

#Enable browser caching <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg "access 1 year" ExpiresByType image/jpeg "access 1 year" ExpiresByType image/gif "access 1 year" ExpiresByType image/png "access 1 year" ExpiresByType text/css "access 1 month" ExpiresByType application/pdf "access 1 month" ExpiresByType text/x-javascript "access 1 month" ExpiresByType application/x-shockwave-flash "access 1 month" ExpiresByType image/x-icon "access 1 year" ExpiresDefault "access 2 days" </IfModule>

4. Enable Maintenance Page When Needed

If you are doing some quick maintenance on your website or if your website is broken for some reason, then using a fancy maintenance plugin may not be a good choice. In those situations, create a HTML page with a simple maintenance message, upload it to your root directory and use the code snippet below to redirect your site visitors to the maintenance page. Don’t forget to replace “maintenance.html” with whatever file name you’ve chosen.

#Enable maintenance mode RewriteEngine on RewriteCond %{REQUEST_URI} !/maintenance.html$ RewriteCond %{REMOTE_ADDR} !^123.123.123.123 RewriteRule $ /maintenance.html [R=302,L]

wp-htaccess-tips-maintenance

5. Restrict Access to Admin Area

If you are the only user on your WordPress site, then preventing others from accessing your admin area can help you increase your site security. To restrict others from accessing the admin area, simply use the code snippet below. Replace 192.168.0.1 with your actual IP address. As you can see, you can also add multiple IP addresses if you want.

#Restrict wp-login.php <Files wp-login.php> Order Deny, Allow Deny from All Allow from 192.168.0.1 Allow from xxx.xxx.x.x </Files>

wp-htaccess-tips-protect-admin-area

6. Ban an IP Address

If you are seeing a lot of suspicious activity from a particular IP address, then you can easily ban it using the .htaccess rules. All you have to do is add the below rule while replacing the IP address with the actual suspicious IP address.

#Ban suspicious IP addresses <Limit GET POST> order allow,deny deny from 192.168.0.1 deny from 192.168.0.2 allow from all </Limit>

7. Protect .htaccess File

Since you can do so much with your .htaccess file, it is important that you protect the file from any and all unauthorized users. To do that, simply add the below code snippet.

#Protect htaccess file <files ~ "^.*.([Hh][Tt][Aa])"> order allow,deny deny from all satisfy all </files>

Conclusion

There are many more things you can add to your .htaccess file, but the seven mentioned above should suffice for now. Do comment below sharing your favorite .htaccess rules and tips.

How to Create a Multilingual WordPress Site with WPML

Source: http://www.wpbeginner.com/plugins/how-to…ress-site-with-wpml/
Capture Date: 19.03.2018 22:09:45

Do you want to make your website available in multiple languages? By default, WordPress does not come with features required to create a proper multilingual site. That’s why in this tutorial, we will show you how to create a multilingual WordPress site with the popular WPML plugin.

Creating multilingual WordPress site with WPML

Why Create a Multilingual WordPress Site Using WPML?

You can use WordPress in any language that you want. It is super easy to create a website in any single language.

Most popular WordPress themes and plugins are also translation ready which makes it easy for anyone in the world to start a WordPress site in their language.

However, by default WordPress can support only one language at a time. What if you wanted to use multiple languages on a site to attact a much wider audience?

Governments, international businesses, and educational institutes often need to offer their website in multiple languages. While machine translations like Google Translate is an option, it’s often not acceptable for most professional organizations.

One way to offer multiple language options is to install WordPress in subdomains for each language. This is a lot of hassle, as you will have to manage updates, and backup all those installations.

WPML (WordPress Multilingual Plugin) solves this problem by allowing your website to become multilingual. You can use the same WordPress installation to create content into many different languages.

It offers an easy to use interface for managing translations. It also adds language switching options for your users.

Having said that, let’s see how you can create a multilingual WordPress website with WPML in minutes.

Creating a Multilingual WordPress Site with WPML

First thing you need to do is install and activate the WPML (WordPress Multi-language) plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Note: WPML is a paid plugin, but it’s by far the most comprehensive option. There is a reason why over 400,000 websites use WPML for creating a multilingual WordPress site.

Upon activation, the plugin will add a new menu item labeled ‘WPML’ in your WordPress menu. Clicking on it for the first time will take you to plugin’s settings wizard.

WPML Setup - Choose primary language

WPML will automatically detect your WordPress site’s language. You can change it here now if you want.

Click on the next button to continue.

On the next screen, you will be asked to select the languages you want to enable on your site. Simply select the languages from the list that you want to add to your site.

Select languages

You can always add or remove languages later if you need. After selecting your site languages, click on the next button.

Now you will be asked to add a language switcher to your site. This language switcher will allow your users to choose a language to view content in their preferred language.

Language switcher

WPML allows you to automatically add content switcher as a sidebar widget, in your navigation menu, or display as a plain list.

Additionally, you can also choose to select flags or text for language switcher. Once you have made the choice, click on the next button.

As the final step, you will be asked to enter your site key. If you have not generated one yet, then you can click on ‘Generate a key for this site’ button.

Register site key to receive automatic updates

This will take you to WPML website, where you will be asked to add the site you are coming from to your WPML account.

Once your site is added, you can click on it to get to your site key. Copy and paste this key into your WordPress site.

That’s all you have successfully finished the WPML setup wizard. You can now click on the Finish button to exit the setup.

Adding Multilingual Content into WordPress with WPML

WPML makes it really easy to translate every area of your WordPress site into multiple languages.

You will be able to easily translate your WordPress posts, pages, tags, categories, and themes into as many languages as you like.

Adding Multilingual Posts and Pages

Simply click on the posts menu to view your existing posts. You will notice the languages columns next to your post titles.

Adding translation for posts

WPML assumes that your existing content is in your site’s primary language. It will show Add buttons for each language next to your posts. Click on the add button under a language to translate a post.

You can also manage translations by editing a post.

On the post edit screen, you will notice the new ‘Language’ meta box to manage translations.

managing translations from post edit screen in WordPress

You can add translated content yourself or you can add users and authors to your WordPress site and have them translate your content for you.

WPML also offers a better way to manage users who work as translators on your website. If you purchase their Multilingual CMS Plan, then you can use their translation management module.

Translation management module allows you to add users as translators regardless of what role they have on your WordPress site. You can even add subscribers as translators.

Adding translators using translator management module

Instead of editing posts, these translators will be able to add translations directly in WPML.

Adding Translations for Categories and Tags

WPML allows you to easily translate categories and tags, or any other custom taxonomies that you may be using.

Visit WPML » Taxonomy Translation and load the custom taxonomies you want to translate.

For example: in this screenshot we selected categories, and it displayed all categories from our example site.

Taxonomy translate

Click on the add button next to the taxonomy term to add the translation.

Translating Navigation Menus

WordPress comes with a robust navigation menu system. WPML allows you to translate it just like you would translate posts or taxonomies.

Visit Appearance » Menus page on your site. If you have more than one menus, then select the menu you want to translate.

In the right hand column, you will see your menu with links to translate into other languages enabled on your site.

Translate Menus in multilingual WordPress

Clicking on a language will create a new menu for that language. You will need to add the same menu items as in your primary language menu.

Translating a navigation menu

If you have your posts and pages in navigation menus, then you will first need to translate them. After that you can add them from the tabs on the left in edit menu screens.

Don’t forget to click on the save button to save your menu.

Translating Themes, Plugins, & Other Text with WPML

WPML multilingual CMS allows you to choose between official translations of themes and plugins or use its own string translator.

Go to WPML » Themes and plugins localization page.

Load locale files for themes and plugins

By default, you will see ‘Don’t use String Translation to translate the theme and plugins’ checked. Below it, you will see another checkbox to automatically load the theme’s .mo file using ‘load_theme_textdomain’.

You can check this box to see if there are any translation files available for your theme. This works only with themes downloaded from the WordPress.org theme directory.

This setting doesn’t work very well for most websites. Not all WordPress themes and plugins have translations available. In some cases the translations are not good or incomplete.

We recommend using WPML’s String Translation module to properly translate your theme and plugins for your own site.

This module will also allow you to translate custom fields, widgets, and other translatable strings generated by WordPress.

We hope this article helped you learn how to create a WordPress multilingual site with WPML. You may also want to see our list of 40 useful tools to manage and grow your WordPress blog.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.