kadampa 0 Report post Posted March 1, 2011 I'm trying to override the styles for brandnav.css and it would be so much easier if i could just deregister_style like I do with all the others. function deregister_styles(){ wp_deregister_style('superfish'); // Superfish dropdowns wp_deregister_style('superfish-shadow'); // Superfish dropdown shadows wp_deregister_style('superfish-arrows'); // Superfish dropdowns arrows wp_deregister_style('pagelines-pro'); // PlatformPro defaults } add_action('wp_print_styles','deregister_styles', 100); Share this post Link to post Share on other sites
cmunns 16 Report post Posted March 1, 2011 Hey Neil, That's a great suggestion especially for child theming capabilities. Share this post Link to post Share on other sites
kadampa 0 Report post Posted March 2, 2011 Also could ALL scripts be enqueue too? The enqueue sytem in wordpress makes it so easy to remove stuff and manage decencies (as you can set them in the enqueue function). Thanks Share this post Link to post Share on other sites
agileapricot 0 Report post Posted March 2, 2011 Yes particularly the IE scripts. Share this post Link to post Share on other sites
agileapricot 0 Report post Posted March 2, 2011 It would also be very useful if we could deregister options and option groups and option tabs in the admin interface. Share this post Link to post Share on other sites