Tagged Questions
1
vote
1answer
46 views
How can I let templates choose which stylesheets are enqueued?
My theme's functions.php hooks into wp_enqueue_scripts to register a couple of stylesheets that are used by various site pages. Here's a simplified version of my configuration:
...
0
votes
0answers
11 views
get_stylesheet_uri() seems to be returning the wrong path. Where is this coming from? [duplicate]
I've got Wordpress 3.5.1 setup like Mark Jaquith's Wordpress Skeleton repository. (https://github.com/markjaquith/WordPress-Skeleton). I'm using Roots as the theme, but the stylesheet directory is ...
0
votes
3answers
283 views
What can I hook into after_setup_theme?
I'm wondering what can I or should I NOT hook to after_setup_theme? I'm wondering because I have been told that I shouldn't hook wp_enqueue_style to it, but I have seen other places using it to hook ...
0
votes
1answer
126 views
Having issue with WordPress wp_enqueue_style
I am building a full design into WordPress for the first time and I am trying to load in stylesheets and script files but all I seem to be getting is the text output of the location.
What I have is ...
0
votes
1answer
79 views
How can I print out a single stylesheet or javascript link?
I know I can use enqueue_script and enqueue_style to register scripts and stylesheets, however I'm trying to print out just the link to the adminbar css:
<link rel='stylesheet' id='admin-bar-css' ...