Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

adding child theme override functionality #3

Merged

Conversation

thetrickster
Copy link
Contributor

Just like with some other functions in /library you should use if (!function_exists()) for the enqueue scripts function. It should be easier for use to use a child theme if we want and to use child theme assets like a more customized modernizr.

Right now you have to write your own plugin either deregistering the scripts from the parent theme or use remove_action to remove the function entirely.

olefredrik added a commit that referenced this pull request Jan 19, 2014
adding child theme override functionality
@olefredrik olefredrik merged commit 757526d into olefredrik:master Jan 19, 2014
@thetrickster
Copy link
Contributor Author

Thanks for merging this so fast. I'm in the process of building a starter child theme for this framework-- I'll drop you a note when it's ready and you can clone it and start another project for it if you wish.

@olefredrik
Copy link
Owner

Cool! Thanks for your contribution :)

@thetrickster
Copy link
Contributor Author

Here's my project--

https://github.com/thetrickster/FoundationPress-child

I think it's ready to go. You can fork it and we can use yours as the main reference or you can keep mine as the main repo-- it's up to you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants