Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Stefan Boonstra

    (@stefanboonstra)

    Hi Eric,

    I’ve looked up some WordPress forum posts about this and I believe you’ll have to do something like this:

    <?php $currentlang = pll_current_language();
    if($currentlang=="en"):?>
    	<?php do_action('slideshow_deploy', '1506'); ?>
    <?php elseif($currentlang=="fr"):?>
    	<?php do_action('slideshow_deploy', 'The ID of the French slideshow here.'); ?>
    <?php endif; ?>

    Best regards,
    Stefan

    Thread Starter ericampleman

    (@ericampleman)

    Great!!
    Thank you

    Thread Starter ericampleman

    (@ericampleman)

    Hello Stefan,

    Finally, it’s don’t work..
    When a did it, the all footer content was disapear.

    This slideshow is include on footer page’s of site, you can take a look at : https://www.ssqauto.com

    I tryed also to integrate code on css but don’t work too.

    Thank you if you can help me!

    Eric

    Plugin Author Stefan Boonstra

    (@stefanboonstra)

    Hi Eric,

    I’m sorry, I simply copied the PHP code from a different forum without looking at the function that’s used.

    The function is defined in this plugin: Polylang.

    You’ll need it to use the code.

    Goodluck!

    Best regards,
    Stefan

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘English and French version’ is closed to new replies.