Display Title of Slide below Slide
-
Hi there,
I really am enjoying your plugin for the simplicity of creating a responsive slideshow. However, I’m trying to figure out a way to output the slide’s title as a caption on the front end. I’m quite surprised that when trying to output anything inside of the foreach loop, inside the template slideshow.php, it wont actually output!
<?php if ('No Link' == rawurldecode($options['slides'][$slide]['link'])) : ?> <div> <img class="cnhk-slide" alt="" title="<?php echo esc_attr(stripslashes($options['slides'][$slide]['title'])) ?>" src="<?php echo esc_url(CNHK_UPLOAD_URL . $options['slides'][$slide]['src']); ?>" /> <small><?php echo esc_attr(stripslashes($options['slides'][$slide]['title'])) ?></small> </div> <?php else :?>
What am I missing here?
Thanks,
Josh
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Display Title of Slide below Slide’ is closed to new replies.