-
AuthorPosts
-
December 3rd, 2017 at 23:14 #56906
We use Anima (thank you for this beautiful theme) and the Polylang to create a multi-language website. However, in the “Featured Icon Blocks” area of the landing page, when we tried to use French pages in the French-version website and Chinese pages in the Chinese-version website, it turned out that we could only use single-language pages in two versions websites.
We truly hope that this could be fix. Thank you.
Website: www.cfcpe-edu.org
December 10th, 2017 at 19:37 #57104ZedCryout Creations mastermindPlease see https://www.cryoutcreations.eu/forums/t/multi-language-front-page/#post-54385
If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic.January 25th, 2018 at 13:50 #58836Hallo Strasbourgeois,
your website is now full in multilanguage.
Have you any solution with Polylang and “Feature Icon Block” in this template cooperations?Thanks.
J.R.- This reply was modified 6 years ago by janrok.
February 13th, 2018 at 11:34 #59771Hello J.R,
I just tried the solution posted by Zed, by modifying the
function anima_ipblocks()
in the
/includes/landing-page.php
file fromif (function_exists('pll_get_post')) { $page = get_post($pageid); }
to
if (function_exists('pll_get_post')) { $page = get_post(pll_get_post($pageid, get_locale())); $pageid = pll_get_post($pageid, get_locale()); } else { $page = get_post($pageid); }
Regards.
- This reply was modified 6 years ago by Strasbourgeois.
February 13th, 2018 at 11:38 #59773Hello saboarpad,
Please see the reply above.
Regards.
February 13th, 2018 at 11:42 #59775PS. The modification is tested on Anima 1.0.3. I don’t know whether it works on the later versions.
-
AuthorPosts
The topic ‘Multilingualism bug in Landing Page’ is closed to new replies.