• Resolved QRMonkey

    (@qrmonkey)


    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

    https://www.ads-software.com/extend/plugins/meteor-slides/

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

    (@jleuze)

    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!

    Thread Starter QRMonkey

    (@qrmonkey)

    Josh,

    Thanks for the reply on this. Here’s the rundown:
    Theme: Flexible by Elegant Themes, https://www.elegantthemes.com/gallery/flexible/
    Blog Link: https://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

    Plugin Author Josh Leuze

    (@jleuze)

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

    Thread Starter QRMonkey

    (@qrmonkey)

    Josh,

    I will send credentials via email to mail@[email protected]

    -David

    Plugin Author Josh Leuze

    (@jleuze)

    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.

    Thread Starter QRMonkey

    (@qrmonkey)

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

    Plugin Author Josh Leuze

    (@jleuze)

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Meteor Slides] Slide Show Images Limited in Number’ is closed to new replies.