How to print the Addthis block code into a template I've installed the AddThis module and am trying to print the buttons on my template, however I can't get it to work. Here's the I'm using:

$addblock = module_invoke('addthis','block_view','addthis_block');
print render($addblock['content']);


For the record, If I switch to Bootstrap theme, the links are displayed on the page, if I switch to my own theme (Bootstrap child-theme) it doesn't. I've copied the code verbatim from modules/node/node.tpl.php and it still doesn't work.

Any suggestions?
did you enable the Display Setting in your addthis block configuration because code is good go it working for me, so go and configure the display setting surely it will work.. its under admin/structure/block/manage/addthis/addthis_block/configure enable it as you need by "Basic button or Basic Toolbar"...