Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Hi I have a WordPress site where all the content is in English, however I need just one page to be in Arabic with left to right text, plus some bullets which obviously appear on the right instead of on the left, how do I go about creating such a page?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

@toscho is right about the direction of the text...

But as someone who builds websites in hebrew all the time i would reccomend
you create a custom page template by putting this tag in a copy of page.php

/*
Template name: arabic page
*/

THen you can design it differently... maybe remove the sidebar which is probably in english maybe make the structure different... you can even make the design a little bit different by loading additional css..

in that page you should use @toscho advice but i would implant the dir="rtl" command directly into that page so you would have better control.

share|improve this answer
1  
Yes, this is better … unless you want to write a post, not a page. To get templates for posts use the Custom Post Template plugin. –  toscho Mar 6 '12 at 23:21
1  
right as useall @toscho :) –  Sagive SEO Mar 7 '12 at 6:35

Add a container to your markup:

<div dir="rtl"> your page content here </div>

If the post editor strips out the attribute, either post as (user role:) editor, or extend the list of allowed elements and attributes per plugin.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.