Support » Fixing WordPress » making admin post/page writing right-to-left oriented?

  • hi,

    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.


Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Ryan Boren


    WordPress Dev

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

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

    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).


    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.


    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!

    Use WordPress-Arabic:

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘making admin post/page writing right-to-left oriented?’ is closed to new replies.