Site logo

Archived topic

bootstrap

1 reply · Started by Nikolaj on November 20, 2018

Viewing posts 1–2 of 2

hello GP and Tom; I'm trying to built a dynamic banner viewing system and think the bootstrap shortcodes plugin will do the job; However am I right that I need to add / install the bootstrap framework? If so how to do that to the current GP child theme I'm working with?

You would have to follow their integration instructions.

I would suggest only including the bootstrap CSS you actually need, as a lot of it will be unnecessary in GP and can even cause conflicts.

Basically, you'd need to upload your needed bootstrap files to your child theme, and then enqueue them in your child theme like this:

add_action( 'wp_enqueue_scripts', function() {
    wp_enqueue_style( 'my-bootstrap', 'URL TO BOOTSTRAP FILE' );
} );
This archived topic is closed to new replies.