<?php
if ($page->path == "/blog/posts/"){
echo "<script type='text/javascript' src='//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-55e5693b9add30c6'></script>";
}
?>
I'm trying to output a script on my blog posts only. They're all children of /blog/posts/ so I thought the above might work....