This comes straight outta the getShopped forums: http://getshopped.org/forums/topic/disable-all-wpsc-javascript-and-css-files-3/ via cannobbio. To disable all scripts and stylesheets, add this code to the functions.php file in your theme folder: // Remove Styles function childtheme_deregister_styles() { wp_deregister_style( ‘wpsc-theme-css’ ); wp_deregister_style( ‘wpsc-theme-css-compatibility’ ); wp_deregister_style( ‘wpsc-product-rater’ ); wp_deregister_style( ‘wp-e-commerce-dynamic’); wp_deregister_style( ‘wpsc-thickbox’ ); wp_deregister_style( ‘wpsc-gold-cart’ ); } add_action( ‘wp_print_styles’, ‘childtheme_deregister_styles’, 100 [...]
Tags
Recent Comments
- Justin on Disable WP E-Commerce scripts and stylesheets
- Zomby on WordPress Error: Unable to create directory / Is its parent directory writable by the server?
- Mirko on Disable WP E-Commerce scripts and stylesheets
- Ammon on eCC compatible shopping cart reviews
- Lisa Kuntz on eCC compatible shopping cart reviews
Archives
- January 2012
- October 2011
- September 2011
- August 2011
- July 2011
- May 2011
- March 2011
- February 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- June 2010
- April 2010
- March 2010
- February 2010
- January 2010
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- November 2008