• 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

    Thread Starter melissamatara

    (@melissamatara)

    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.

    Thread Starter melissamatara

    (@melissamatara)

    !

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

    Thread Starter melissamatara

    (@melissamatara)

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

    Thread Starter melissamatara

    (@melissamatara)

    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.