arnabwahid / wordpress-bootstrap

Bootstrap in WordPress theme form - Bootstrap 3.3.1
1.49k stars 556 forks source link

Header calls bootstrap.less and responsive.less AND bootstrap.css and responsive.css #84

Open burbridgeconsulting opened 11 years ago

burbridgeconsulting commented 11 years ago

Sorry — Am I missing something here? (That is entirely possible, I just started using this today. But..)

header.php contains:

<link rel="stylesheet/less" type="text/css" href="<?php echo get_template_directory_uri(); ?>/less/bootstrap.less">
<link rel="stylesheet/less" type="text/css" href="<?php echo get_template_directory_uri(); ?>/less/responsive.less">

a) Why woud you put that in, when you are also including the pre-compiled versions? b) Why would you put that in, because it's less efficient than the pre-compiled versions? c) The links are wrong—they don't include the /library/ part of the path

Thanks.

jessmartin commented 11 years ago

I wondered the same thing. @burbridgeconsulting did you figure this one out?

jessmartin commented 11 years ago

My guess is they were using the wp-less plugin (http://wordpress.org/support/view/plugin-reviews/wp-less) to load the less files during development, but left those lines in once they switched to loading the css files. The lines can safely be removed, in my experience.