making admin post/page writing right-to-left oriented? (7 posts)

  1. MK Safi
    Posted 9 years ago #


    i use my wordpress to make posts in Arabic, so i need the writing area under posts and pages to be right-to-left oriented.

    to accomplish that, i suppose i'm gonna have to add the 'dir="rtl"' attritbute to a couple of 'textarea' tags in the core files of wordpress?

    i just don't know where to find those 'textarea' tags and how many of them i'm going to have to change.

    i hope someone can help me.


  2. Ryan Boren
    WordPress Dev
    Posted 9 years ago #

    If no one chimes in here, send an email to the i18n list. I think some teams have RTL in the WYSIWYG editor working.

  3. MK Safi
    Posted 9 years ago #

    for now, i just wanna change the regular editor to right-to-left, not the WYSIWYG.

  4. Tijmen
    Posted 9 years ago #

    For regular posts it's in wp-admin/edit-form-advanced.php on line 151 (title on 137).

    For pages, wp-admin/edit-page-form.php on line 130 (title 116).


  5. Tijmen
    Posted 9 years ago #

    I might've found something easier. If you add direction: rtl; to the wp-admin/wp-admin.css under textarea, input, select { (line 153), every form on the admin pages will be rtl.

  6. MK Safi
    Posted 9 years ago #


    Yep! it works great. thanks.

    however, it switched every textarea in the admin to rtl orientation. not that i mind it, but i hope it doesn't cause problems in the future.

    also, this change doesn't effect the WYSIWYG editor.

    for now, i'm gonna keep it rtl.

    thanks all!

  7. Sewar
    Posted 9 years ago #

    Use WordPress-Arabic: http://wordpress-ar.sourceforge.net

Topic Closed

This topic has been closed to new replies.

About this Topic