Support » Plugin: Portfolio Slideshow » [Plugin: Portfolio Slideshow] Slideshow of more than 5 images

  • Resolved leemon

    (@leemon)


    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!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi!

    I’ve fixed this ‘bug’ by adding

    ‘nopaging’ => true

    to $attachments = get_posts(….)

    Regards!

    Plugin Contributor Dalton Rooney

    (@daltonrooney)

    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

    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.

    Plugin Contributor Dalton Rooney

    (@daltonrooney)

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

    $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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Portfolio Slideshow] Slideshow of more than 5 images’ is closed to new replies.