WordPress.org

Ready to get started?Download WordPress

Forums

Meteor Slides
[resolved] Slide Show Images Limited in Number (8 posts)

  1. QRMonkey
    Member
    Posted 2 years ago #

    Thanks for a great plugin. It is working just as I had hoped. Only a minor issue to resolve. Within "Settings" I have set the quantity at "25". Yet only 4 images appear in the slide show. All 25 were uploaded and properly categorized. I added an image to see if my show would grow from 4 to 5. But this only replaced one of the 4. Thanks for your help, and there is a cup of coffee or two waiting for you. Thanks again.

    -David

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

  2. Josh Leuze
    Member
    Plugin Author

    Posted 2 years ago #

    Hi David, this is probably a conflict with your theme, but just to rule them out, I would deactivate your other plugins and test the slideshow to make sure none of them are to blame.

    The most likely problem is that your theme has a custom loop in it that is overriding the quantity of the slideshow loop. What theme are you using, can you post a link to the site you're working on?

    Are you use the slideshow shortcode, template tag, or widget? Try loading the slideshow with a different method to see if it is only affecting one of them.

    Thanks for trying my plugin, coffee is always appreciated!

  3. QRMonkey
    Member
    Posted 2 years ago #

    Josh,

    Thanks for the reply on this. Here's the rundown:
    Theme: Flexible by Elegant Themes, http://www.elegantthemes.com/gallery/flexible/
    Blog Link: http://souqnadesign.com/WPFiles/back_porch/ (You'll note that I am using slideshows on other posts as well. Each is unique, and consistently displaying only 5 images.
    All plugins were deactivated one by one, and the issue remains.
    Using the shortcode [meteor_slideshow slideshow="backporch-gallery"] No effect on using the widget, and uncertain as to where to place the php template tag.

    Glad to pass along credentials if you want to take a look at the code.

    Thanks again for the help.

    -David

  4. Josh Leuze
    Member
    Plugin Author

    Posted 2 years ago #

    OK, it is a problem with your theme, could you send me the login info?

  5. QRMonkey
    Member
    Posted 2 years ago #

    Josh,

    I will send credentials via email to mail@mail@jleuze.com

    -David

  6. Josh Leuze
    Member
    Plugin Author

    Posted 2 years ago #

    David, I checked out your site, the problem was a conflict with your theme. The Flexible theme is setting the posts_per_page parameter globally, effecting all the queries on a page, like the slideshow, and not just the main query. Here's an example from epanel/custom_functions.php:

    if ( $query->is_category ) {
    		$query->set( 'posts_per_page', et_get_option( $shortname . '_catnum_posts' ) );
    	}

    I added a check to these functions using the is_main_query function so that it only effects the main query:

    if ( $query->is_main_query() && $query->is_category ) {
    		$query->set( 'posts_per_page', et_get_option( $shortname . '_catnum_posts' ) );
    	}

    Here's a full copy of the updated function for anyone who needs it.

    The slideshow quantity option is now working correctly. I'm going to try to get in touch with the devs at Elegant Themes, see if I can get this fixed upstream.

  7. QRMonkey
    Member
    Posted 2 years ago #

    Josh, as noted in my email, thanks! Good work. The solution seems quite simple, hope it was easy to identify.

  8. Josh Leuze
    Member
    Plugin Author

    Posted 2 years ago #

    Yeah, it didn't take too long to track it down.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic