WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: NextGEN Gallery] random shortcode not working (2 posts)

  1. Stephen S
    Member
    Posted 4 years ago #

    I am going crazy trying to get this to work, I have no idea why it isnt and have searched the forums to no avail. I have the latest NGG installed with wordpress 3.0.

    I have a simple gallery that I would like to display two random images from and (following the instructions that I can find) use this shortcode in my page:

    [nggallery id=1 random max=2]

    There are (currently) 4 images in that gallery, and it displays them all, and always in the exact same order. I just want two at random each time the page loads.

    Please help. What am I doing wrong?

    Thanks

  2. maplus2
    Member
    Posted 3 years ago #

    Instead of writing this,

    [nggallery id=1 random max=2]

    you need to write like this.

    [random id=1 max=2]

    May also be helpful pages below.

    http://wordpress.org/support/topic/plugin-nextgen-gallery-short-code-question

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags