Firstly, thanks for a great photography theme!
In the the Caption Text box for the images in the Gallery Options of my portfolio item, I’d like to insert shortcode for a button that links my gallery image to the related product in my store (and also some social media buttons). At the moment, inserting the shortcode just shows the shortcode and not the button. Is it possible to do this?
I didn’t test it but you can the do_shortcode() function: http://codex.wordpress.org/Function_Reference/do_shortcode
Open up wp-contentthemesflashlightincludeshelper-slideshow.php and replace all occurrences of:
if($exif['description']) $output .= "<div class='description'>".$exif['description']."</div>";
if($exif['description']) $output .= "<div class='description'>".do_shortcode($exif['description'])."</div>";
The topic ‘Flashlight – Shortcode in the Caption Text’ is closed to new replies.