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.
![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=070db85b-eb25-4e5d-9218-0a266cc328e3)
0 responses so far ↓
There are no comments yet...Kick things off by filling out the form below.