Accessing Page Content in wp_head()
-
I have some links and styles to output in the head.
However, I want to avoid outputing them unless the page content requires them (big, fat Google Maps scripts, etc.).
How can I search the page content from wp_head(), so I can see whether or not the links/styles/scripts are necessary?
If I need to RTFM, then please point me to the appropriate FM. I could shore do with some example code.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Accessing Page Content in wp_head()’ is closed to new replies.