Support » Plugin: WP Bootstrap Carousel » Order of images

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi I saw your post and then found something that works for me. Turns out there are a lot of ways to order the images. As evidenced here;

    Link to Codex

    But I just wanted to define an order of this image and then that one etc. Here is what I did first:

    <!-- BEGIN CAROUSEL           ================================================== -->[carousel exclude="489,491,529,530,532,536,541,650,3828,3829,3869,3870" orderby ="name" interval="5000" comments="0" file="0"]
    <!-- END CAROUSEL           ================================================== -->

    I added orderby ="name"

    which you can see by the codex page I referenced orders by slug. There is a “Slug” field for each image. I simply prepended each image in that carousel with a letter (numbers aren’t advisable), so the first image I wanted to show up now has a Slug starting with “a-” and the second image in order is now “b-“.

    Worked like a charm for me. Hope for you too!

    Well even if this is 5 month old maybe I help someone.

    If I understand

    according to the order I put them in

    correctly and this refers to the order on the media uploader of images attached to a post. You can rearrange them with drag and drop btw. Then you can use orderby="menu_order" to use that order witch is awesome. And way better then the creative but hacky solution from kendaliq above.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Order of images’ is closed to new replies.