'; } } add_action( 'wp_head', 'blogstart_pingback_header' ); /** * blogstart functions and definitions * * @package blogstart */ if (! function_exists('blogstart_popular_post')) { /** * blogstart functions and definitions * * @param string $postid For Catching Post ID. * @package blogstart */ function blogstart_popular_post($postid) { $metakey = 'blogstart_post_views'; $views = get_post_meta($postid, $metakey, true); $count = (empty($views) ? 0 : $views); $views++; update_post_meta($postid, $metakey, $count); } } /** * Author Social Profile */ function blogstart_author_social_profile($usermeta){ $usermeta['facebook'] = __( 'Facebook', 'blogstart' ); $usermeta['twitter'] = __( 'Twitter', 'blogstart' ); $usermeta['linkedin'] = __( 'Linkedin', 'blogstart' ); $usermeta['googleplus'] = __( 'Google Plus', 'blogstart' ); return $usermeta; } add_filter('user_contactmethods', 'blogstart_author_social_profile'); if (!function_exists('blogstart_post_author_details')) { function blogstart_post_author_details(){ ?>
< id="comment-">