obenland / the-bootstrap

A responsive WordPress Theme based on Bootstrap, from Twitter.
http://en.wp.obenland.it/the-bootstrap/
GNU General Public License v3.0
110 stars 46 forks source link

For Child theme #54

Closed gimmy closed 11 years ago

gimmy commented 11 years ago

This allows to load style sheets from the child theme.

obenland commented 11 years ago

Hi @gimmy, thank you for your pull request!

the_bootstrap_register_scripts_styles() is hooked to the 'init' action, so you can just remove it from your child theme - no need to make the entire function optional.

To remove the action, you can hook into 'after_setup_theme' and call the remove_action() function.