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>
<script type=”text/javascript” src=”http://example.com/wp-content/plugins/wp-greet-box/js/functions.js”></script>
<script type=”text/javascript” src=”http://example.com/wp-content/plugins/wp-greet-box/js/onload.js”></script>
</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.
Hmm…running thesis at http://www.jongriffith.com/personal and that solution didn’t solve the problem.
Huh well it was working on the site I was using it for. I’ll have to double check that.