WordPress.org

Ready to get started?Download WordPress

Forums

Portfolio Slideshow
[resolved] Slideshow of more than 5 images (6 posts)

  1. leemon
    Member
    Posted 3 years ago #

    Hi!

    First, thanks for your plugin. It's great!

    I'm having a problem with slideshows of more than 5 images. I've uploaded 9 images to a page and the generated slideshow only shows the 5 first ones. Am I doing anything wrong?

    Thanks!

  2. leemon
    Member
    Posted 3 years ago #

    Hi!

    I've fixed this 'bug' by adding

    'nopaging' => true

    to $attachments = get_posts(....)

    Regards!

  3. Dalton
    Member
    Plugin Contributor

    Posted 3 years ago #

    Hi there -
    Thanks for letting me know! I've never seen this before - do you have any particular settings or plugins related to the paging of posts? I use numberposts=> -1 in the query, which I thought should return everything.

    Dalton

  4. leemon
    Member
    Posted 3 years ago #

    I've installed a Thematic child theme and no other plugins. According to the following page:

    http://codex.wordpress.org/Template_Tags/get_posts

    if paging is disabled, the "numberposts" option is ignored.

  5. Dalton
    Member
    Plugin Contributor

    Posted 3 years ago #

    Right, right—but that doesn't explain why your query was limited to 5 posts in the first place. A mystery...

  6. leemon
    Member
    Posted 3 years ago #

    $numberposts: (integer) (optional) Number of posts to return. Set to 0 to use the max number of posts per page. Set to -1 to remove the limit. Default: 5

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic