[wp-hackers] checking if post has shortcode, before header is output?
glenn at glennansley.com
Mon Oct 26 19:16:09 UTC 2009
For valid CSS, f you're not worried about accessibility just add
additional the stylesheet with jQuery on page load if it meets some
sort of condition that you place in the source (put the JS in the
footer like the others have suggested).
On Mon, Oct 26, 2009 at 3:13 PM, Aaron D. Campbell <aaron at xavisys.com> wrote:
> That's true, and the best I can come up with for that is to do the CSS
> inline or put the <style> element in the body by outputting it from your
> shortcode handler (keeping track of when you output it so you don't output
> it more than once).
> Austin Matzko wrote:
>> elements are supposed to be in <head>
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers