WordPress.org

Ready to get started?Download WordPress

Forums

Meteor Slides
[resolved] caption (10 posts)

  1. pmodugno
    Member
    Posted 1 year ago #

    Hi, i need captions for the slides, how can i do it? Thanks a lot!

    http://wordpress.org/extend/plugins/meteor-slides/

  2. W.P. Ginfo
    Member
    Posted 1 year ago #

    Hi, Make sure you've updated to the latest versions of WP and Meteor slides.
    When selecting slides to add, as a featured image, in the right of the screen fill out the Title, caption, alt-text and description as well as which slideshow the image should feaure in.

  3. Josh Leuze
    Member
    Plugin Author

    Posted 1 year ago #

    You can add captions using a custom slideshow template.

  4. pmodugno
    Member
    Posted 1 year ago #

    W.P. Ginfo thanks a lot! Josh Leuze, i write <p><?php the_title(); ?></p> white the <!-- .mslide --> at the and of div, but i have the title of the post, not image's caption.

  5. Josh Leuze
    Member
    Plugin Author

    Posted 1 year ago #

    The example is for adding the slide title as a caption, you can change that to add whatever content you want as the caption. Here's a post that shows how to get the image metadata. And here's a post with an easier custom function for featured image metadata.

  6. pmodugno
    Member
    Posted 1 year ago #

    i'm sorry, but, i don't understand what i have to do. where do i have to write that code?

  7. pmodugno
    Member
    Posted 1 year ago #

    this is my code

    <div id="content-wrapper">
    			<div id="breadcrumbs"><h2><?php the_title(); ?></h2></div><!-- .mslide -->
    			<div id="content"><?php if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow(); } ?></div>
    		</div><!-- CONTENT WRAPPER CLOSED -->
  8. pmodugno
    Member
    Posted 1 year ago #

    I'm really sorry, i don't understand what i have to do. Please, can you tell me, step by step, what i'll do? i'm new whit wordpress. thanks al lot.

  9. pmodugno
    Member
    Posted 1 year ago #

    Hi Josh, i found this topic http://wordpress.org/support/topic/plugin-meteor-slides-show-image-title?replies=13

    and this script

    <?php // Get the featured <?php // Get the featured image's title
    
    	$ms_thumb_id = get_post_thumbnail_id($id);
    
    	$ms_title = esc_attr( get_post_field( 'post_title', $ms_thumb_id ) );
    
    	echo '<p>' . $ms_title . '</p>';
    
    ?>

    where do i have to write this? thanks!

  10. Josh Leuze
    Member
    Plugin Author

    Posted 1 year ago #

    If that email I sent you didn't clear it up for you, you can follow up on it here.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic