• 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!

    http://wordpress.org/extend/plugins/slideshow-jquery-image-gallery/

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 : http://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.