[theme-reviewers] Why wp_register_style() ?

Satish Gandham satish.iitg at gmail.com
Thu Mar 3 14:16:02 UTC 2011


That's a good practice, I will follow that from now.


On Thu, Mar 3, 2011 at 6:17 PM, Rahul Bansal <rahul.bansal at rtcamp.com>wrote:

> 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/0e471442/attachment.htm>


More information about the theme-reviewers mailing list