Hi FreeAgent,
If I get you right, then you have a page with name "blog" under the homepage. If the current page is a child of "blog", you want to display the shares, right?
if ($page->rootParent->name == "blog") {
echo "social share stuff";
}
// if this doesn't work, you can try additionally
if ($page->rootParent->name == "blog" && $page->name != "blog") {
echo "social share stuff";
}
PS: the editor button with this sign: <> opens a box for code.