WordPress.org

Ready to get started?Download WordPress

Forums

WP Bootstrap Carousel
Works, with a few caveats. (8 posts)

5 stars
  1. melissamatara
    Member
    Posted 1 year ago #

    Be sure to attach your files directly to the post, and if you need to manually change the width, the shortcode will also accept a width= parameter. :)

  2. Peter J. Herrel
    Member
    Plugin Author

    Posted 1 year ago #

    Hello Melissa,

    thanks for your review.

    Please note that ids is not a supported argument. Which explains why it's not working.

    Refer to the wiki to check the list of supported arguments: https://github.com/diggy/wp-bootstrap-carousel/wiki

    cheers,

    Peter

  3. melissamatara
    Member
    Posted 1 year ago #

    Sorry, I should have added that it didn't work both ways... I was in a bit of a rush. I did check your github docs quite a few times. It removes the shortcode, but then displays nothing.

  4. Peter J. Herrel
    Member
    Plugin Author

    Posted 1 year ago #

    Are you using the shortcode correctly? It is designed to display images attached to a post, simply by adding [carousel] to the post content. If you would like to display a random set of image attachments, you'd have to use the plugin in combination with the Display Posts Shortcode plugin.

  5. melissamatara
    Member
    Posted 1 year ago #

    !

    I may not have. I will give it a try later today and change my rating if it works. :)

  6. melissamatara
    Member
    Posted 1 year ago #

    Ok, so progress. :) Except, now it is limiting itself to a width of 100 pixels. The pictures I attached to the page were ~600px wide, all with the exact same dimensions. I was thinking originally that perhaps it was defaulting to thumbnail size, but thumbnail size is set to 150px, not 100. Any ideas?

  7. Peter J. Herrel
    Member
    Plugin Author

    Posted 1 year ago #

    Seems like your theme does not define the $content_width global. You should determine the width of your content area and put the following line in your functions.php file, e.g.:

    if ( ! isset( $content_width ) ) $content_width = 600;

    Alternatively, you could set the carousel width manually: [carousel width="600"].

  8. melissamatara
    Member
    Posted 1 year ago #

    Manually inserting the width worked great. Thanks for the help! :D

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.