apsc_settings;
$cache_period = ($apsc_settings[ 'cache_period' ] != '') ? esc_attr( $apsc_settings[ 'cache_period' ] ) * 60 * 60 : 24 * 60 * 60;
$apsc_settings[ 'social_profile_theme' ] = isset( $atts[ 'theme' ] ) ? esc_attr( $atts[ 'theme' ] ) : esc_attr( $apsc_settings[ 'social_profile_theme' ] );
$format = isset( $apsc_settings[ 'counter_format' ] ) ? esc_attr( $apsc_settings[ 'counter_format' ] ) : 'comma';
?>
get_count( $social_profile );
$count = ($count != 0) ? $this -> get_formatted_count( $count, $format ) : $count;
switch ( $social_profile ) {
case 'facebook':
include(SC_PATH . 'inc/frontend/social_network/div/facebook.php');
break;
case 'twitter':
include(SC_PATH . 'inc/frontend/social_network/div/twitter.php');
break;
case 'googlePlus':
include(SC_PATH . 'inc/frontend/social_network/div/googlePlus.php');
break;
case 'instagram':
include(SC_PATH . 'inc/frontend/social_network/div/instagram.php');
break;
case 'youtube':
include(SC_PATH . 'inc/frontend/social_network/div/youtube.php');
break;
case 'soundcloud':
include(SC_PATH . 'inc/frontend/social_network/div/soundcloud.php');
break;
case 'dribbble':
include(SC_PATH . 'inc/frontend/social_network/div/dribbble.php');
break;
case 'posts':
include(SC_PATH . 'inc/frontend/social_network/div/posts.php');
break;
case 'comments':
include(SC_PATH . 'inc/frontend/social_network/div/comments.php');
break;
default:
break;
}
?>