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.
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?
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! 😀