WordPress.org

Ready to get started?Download WordPress

Forums

CPT Bootstrap Carousel
[resolved] Random Sliders? (9 posts)

  1. Christine
    Member
    Posted 11 months ago #

    Hello again

    Can I make the sliders appear in random order at all (using the shortcode)?

    If not no problem- just something one of my clients requested but I can explain not possible if it isn't.

    Best
    Christine

    http://wordpress.org/plugins/cpt-bootstrap-carousel/

  2. Phil Ewels
    Member
    Plugin Author

    Posted 11 months ago #

    This was something I made a note of for myself to write into the next update (honest!).

    If you're willing to wait a short while I will be writing it in to the plugin as a shortcode option. If you're in a rush, you can do it yourself by setting the orderby flat to rand when WP_Query is called..

    Phil

  3. Christine
    Member
    Posted 11 months ago #

    Sounds great- I don't mind waiting at all thanks.
    I'm sure it will be fine as it is for now.
    Thanks
    Chris

  4. Phil Ewels
    Member
    Plugin Author

    Posted 11 months ago #

    Hi Christine,

    I've just written the new code - you should be able to download it from the github repository: https://github.com/tallphil/cpt-bootstrap-carousel

    The update includes a new shortcode option which you can use to randomise the order of your images. For example: [image-carousel orderby="rand"]

    I'll put out an update through wordpress.org once I've tidied up a few other things (mostly improving the documentation).

    Phil

  5. Christine
    Member
    Posted 11 months ago #

    Thank you for doing this :)

    I will wait for the update though- I've told the client and they are very happy.

    Thank you

  6. Phil Ewels
    Member
    Plugin Author

    Posted 11 months ago #

    Hi Christine,

    I've just pushed the new version. Hopefully that should be filtering through to you soon..

    Phil

  7. Christine
    Member
    Posted 11 months ago #

    Thanks it works great :)
    Please let me know how I can donate to your plugin.
    Best

  8. Phil Ewels
    Member
    Plugin Author

    Posted 11 months ago #

    Thanks Christine, that's very kind. I've just updated my personal blog with a button on the right hand side: http://www.tallphil.co.uk/

  9. Christine
    Member
    Posted 11 months ago #

    Cool. Just donated.
    All the best

Reply

You must log in to post.

About this Plugin

About this Topic