I’ve added the code I found on the support forums for adding social sharing buttons to the bottom of blog posts, but it isn’t showing up for me. It’s at the bottom of my functions.php in my child theme folder. I’m pretty sure I got it to work a few months ago, but now I can’t make it work on either my regular site nor my dev site, so I’m not sure what I’m doing incorrectly and would appreciate guidance. I have added the shortcode for the sharing buttons to my most recent blog posts in the meantime, so you’ll see that showing up.
This is the code I’ve added:
function x_add_social_sharing ( $content ) {
if ( is_singular('post') ) {
echo do_shortcode('[x_share title="Share this Post" facebook="true" twitter="true" google_plus="true" linkedin="true" pinterest="true" reddit="true" email="true"]');
}
}
add_action('x_before_the_content_end', 'x_add_social_sharing');
The code is on both http://schoolencasa.com and http://dev.schoolencasa.com.
Thanks for your assistance!

