No I don’t have wp_head and wp_footer. They mess up my Nextgen gallery. I had an issue with some jquery on a different site, where instead of adding wp_head/footer, I added these three lines to my header:
<script type='text/javascript' src='https://ncfg.dk/wp-includes/js/l10n.js?ver=20101110'></script>
<script type='text/javascript' src='https://ncfg.dk/wp-includes/js/jquery/jquery.js?ver=1.6.1'></script>
<script type='text/javascript' src='https://ncfg.dk/wp-includes/js/jquery/jquery.form.js?ver=2.73'></script>
Which did the the trick there, but it doesn’t work here. Are wp_head and footer mandatory to make your plugin work?
And yes, it does work with the default theme.
EDIT: It works :). I just added this code to my footer instead of wp_footer:
<div id="fb-root"></div>
<script type="text/javascript">
window.fbAsyncInit = function() {
FB.init({appId: '196828327005607', status: true, cookie: true, xfbml: true });
};
(function() {
var e = document.createElement('script'); e.async = true;
e.src = document.location.protocol +
'//connect.facebook.net/en_US/all.js';
document.getElementById('fb-root').appendChild(e);
}());
</script>
Thanks!
M