display_name; $description = get_the_author_meta( 'description' ); $feed_link = get_author_feed_link( $GLOBALS['authordata']->ID ); }elseif( is_date() ){ $dashicons = 'calendar'; if( is_day() ) $format = __( 'Y年m月d日', 'Bing' ); elseif( is_month() ) $format = __( 'Y年m月', 'Bing' ); else $format = __( 'Y年', 'Bing' ); $name = get_the_date( $format ); $description = sprintf( __( '%s发布的文章', 'Bing' ), $name ); }elseif( is_post_type_archive() ){ $dashicons = 'clipboard'; $name = get_queried_object()->labels->name; $description = get_queried_object()->description; }else{ $dashicons = is_tag() ? 'tag' : 'category'; $name = single_term_title( '', false ); $description = term_description(); $feed_link = get_term_feed_link( get_queried_object_id(), get_queried_object()->taxonomy ); } $description = strip_tags( $description ); ?>