2019-04-30, 00:27:28
Here http://mvlcek.bplaced.net/get-simple/i18n it says:
While trying to understand what it means, suppose it provides an alternate way of translation using WYSIWYG editor instead of creating _xx pages.
If so, I am stuck about how to make it work.
No matter what I try nothing changes in admin, I see no additional controls to change a page body.
In the front end after I change in my default page template
to
Nothing really changes - it shows page content like before, no additional controls appeared.
Would be great if someone could point out how to use get_i18n_content().
Thanks
Quote:If you want a non-technical user to edit the content in the WYSIWYG editor, instead create multiple pages mypagename (default language) and mypagename_xx (for languages xx) with the respective contents and make sure to uncheck Add to Menu. Then include the page in the template with the following code:
Code:<?php get_i18n_content('mypagename'); ?>
While trying to understand what it means, suppose it provides an alternate way of translation using WYSIWYG editor instead of creating _xx pages.
If so, I am stuck about how to make it work.
No matter what I try nothing changes in admin, I see no additional controls to change a page body.
In the front end after I change in my default page template
Code:
<?php get_page_content(); ?>
to
Code:
<?php get_i18n_content(get_page_slug(FALSE)); ?>
Would be great if someone could point out how to use get_i18n_content().
Thanks