'
', 'before_title' => '', ) ); // returns the title of the current archive page wrapped in a specified tag function archive_title() { if( is_category() ) { $type = 'Category Archive'; $for = single_cat_title( '', false ); } elseif( is_tag() ) { $type = 'Tag Archive'; $for = single_tag_title( '', false ); } elseif( is_search() ) { $type = 'Search Results'; $for = get_search_query(); } elseif( is_year() ) { $type = 'Yearly Archive'; $for = the_date( 'Y' ); } elseif( is_month() ) { $type = 'Monthly Archive'; $for = the_date( 'F, Y' ); } elseif( is_day() ) { $type = 'Daily Archive'; $for = the_date(); } return '