Support » Plugin: Wiki » not RTL compatble on the frontend.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WPMU DEV – Your WordPress Team


    WPMU DEV Support Staff

    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.

    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘not RTL compatble on the frontend.’ is closed to new replies.