[theme-reviewers] Why wp_register_style() ?
Rahul Bansal
rahul.bansal at rtcamp.com
Thu Mar 3 12:47:55 UTC 2011
As part of our internal coding standard... all CSS & JS are registered at
once and then enqueued as need arises (like in conditional statement, etc)
--
Rahul Bansal | Founder & CEO | rtCamp Solutions Pvt. Ltd.
Skype: rahul286 | Twitter: @rahul286 | Web: http://rtcamp.com/
On Sun, Feb 27, 2011 at 6:40 PM, Satish Gandham <satish.iitg at gmail.com>wrote:
> Why should we register styles before using wp_enque() , when we can
> directly add the style sheet path and name using enque?
>
> Is it to allow child themes to override ?
>
>
>
> Satish Gandham
>
>
>
>
>
>
>
> _______________________________________________
> 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/20110303/d60faae9/attachment.htm>
More information about the theme-reviewers
mailing list