WordPress.org

Support

Support » How-To and Troubleshooting » making admin post/page writing right-to-left oriented?

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.

    thanks,

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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).

    Enjoy!

    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.

    Tijmen,

    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: http://wordpress-ar.sourceforge.net

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.