WordPress.org

Forums

Wiki
not RTL compatble on the frontend. (4 posts)

  1. Rami Yushuvaev
    Member
    Posted 4 years ago #

    The text in the frontend editor is aligned to left. In RTL sites it should be aligned to the right.

  2. WPMU DEV - Your WordPress Team
    WPMU DEV Support Staff
    Plugin Author

    Posted 4 years ago #

    Please add the following to style.css of your theme body.mceContentBody {direction: rtl;}

  3. Rami Yushuvaev
    Member
    Posted 4 years ago #

    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.

  4. designer900
    Member
    Posted 3 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Wiki
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic