Tag: css

Loading IE Conditional Stylesheets in WordPress

Loading IE Conditional Stylesheets in WordPress

Most web developers are familiar with the IE conditional comments that allow you to load a stylesheet only in Internet Explorer. <!– [if lt IE 9]> <link href=”ie.css” rel=”stylesheet” type=”text/css”> <![endif]–> Many new WordPress developers tend to just hardcode these conditional comments directly into their 

Debug WordPress, BuddyPress, WooCommerce javascript

Debug WordPress, BuddyPress, WooCommerce javascript

By default in production mode WordPress, BuddyPress and WooCommerce use minified version of css and javascript. If you are developer and want to debug any core(WordPress) and plugins(BuddyPress and WooCommerce) script or css file then just add following line in your wp-config.php file. define(‘SCRIPT_DEBUG’, true);