'; } } add_action( 'wp_head', 'blogstart_pingback_header' ); 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 * * @param args $usermeta for getting customizer data. */ 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' ) ) { /** * * Author details function. */ function blogstart_post_author_details() { ?>
< id="comment-">