= 2 || $page >= 2 ) $title = "$title $sep " . sprintf( _e( 'Page', 'appointment' ), max( $paged, $page ) ); return $title; } add_filter( 'wp_title', 'appointment_title', 10,2 ); add_filter('get_avatar','appointment_add_gravatar_class'); function appointment_add_gravatar_class($class) { $class = str_replace("class='avatar", "class='img-circle", $class); return $class; } function appointment_add_to_author_profile( $contactmethods ) { $contactmethods['facebook_profile'] = __('Facebook Profile URL','appointment'); $contactmethods['twitter_profile'] = __('Twitter Profile URL','appointment'); $contactmethods['linkedin_profile'] = __('Linkedin Profile URL','appointment'); $contactmethods['google_profile'] = __('Google Profile URL','appointment'); return $contactmethods; } add_filter( 'user_contactmethods', 'appointment_add_to_author_profile', 10, 1); /********** Image Resize *************/ if ( function_exists( 'add_image_size' ) ) { add_image_size('appointment_latest_news_img',190,190,true); add_image_size('webriti_blogdetail_img',750,350,true); add_image_size('webriti_blogright_img',270,260,true); } function appointment_excerpt_length( $length ) { return 25; } add_filter( 'excerpt_length', 'appointment_excerpt_length', 999 ); function appointment_excerpt_more($more) { global $post; return '
"; } add_filter('excerpt_more', 'appointment_excerpt_more'); ?>