'; $output = '
'; if ($option['active_buttons']['facebook_like']==true) { $output .= '
'; } if ($option['active_buttons']['twitter']==true) { $data_count = ($option['twitter_count']) ? 'horizontal' : 'none'; if ($option['twitter_id'] != ''){ $output .= '
'; } else { $output .= '
'; } } if ($option['active_buttons']['Google_plusone']==true) { $output .= '
'; } $output .= '
'; return $output; } function simple_social_share_shortcode () { $output = simple_social_share('shortcode'); echo $output; } function facebook_like_thumbnails() { global $posts; $default = ''; $content = $posts[0]->post_content; // $posts is an array, fetch the first element $output = preg_match_all( '//i', $content, $matches); if ( $output > 0 ) { $thumb = $matches[1][0]; echo "\n\n\n\n\n"; } else $thumb = $default; } ?>