Support » Plugin: Slideshow » English and French version

  • Hi,

    The manager of site have left the building and I installed this plugin. It’s work fine and very easy to use.

    I have just a question: is it possible to manage two langages pages with this plugin? I usualy use this code:
    <h1><?php _e(‘[:en]Renewal reminder[:fr]Aide-mémoire renouvellement’); ?></h1>

    What can I do with this:
    <?php do_action(‘slideshow_deploy’, ‘1506’); ?>

    Thank you!

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


    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();
    	<?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,

    Thank you

    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 :

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

    Thank you if you can help me!


    Plugin Author Stefan Boonstra


    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.


    Best regards,

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