Hard Code a Bootstrap Carousel onto homepage
-
This post follows this one here. I ended up thinking of another way..
I thought that it might just be easier to “hard code” a basic Bootstrap Carousel onto the homepage (front-page.php).
I used the code here from the actual Bootstrap site.
I’ve tried 2 ways: one through adding html through a function in the functions.php (code from the snippets sections: here) and another way adding html directly into front-page.php.
Both show up but the slides stack and there is no action.. indicating that the html seems to work but there’s no javascript turning it on.
Do I have to enqueue it or something?
All help would be awesome!
Michael
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Hard Code a Bootstrap Carousel onto homepage’ is closed to new replies.