-
AuthorPosts
-
May 26, 2014 at 8:42 pm #270242
Hi , I just need one page of my site to be in Hebrew, how do i do that,
Thanks in advance,:)
May 26, 2014 at 11:18 pm #270284Hi hadas!
Try adding this to the functions.php (theme):
add_action('wp_enqueue_scripts', 'custom_rtl_include'); function custom_rtl_include() { $template_url = get_template_directory_uri(); if(is_page(22)){ wp_enqueue_style( 'avia-rtl', $template_url."/css/rtl.css", array(), '1', 'screen' ); } }Change 22 by the ID of Page.
Cheers!
JosueMay 27, 2014 at 12:15 am #270331Thanks, this is not helping me :(
I get this error massage
Parse error: syntax error, unexpected ‘&’ in………..wp-content/themes/enfold/functions.php on line 459did change the page!
gr.Hadas
May 27, 2014 at 1:07 am #270346Hi!
Can you paste line 459?
Best regards,
JosueMay 27, 2014 at 11:43 am #270465wp_enqueue_style( ‘avia-rtl’, $template_url."/css/rtl.css", array(), ‘1’, ‘screen’ );
May 27, 2014 at 5:55 pm #270641Hi!
You need to make sure the quotes are written correctly, don’t copy it from the email.

Cheers!
JosueMay 27, 2014 at 6:37 pm #270677Sorry for my great stupidity, what must go in in place of quaot…. :(
May 27, 2014 at 6:37 pm #270678An actual quote:
wp_enqueue_style( 'avia-rtl', $template_url."/css/rtl.css", array(), '1', 'screen' );May 27, 2014 at 8:03 pm #270756This reply has been marked as private.May 27, 2014 at 8:05 pm #270759Hi,
Can you create an administrator account and post it here as a private reply?
Regards,
JosueMay 27, 2014 at 8:24 pm #270777This reply has been marked as private.May 27, 2014 at 8:30 pm #270780This reply has been marked as private.May 27, 2014 at 10:33 pm #270844This reply has been marked as private.May 27, 2014 at 10:36 pm #270851You are welcome, glad we could help :)
Regards,
Josue -
AuthorPosts
- The topic ‘rtl language’ is closed to new replies.
