[Plugin: Meteor Slides] Captions (descriptions) on slides
-
I’ve gone through the documentation and the forum and still can’t seem to get the caption OR description to show up on the slide. I have created a custom page template page-slides.php, and a custom slide template (meteor-slideshow.php. I inserted this code
`<?php // Get the featured image’s description
$ms_thumb_id = get_post_thumbnail_id($id);
$ms_description = esc_attr( get_post_field( ‘post_content’, $ms_thumb_id ) );
echo ‘<p>’ . $ms_description . ‘</p>’;
?>`
above this line:
</div><!-- .mslide -->
and the best I can get is the page title to display under the photo.
check it out: https://www.anthemnews.com/slidshow/
Can you please tell me where I might have gone wrong?
I confess, I’m very new to this. I have put the slideshow template within the wp-bold theme folder. Is this the correct place for it? Or should it go loose in the Themes folder.
- The topic ‘[Plugin: Meteor Slides] Captions (descriptions) on slides’ is closed to new replies.