The text in the frontend editor is aligned to left. In RTL sites it should be aligned to the right.
The text in the frontend editor is aligned to left. In RTL sites it should be aligned to the right.
Please add the following to style.css of your theme body.mceContentBody {direction: rtl;}
The plugin need to do this automaticly, the user does not need to edit the files.
WordPress has a very nice function called is_rtl() that helpes plugin developers to add rtl.css file, but only if the it uses rtl-wordpress.
<code lang="php">
if ( is_rtl() )
wp_enqueue_style( 'wordpress_wiki_plugin', WP_PLUGIN_DIR.'/wiki/rtl.css'' );
You can use this function to add rtl-language-support to your plugin.
HELLO,
iam using qtranslate plugin
i need the user when he choose rtl language come the upper menu right to left
for example:
1- i need menu in English(ltr) like this : page1 page2 page3 page4
2- i need menu in Arabic(rtl) like this : page4 page3 page2 page1
3- i need the layout come from right to left when the user choose rtl language
Best Rergards
This topic has been closed to new replies.