Two title tags in my header
I’m building a child theme and it currently has a very simple <head> section in header.php:
I’m building a child theme and it currently has a very simple <head> section in header.php:
So I’m using Starkers to base my next WP theme on and I’ve run into a small issue, I was including my own version of jQuery in the header.php file but when inspecting my site using Firebug I noticed jquery was being downloaded twice, I did a bit of digging and noticed that not only was I including the file but so was the wp_head() function.
I’m dealing with an SSL issue and I would like to strip the domain from all scripts and styles being output via wp_enqueue_scripts. This would result in all scripts and styles being displayed with a relative path from the domain root.
I am generating critical CSS for every page and category. At the moment I am inserting the stylesheet through functions.php like this simply using echo.
I’m running a function on pages where the shortcode [make-me-a-map] is used. It enqueues javascript to the page and makes a map. That part works fine (woot!) but I’m having trouble with adding the stylesheets to only those pages in a similar fashion.
I just installed WP 3.1 Beta 2 on my test server. I noticed that it ships with a new l10n.js file that gets automatically inserted into the header.
I would like css_head_scripts and js_head_scripts to be appended to wp-head
but WordPress completely ignores it? Am I missing something?