Support » Plugin: Meteor Slides » Display issue if only one slide

  • Resolved olfak


    Great Plugin!

    But when a slideshow contains only one slide, the slideshow area is blank.

    I changed the file include/meteor-slideshow.php at the line 119:

    echo '<img style="visibility: hidden;" class="meteor-shim" src="' . $meteor_shim[0] . '" alt="" />';


    echo '<img '.($meteor_loop->post_count==1?'':' style="visibility: hidden;"') .'class="meteor-shim" src="' . $meteor_shim[0] . '" alt="" />';

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser.]

    It’s not an elegant modification, but it’s a temporary fix 🙂

    Thanks for your good work!

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


    Hi, thanks for sharing! There’s a fix for this in the beta of Meteor Slides 1.5.1, so when you update the plugin it will continue to work with just one slide. Or you can add more slides to fix it too.

Viewing 1 replies (of 1 total)
  • The topic ‘Display issue if only one slide’ is closed to new replies.