WordPress.org

Support

Support » Plugins and Hacks » Meteor Slides » [Resolved] Specify slides in metadata (ie display only 1st slide)

[Resolved] Specify slides in metadata (ie display only 1st slide)

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

    @jleuze

    Cool, I didn’t know they had added that mobile check function. There isn’t a simple way to set the quantity, I would use different slideshows for each, then you could even serve a smaller image to mobile devices if you wanted to:

    <?php if ( wp_is_mobile() ) {
    	meteor_slideshow( "standard-slideshow", "" );
    }
    else {
    	meteor_slideshow( "mobile-slideshow", "" );
    } ?>

    For a moment I thought this was a perfect and simple solution. But wp_is_mobile() returns TRUE even for full size tablets. Serving them a small-image slideshow wouldn’t look so great.

    I guess I could install Mobble and have something like

    if ( wp_is_mobile()&& !is_tablet() ) {
        meteor_slideshow( "mobile-slideshow", "" );
    }
    else ...

    Or a single slide slideshow. Or a static image reference. Decisions…

    Plugin Author Josh Leuze

    @jleuze

    Yeah that is tricky, is mobile is going to come back true in a lot of situations, so you wouldn’t want to use a smaller image. But even a single larger image that can scale across all mobile devices would be a lot lighter weight than a whole slideshow.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Specify slides in metadata (ie display only 1st slide)’ is closed to new replies.
Skip to toolbar