WordPress.org

Support

Support » Plugins and Hacks » [Resolved] How to show caption on image ?

[Resolved] How to show caption on image ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Josh Leuze

    @jleuze

    It looks like the title isn’t inside the slides, make sure that you’ve placed it inside the slide container, like this:

    <p><?php the_title(); ?></p>
    </div><!-- .mslide -->

    Awesome,

    Thanks so much. I think I read somewhere to put just above this code
    </div><!-- .meteor-slides -->

    Putting the code as you suggested shows the slide title on the slide. Can I show the links also ?

    Plugin Author Josh Leuze

    @jleuze

    Instead of using this:

    <p><?php the_title(); ?></p>

    Use this:

    <a href="<?php echo get_post_meta( $post->ID, "slide_url_value", $single = true ); ?>" title="<?php the_title(); ?>"><p><?php the_title(); ?></p>

    That assumes that each slide has an image. If only some slides have images, you have to add the link conditionally, just like the link is added to the slide images in the slideshow template.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] How to show caption on image ?’ is closed to new replies.