• Resolved antforshaw

    (@antforshaw)


    Hi,

    I have a website in development and I have started to use your plugin (which looks great by the way). The problem is that my dev’ site uses Bootstrap 3 and this plugin’s styles interfere in a big way with the existing styles.

    There are other stylesheets in the plugin that are also causing problems for me, such as flat-ui.css. (It’s still included in the plugin even if I don’t use the flat-ui skin..)

    Can I just remove these? Or is there a better way to stop them from conflicting?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Collins Agbonghama

    (@collizo4sky)

    Thread Starter antforshaw

    (@antforshaw)

    That was just what I was looking for – thank you.

    Thread Starter antforshaw

    (@antforshaw)

    Ahh – apologies, but there now appears to be an error in the backend.

    When I insert this code into my theme’s functions.php there is an error:

    add_action( 'wp_print_scripts', 'pp_deregister_javascript', 99 );
     
    function pp_deregister_javascript() {
     wp_deregister_script( 'jquery-ui-datepicker' );
     wp_deregister_script( 'password-strength-meter' );
     wp_deregister_script( 'pp-del-avatar-script' );
     wp_deregister_script( 'pp-sweetalert2' );
     wp_deregister_script( 'pp-jcarousel' );
     wp_deregister_script( 'pp-bootstrap-filestyle' );
     wp_deregister_script( 'pp-chosen' );
    }

    The error is displayed on every page in the backend and is as follows:-

    Notice: wp_deregister_script was called incorrectly. Do not deregister the jquery-ui-datepicker script in the administration area. To target the front-end theme, use the wp_enqueue_scripts hook. Please see Debugging in WordPress for more information. (This message was added in version 3.6.0.) in /home/harri491/public_html/dev/wp-includes/functions.php on line 4148
    

    I’m already using the same datepicker on my site, so don’t need it to be registered twice.

    Plugin Author Collins Agbonghama

    (@collizo4sky)

    Remove `
    wp_deregister_script( ‘jquery-ui-datepicker’ );` from the code.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Removing Bootstrap/Other Styles’ is closed to new replies.