[theme-reviewers] wp_enqueue_style

Abhik Biswas abhik at itsabhik.com
Sat Oct 5 05:26:29 UTC 2013


Make sure you have wp_head() in place.


On Sat, Oct 5, 2013 at 9:53 AM, Phillip Wells <phillipwells at hotmail.co.nz>wrote:

> Woops i missed a comma but it still doesn't work though
>
> function theme_name_styles() {
> wp_enqueue_style( 'style-name',get_template_directory_uri() .
> '/css/dropdown.css' );
> }
>
> add_action( 'wp_enqueue_scripts', 'theme_name_styles' );
>
> ------------------------------
> From: phillipwells at hotmail.co.nz
> To: theme-reviewers at lists.wordpress.org
> Date: Sat, 5 Oct 2013 17:22:02 +1300
> Subject: [theme-reviewers] wp_enqueue_style
>
>
> I am currently developing a theme and i have:
>
> function theme_name_styles() {
> wp_enqueue_style( 'style-name',get_template_directory_uri() .
> '/css/dropdown.css );
> }
>
> add_action( 'wp_enqueue_scripts', 'theme_name_styles' );
>
> but it is not working what am i doing wrong.
>
>
>
> _______________________________________________ theme-reviewers mailing
> list theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
> _______________________________________________
> 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/20131005/1d50c974/attachment.html>


More information about the theme-reviewers mailing list