Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Nomi

    (@naumanahmed19)

    I also tried


    wp_dequeue_style('ig-pb-bootstrap');
    wp_deregister_style('ig-pb-bootstrap');

    but still no luck

    sangbui

    (@sangbui)

    Hi naumanahmed19,

    There was an option “Load Bootstrap Assets” inside IG PageBuilder setting pages, uncheck the boxes to disable the bootstrap from PageBuilder, currently there is no hook to do it. Thank you!

    InnoGears Support Team.

    Thread Starter Nomi

    (@naumanahmed19)

    Thanks for your reply.

    I know about disable option. Actually I want to use IG page builder in my next theme which is already on bootstap.

    so i did it by adding this to my function.php although not a best solution but works.

    //Disable IG Page Builder CSS and JS
    if( class_exists( 'IG_Pb_Init' ) ) {
      update_option('ig_pb_settings_boostrap_css', 'disable' );
      update_option('ig_pb_settings_boostrap_js', 'disable' );
    }

    is there any way that i can restrict page builder not to show on custom post types.

    Thread Starter Nomi

    (@naumanahmed19)

    thanks for adding option for custom post types in 2.2

    sangbui

    (@sangbui)

    Hi Nomi,

    Thank you and keep enjoying our product 🙂

    Sang Bui.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Hook to disable bootstrap CSS and JS’ is closed to new replies.