Skip Navigation

[Resolved] Boostrap

This thread is resolved. Here is a description of the problem and solution.

Problem:
How to load bootstrap with Toolet

Solution:
To load the bootstrap with Toolset - You should navigate to :
=> Toolset => Settings => General tab => Bootstrap loading section and set option "Toolset should load Bootstrap 3.0"

You can find proposed solution, in this case, with the following reply:
https://toolset.com/forums/topic/boostrap/#post-620352

Relevant Documentation:

This support ticket is created 6 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 2 replies, has 2 voices.

Last updated by fulvioT 6 years, 1 month ago.

Assisted by: Minesh.

Author
Posts
#620249

Hi,

I'm tring to install bootstrap.

I create a folder in my site and copy bootsptrap files.
I modified theme childer function.php and insert the following code:

function wpbootstrap_register_scripts() {
if ( ! is_admin() ) {

// Deregister styles
wp_deregister_style('wpbootstrap_bootstrap_responsive_css');

// Register Twitter Bootstrap CSS files
wp_register_style('wpbootstrap_bootstrap_main_css', get_template_directory_uri() . '/bootstrap-337/css/bootstrap.min.css', false, null);
wp_register_style('wpbootstrap_bootstrap_theme_css', get_template_directory_uri() . '/bootstrap-337/css/bootstrap-theme.min.css', array('wpbootstrap_bootstrap_main_css'), null);

// Register Twitter Bootstrap JS
wp_register_script('wpbootstrap_bootstrap_js', get_template_directory_uri() . '/bootstrap-337/js/bootstrap.min.js', array('jquery'), null, true);

// Enqueue Twitter Bootstrap CSS files
wp_enqueue_style('wpbootstrap_bootstrap_main_css');
wp_enqueue_style('wpbootstrap_bootstrap_theme_css');

// Eneuqueu Twitter Bootstrap JS
wp_enqueue_script('wpbootstrap_bootstrap_js');
}
}
add_action( 'wp_enqueue_scripts', 'wpbootstrap_register_scripts' );

when I try to insert a bootstrap elements in a view system show me that I have to download bootstrap.

there is something that I don't understand.

How I can use bootstrap ?

thanks
fulvio

#620352

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - I do not know but why you are trying to load bootstrap using wp_enqueue_scripts as Toolset suspports Bootstrap option.

You should navigate to :
=> Toolset => Settings => General tab => Bootstrap loading section and set option "Toolset should load Bootstrap 3.0"

Does this help?

#620367

Hi,

thanks.
As I wrote in my questiont there was that I didn't understand.
Now, may be, I solved it.
fulvio

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.