• WP Themes
    • Free Themes
      • Oswald Lite WP Theme
      • MariGold WP Theme
    • Premium Themes
      • Oswald WP Theme
  • WP Tuts
  • WP Reviews
  • WP Hosting
  • Freebies
  • Book a Review
  • Contacts
Home/How to Enable RTL in WordPress
2 shares
How to Enable RTL in WordPress
February 26, 2019 | Tutorials | 0 comments

How to Enable RTL in WordPress

If you are about to create a multilingual WordPress website or you just want to build a site for certain Eastern country users, then RTL support is compulsory. RTL means right-to-left languages which include such as Persian, Arabic, Hebrew, Urdu, and some more.

Most modern premium WordPress themes come with RTL support, so you don’t have to check if this feature is available for your theme. However, if you use a free theme or you want to revamp your existing template to transform it into Eastern website, you should first check if your theme supports RTL.

To make this real, go to your cPanel /wp-content/themes/(your theme name) and find rtl.css file. If this file is available, it seems like your theme really supports RTL. Open a file to make sure it isn’t empty. Now you can start creating your RTL website.

Let’s see how to make this possible.

1. Test RTL

To test RTL in your WordPress install and activate RTL Tester plugin right from your WP dashboard.

After the plugin is activated, you’ll see a ‘Switch to RTL’ option available in your WordPress toolbar.

Just click this option and you will see the right-to-left switched in your dashboard.

Your website’s front-end will also look changed.

2. Enable RTL Support

To make your RTL permanently enabled add the following code into your wp-config.php file:

define (‘WPLANG’, ‘ar’);

Ar refers to Arabic language here. And here is the complete list of ISO language codes (international standard) you can use instead of ar to define the language of your WP theme.

The next step will be as follows: go to Settings -> General -> Site Language and select the required Eastern language from the drop-down list and then click the Save Changes button.

Now you can see the RTL mode enabled in your dashboard. You can translate your theme into the chosen language to create your custom content for your Eastern countries oriented website.

Hope this was helpful,

Melany H.

melany hollywell wpdaddy
wpdaddy

Hi! I’m an experienced writer exploring WordPress for more than 5 years. I’m happy to share my knowledge and ideas with you and I hope you join me.

Cheers,
Melany H.

Share this post:
Related Posts
December 28, 2018

How to Create a Custom Welcome Message in WordPress

If you run an online store or you’ve got a business website and want to engage as many users as possible then it would be great to create a welcome message to gree...
Read this post
May 7, 2017

25 Most Comprehensive Barber Shop, Haircut and Hairdo WordPress Themes

Hair and beauty salons remain the strongest performing businesses among other health care and beauty related ones. Both men and women want to look well-groomed and a...
Read this post
Subscribe to our Newsletter
Never miss out on the latest news, updates and tips. Subscribe now!
Download Revolution Slider Here!
revolution slider image
Categories
  • Art and Culture
  • Blog and Magazine
  • Business
  • Cars and Transport
  • Cleaning and Janitorial
  • Crypto ICO Token Sales
  • Design
  • Directory and Listing
  • Education
  • Entertainment
  • Events
  • Fashion
  • Free Themes
  • Freebies
  • Gutenberg
  • Health and Beauty
  • Hosting
  • Industry and Construction
  • Inspiration
  • Interview
  • Kids
  • Landscape and Gardening
  • Multipurpose
  • Non-Profit and Charity
  • Pets and Animals
  • Photography
  • Plugins
  • Portfolio
  • Real Estate
  • Restaurant
  • Reviews
  • Sports
  • Technology
  • Traveling
  • Tutorials
  • WooCommerce
Popular Posts:
  • Best Face Generators to C...
  • How to Add Video in the S...
  • How to Enlarge Images Whe...
  • How to Center a Shortcode...
  • How to Fix ‘Browser...

Copyright © 2020 WP Daddy. All Rights Reserved.

Follow Us: