[theme-reviewers] Removal of parent theme's enqueue function
Justin Tadlock
justin at justintadlock.com
Sun Sep 22 00:04:10 UTC 2013
Here's the functions you're looking for:
http://codex.wordpress.org/Function_Reference/wp_dequeue_style
http://codex.wordpress.org/Function_Reference/wp_dequeue_script
<http://codex.wordpress.org/Function_Reference/wp_dequeue_style>
http://codex.wordpress.org/Function_Reference/wp_deregister_style
<http://codex.wordpress.org/Function_Reference/wp_deregister_script>
http://codex.wordpress.org/Function_Reference/wp_deregister_script
On 9/21/2013 6:59 PM, Zulfikar Nore wrote:
> Hello review team,
>
> Hope you are enjoying your weekend.
>
> Re: Subject line...
>
> In a child theme I propose to do this: remove_action(
> 'wp_enqueue_scripts', 'twentythirteen_scripts_styles' );
> and then enqueue from my own function - is this acceptable?
>
> My reasoning is that I'm changing the CSS and the functions.js to
> unlock the sidebar in order to prevent it from overflowing in to the
> footer.
> I felt doing the way I want to would gives me better control on the
> CSS and javascript and to be honest, I loath @import and didn't want
> to fumble with function priorities.
>
> Thanks in advance,
> Zulf
>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20130921/5176e819/attachment.html>
More information about the theme-reviewers
mailing list