I went with the Picostrap theme for a project because I wanted to incorporate some bootstrap UI elements in a barebones WordPress theme, and the SASS auto-rebuild is convenient. I am stuck on getting a bootstrap carousel to work. I have tried variations from [getbootstrap.com]) and other sources, but none function at all. I know bootstrap is loading – some divs use bootstrap css properly.
functions has the line
*wp\_enqueue\_script( ‘bootstrap’, get\_template\_directory\_uri() . ‘/js/bootstrap.bundle.min.js’, array(‘jquery’), null, true );*
I don’t see any errors in the chrome devtools console.
Any thoughts? If I can’t fix it I will go with a jquery slider, but it would be nice to use the BS5 carousel.
[ad_2]
Is all of bootstrap loading, or just parts? You can load some but not all, if you want.