?php/** * The tag template. Used when a tag is queried. */get_header();$page_html = '';if (have_posts()) { if (is_day()) : $page_html .= 'Daily Archives ' . get_the_date(); elseif (is_month()) : $page_html .= 'Monthly Archives ' . get_the_date(); elseif (is_year()) : $page_html .= 'Yearly Archives ' . get_the_date(); else : $page_html .= 'Archives ' . get_the_date(); endif; $page_html.='
'; while ( have_posts() ) : the_post(); global $post; $page_html.= ''. $post->post_title.'
'; endwhile;} else { $page_html = 'No record found';}?>

tag.php page used


© 2024 Copyright by soapysudswash.com All rights reserved