WP Greet Box Fix

As you can probably see this blog doesn’t have a whole lot of nuts and bolts, but I set up a social site for my Father’s office that has some goodies on it. I decided to add in the WP Greet Box plugin to it today. It worked great when clicking on individual posts; however, his blog has the Thesis theme and when arriving at the home page the darn Greet Box wasn’t popping up.

I found two great links (1 & 2) with information about troubleshooting and installation of the plugin on non-WP blogs.

After checking the page source, the solution was to add the following code to the custom_functions.php file:

function greetbox(){
?>
<div id=”greet_block”>
<script type=”text/javascript” src=”http://example.com/wp-includes/js/jquery/jquery.js”></script&gt;
<script type=”text/javascript” src=”http://example.com/wp-content/plugins/wp-greet-box/js/functions.js”></script&gt;
<script type=”text/javascript” src=”http://example.com/wp-content/plugins/wp-greet-box/js/onload.js”></script&gt;
</div>
<?php
}

add_action(‘thesis_hook_after_header’, ‘greetbox’);

Just replace example.com with your domain and add the hook you want and away you go. Maybe I added some extra lines, but it works so I am happy.

Reblog this post [with Zemanta]

2 responses to “WP Greet Box Fix

  1. Hmm…running thesis at http://www.jongriffith.com/personal and that solution didn’t solve the problem.

Leave a comment