Hi Daniel Beck,
Replace the following files on your server with the ones in the "wpml.zip" file attached to this post.
wp-content/themes/infocus/lib/functions/shortcode.php
wp-content/themes/infocus/lib/includes/featured-custom.php
wp-content/themes/infocus/lib/includes/template-blog.php
wp-content/themes/infocus/lib/includes/template-portfolio-full.php
wp-content/themes/infocus/lib/includes/template-portfolio-gallery.php
wp-content/themes/infocus/lib/includes/template-portfolio-single.php
wp-content/themes/infocus/lib/includes/template-single.php
wp-content/themes/infocus/page.php
wp-content/themes/infocus/template-full.php
wp-content/themes/infocus/template-sitemap.php
You should now be able to use the following shortcode in the 'Title' text box option field & the 'Description' text box option field to control the translation text that shows up:
[wpml_translate lang=de]Hallo Welt![/wpml_translate]
[wpml_translate lang=en]Hello World![/wpml_translate]
Note that this will only work with the 'Homepage Image Slider Source' option set to "I Would Like to Custom Define the Images and URLs that the Homepage Slider use."
Attachments
-
wpml.zip (19 KB, 29 downloads) 1 year old