only invoke if in_the_loop
check for is_admin too
Merge pull request #36 from agh1/in_the_loop

CRM-14244 WordPress plugins that process the_content dump CiviCRM content into head