WordPress.org

Support

Support » Reviews » WP Bootstrap Carousel » Works, with a few caveats.

Works, with a few caveats.

  • 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. 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Peter J. Herrel

    @donutz

    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

    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.

    Plugin Author Peter J. Herrel

    @donutz

    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.

    !

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

    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?

    Plugin Author Peter J. Herrel

    @donutz

    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"].

    Manually inserting the width worked great. Thanks for the help! 😀

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Works, with a few caveats.’ is closed to new replies.
Skip to toolbar