Right-to-Left post or pages in a Left-to-Right site
-
Hello,
I have an English Left-to-Right WP site. But once in a while I like ot have post or pages in Hebrew, which is a Left-to-Right language. In such cases, i encounter the problem of formatting.
Is it a possibility to define only certain posts and pages as Right to Left, while the site stays Left to Right?
Thanks,
ArieThe blog I need help with is: (visible only to logged in users)
-
Hi Arie –
This is a really good question. I’d like to take a closer look. Can you send a link to to one of the posts that are in Hebrew where the formatting is an issue?
-
Hi,
this is a link to one of the posts:
In the meantime, I found a solution but maybe there is a simpler one:
1. Change to HTML editor.
2. Add <p dir=rtl> at the top of each block.The only problem is that it has to be done for each block separately.
I know that that there was a plug-in that added a button to change from RTL to LTR paragraphs but it is not supported any longer.
Thanks
-
Your site isn’t hosted on our servers, but if I were you, I’d either go with a little CSS or the full-blown multi-lingual plugin of your choice.
For CSS, you could set a category for RTL posts, then use that selector to change direction for the content on all of those posts. Your mileage may vary, and the exact code you use for it will depend on your theme, but I’ll bet you can find help or a plugin over at the forums for self-managed sites: https://wordpress.org/support/forums/
Good luck!
- The topic ‘Right-to-Left post or pages in a Left-to-Right site’ is closed to new replies.