Best Answer Rob , 26 December 2012 - 10:03 PM
Your code is a PHP script, not CSS, so that would require a hook. Hooks can't, to my knowledge, be included inside a post or page content, but can be added before or after the loop. I'm no expert in this. But the easiest solution here would be to use the Action Plugin (free in the Store) to identify where you wish to place the code, and what relevant hooks exist there. Then, our new premium plugin called Hooker, could be used to implement the code in that hook.
The Hooker plugin is also available in the store.
Another option might be the use of Shortcode Exec PHP, a free plugin. http://wordpress.org...tcode-exec-php/
This allows you to implement the PHP script via the plugin, and provides you the opportunity to write a unique shortcode (title) for it. You then implement the shortcode where you'd like.Go to the full post