function facebookall_add_socialshre($content)
{
    $fball_settings = get_option('fball_settings');
    global $post;
    $html = facebookall_get_socialshre();
    if (isset($fball_settings['share_home']) && is_front_page() || isset($fball_settings['share_posts']) && is_single() || isset($fball_settings['share_pages']) && is_page() || isset($fball_settings['share_postexcerpts']) && has_excerpt() || isset($fball_settings['share_archives']) && is_archive() || isset($fball_settings['share_feed']) && is_feed()) {
        if (isset($fball_settings['share_top']) && isset($fball_settings['share_bottom'])) {
            $content = $html . '<br/>' . $content . '<br/>' . $html;
        } else {
            if (isset($fball_settings['share_top'])) {
                $content = $html . $content;
            } elseif (isset($fball_settings['share_bottom'])) {
                $content = $content . $html;
            }
        }
    }
    return $content;
}
function facebookall_share_shortcode()
{
    return facebookall_get_socialshre();
}