` description text. * * @return string */ public function archimedes_page_description() { $object = get_queried_object(); $output = get_bloginfo( 'description', 'display' ); if ( is_singular() and has_excerpt() and !is_home() ) { $output = get_the_excerpt(); } else if ( ( is_category() or is_tag() or is_tax() ) and $object->description ) { $output = $object->description; } elseif ( is_author() and $bio = get_user_meta( $object->ID, 'description', true ) ) { $output = $bio; } $output = 140 < strlen( $output = strip_tags( $output ) ) ? substr( $output, 0, 132 ) . '…' : $output; return esc_attr( $output ); } /** Return posts paged navigation. * * @param mixed $class CSS classes or an array of classes to add to the