[theme-reviewers] wp_enqueue_style
Phillip Wells
phillipwells at hotmail.co.nz
Sun Oct 6 10:55:31 UTC 2013
Solved it i was putting n functions.php
Date: Sat, 5 Oct 2013 10:56:29 +0530
From: abhik at itsabhik.com
To: theme-reviewers at lists.wordpress.org
Subject: Re: [theme-reviewers] wp_enqueue_style
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
_______________________________________________
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/20131006/5ec2acbd/attachment.html>
More information about the theme-reviewers
mailing list