WordPress.org

Ready to get started?Download WordPress

Forums

Portfolio Slideshow
Multilanguage descriptions, qTranslate (3 posts)

  1. redywebs
    Member
    Posted 1 year ago #

    I have my site on various languages using the qtranslate plugin, and I needed to show translated descriptions for the slideshows.

    To be able to use the shortcode language tags in image descriptions, I had to change the code in shortcode.php:
    $slideshow .= '<div class="slideshow-description">'. wpautop( $description ) .'</div>';
    for $slideshow .= '<div class="slideshow-description">'. apply_filters( 'the_content', $description ) .'</div>';

    I'm aware to change plugins files is not the correct way as it would be overwritten when upgraded. But for now it solved the problem for me.

    It may help others too.

    http://wordpress.org/extend/plugins/portfolio-slideshow/

  2. Cassandre
    Member
    Posted 1 year ago #

    Thanks a lot !
    I was trying to use qtranslate with another plugin, the "slideshow" one, couldn't make it, so I've downloaded the plugin you speak about (portfolio slideshow), put your trick and oufff ! It worked. Thank you.

  3. minimals
    Member
    Posted 10 months ago #

    Oh, thank you very much redywebs!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic