have_posts()) : ?> have_posts()) : $esmp_query->the_post(); ?> ID, 'esml_socialcount_TOTAL', true); $total_esmp = intval($total_esmp); if ($total_esmp == 0) { continue; } ?> ID == $current_post_id && is_single()) ? 'active' : ''; ?>

ID, 'esml_socialcount_TOTAL', true); ?> '; echo ''; echo ''; echo ''; ?> ID, "esmp_data", true); //$data = unserialize($current_post_data); $data = array(); $services = array( 'facebook' => 'Facebook', 'twitter' => 'Twitter', 'googleplus' => 'Google Plus', 'linkedin' => 'LinkedIn', 'pinterest' => 'Pinterest', 'diggs' => 'Digg.com', 'delicious' => 'Delicious', 'stumbleupon'=> 'Stumble Upon' ); foreach ($services as $key => $name) { $data[$key] = get_post_meta($post->ID, "esml_socialcount_".$key, true); } foreach ($data as $key => $value) { echo ''; echo ''; echo ''; echo ''; } ?>

ID, 'category', '', ', '); if ($instance['show_cats'] && $categories) : ?>
:
ID, 'post_tag', '', ', '); if ($instance['show_tags'] && $tags) : ?>
ID, $name, true); if ($custom_field_values) : ?>