Strasbourgeois

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Multilingualism bug in Landing Page #59775
    Strasbourgeois
    Participant

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

    in reply to: Multilingualism bug in Landing Page #59773
    Strasbourgeois
    Participant

    Hello saboarpad,

    Please see the reply above.

    Regards.

    in reply to: Multilingualism bug in Landing Page #59771
    Strasbourgeois
    Participant

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

    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.

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