WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want develop a plugin that add boxes and menus in WordPress backed.

What I have to keep in mind to make it compatible with WordPress RTL installations?

Any idea or suggestion will be appreciated.


share|improve this question
up vote 2 down vote accepted

You can use is_rtl() to check if the user is setup for RTL or not, then you would just need to register and enqueue the RTL styles instead of the LTR styles.

share|improve this answer
Thanks, when you mention RTL styles you mean the possible CSS styles I add in my plugin or you are referring to some other required CSS? If my plugin doesn't add any CSS because use WordPress default ones, I don't need to worry about compatibility with RTL installation? – leticia Feb 2 '12 at 0:07
You will need to add the stylesheets, at the very least changing the direction of the text. Read the documentation that I linked in my answer. – mor7ifer Feb 2 '12 at 0:27
Yes, I had already seen the link about is_rtl() function, but my question was: if I need to use it. You already reply this in last comment, thanks! – leticia Feb 2 '12 at 14:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.