Multilingualism bug in Landing Page

  • Author
  • #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.


    Cryout Creations mastermind

    Please see

    If you like our creations, help us share by rating them on
    Please check the available documentation and search the forums before starting a topic.

    Hallo Strasbourgeois,
    your website is now full in multilanguage.
    Have you any solution with Polylang and “Feature Icon Block” in this template cooperations?


    • This reply was modified 6 years ago by janrok.

    Hello J.R,

    I just tried the solution posted by Zed, by modifying the function anima_ipblocks() in the
    /includes/landing-page.php file from

    if (function_exists('pll_get_post')) {
    	$page = get_post($pageid);


    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);



    Hello saboarpad,

    Please see the reply above.



    PS. The modification is tested on Anima 1.0.3. I don’t know whether it works on the later versions.

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Multilingualism bug in Landing Page’ is closed to new replies.