[theme-reviewers] Scripts enqueue in header.php

Rohit Tripathi rohitink at live.com
Fri Oct 4 09:49:08 UTC 2013


This is what the WordPress Guidelines has to say about it:
Themes are required to enqueue all stylesheets and scripts, using wp_enqueue_style()/wp_enqueue_script(), and hooked into an appropriate hook via callback function, rather than hard-coding stylesheet/script links or tags in the template.Themes are required to use the Theme-specific hook for admin-enqueued scripts/stylesheets, e.g. admin_print_scripts-appearance_page_$menu_slugThemes may optionally link the default stylesheet (style.css) directly in the document head, or viawp_enqueue_style(). Whichever method is used, the default stylesheet must be referenced via get_stylesheet_uri()Themes are required to use core-bundled scripts, if using such scriptsThemes must not use TimThumb
From: phillipwells at hotmail.co.nz
To: theme-reviewers at lists.wordpress.org
Date: Fri, 4 Oct 2013 22:42:10 +1300
Subject: [theme-reviewers] Scripts enqueue in header.php




Do scripts need to be enqueue in header.php 		 	   		  

_______________________________________________
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/20131004/0bdf31e8/attachment-0001.html>


More information about the theme-reviewers mailing list