Forums

Meteor Slides
Request: Change image title attribute value to post title (2 posts)

  1. andrejcremoznik
    Member
    Posted 3 months ago #

    It would make sense for tooltips on slides mouse over to show the title of the post (slide) and not the image title as set when uploading the image.

    Therefore I'd suggest changing line 109 in includes/meteor-slideshow.php from:
    <a href="<?php echo get_post_meta( $post->ID, "slide_url_value", $single = true ); ?>" title="<?php the_title(); ?>"><?php the_post_thumbnail( 'featured-slide') ); ?></a>

    to:
    <a href="<?php echo get_post_meta( $post->ID, "slide_url_value", $single = true ); ?>" title="<?php the_title(); ?>"><?php the_post_thumbnail( 'featured-slide', array('title' => get_the_title()) ); ?></a>

    I think this is reasonable, isn't it?

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

  2. JLeuze
    Member
    Posted 3 months ago #

    That's a good idea, thanks for sharing!

Reply

You must log in to post.

About this Plugin

About this Topic