WordPress.org

Support

Support » Plugins and Hacks » Where is it and why that is bootstrapCustomCss.php?

Where is it and why that is bootstrapCustomCss.php?

  • sergio.pinna.prato
    Member

    @sergiopinnaprato

    Hi,

    the plugin work fine but with Firebug (tab Net) i found that Firefox don’t founds

    wp-content/plugins/bootstrap-collapse/bootstrapCustomCss.php?ver=3.8

    and that file was made from function (147 line)

    function bootstrap_scripts(){
    wp_enqueue_script('jquery');
    wp_enqueue_script('bootstrapjs',plugin_dir_url(__FILE__) . 'js/bootstrap-collapse.js',array( 'jquery' ));
    wp_enqueue_script('bootstrapjst',plugin_dir_url(__FILE__) . 'js/bootstrap-transition.js',array( 'jquery' ));
    wp_enqueue_style('bootstrapstyle',plugin_dir_url(__FILE__) . 'css/bootstrap.css');
    //wp_register_style('bootstrapCustomCss',plugin_dir_url(__FILE__). 'bootstrapCustomCss.php');
    wp_enqueue_style( 'bootstrapCustomCss');	
    
    }

    Bye!

    http://wordpress.org/plugins/bootstrap-collapse/

Viewing 3 replies - 1 through 3 (of 3 total)
  • sergio.pinna.prato
    Member

    @sergiopinnaprato

    I fixed it with this code:

    function bootstrap_scripts(){
    wp_enqueue_script('jquery');
    wp_enqueue_script('bootstrapjs',plugin_dir_url(__FILE__) . 'js/bootstrap-collapse.js',array( 'jquery' ));
    wp_enqueue_script('bootstrapjst',plugin_dir_url(__FILE__) . 'js/bootstrap-transition.js',array( 'jquery' ));
    wp_enqueue_style('bootstrapstyle',plugin_dir_url(__FILE__) . 'css/bootstrap.css');
    // wp_register_style('bootstrapCustomCss',plugin_dir_url(__FILE__). 'bootstrapCustomCss.php');
    // wp_enqueue_style( 'bootstrapCustomCss');
    }

    In my opinion you have to dele

    wp_register_style('bootstrapCustomCss',plugin_dir_url(__FILE__). 'bootstrapCustomCss.php');
    wp_enqueue_style( 'bootstrapCustomCss');

    rows code.

    Nilambar Sharma
    Participant

    @rabmalin

    I was also facing same problem. I had to comment out those two line of CORE file (which I really hate). Is plugin author doing something to fix this issue?

    Plugin Author sureshdsk
    Member

    @sureshdsk

    Sorry such an late response.

    i have commented out those line.

    It should work fine now.

    Thanks,
    Suresh Kumar

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Where is it and why that is bootstrapCustomCss.php?’ is closed to new replies.