I am using a WordPress plugin for including PHP code within posts and pages, and it's working great - however, I need to insert some styles and scripts, and in order to do that, I need to add a hook to wp_head. I tried it, creating a function and using
add_action('wp_head','my_func'); but it didn't work - my stuff is not being included.
I think its because wp_head is being called before my script it being included.
I would like to do this without changing any of my themes files.
Is there any way to do this? I am using the latest WordPress version.