Multilanguage descriptions, qTranslate
-
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.
https://www.ads-software.com/extend/plugins/portfolio-slideshow/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Multilanguage descriptions, qTranslate’ is closed to new replies.