Integrating Reinvigorate into WordPress

Why the Reinvigorate for WordPress plugin – available from Reinvigorate – doesn’t work is beyond me! Making a hard-coded fix isn’t, and as an added bonus it doesn’t distort your statistics by filtering out Administrators browsing the site.

Add the following to your WordPress theme (recommend footer.php):


<?php
get_currentuserinfo();
global $user_level;
if ($user_level != 10) {
echo "<script src='http://include.reinvigorate.net/re_.js' type='text/javascript'>
<script type='text/javascript'>";
echo "re_('75441-47p89ssr86'); </script>";
}
?>

Remember to change the Site ID to your own.

Leave a Comment

Before you comment - Do you have a support request? If so, this is not the right place to post it. Please submit support requests for Premium Plugins on the Support page and in the community Support Forums for free Plugins.

Your email address will not be published. Required fields are marked *