| Server IP : 172.64.80.1 / Your IP : 216.73.216.175 Web Server : LiteSpeed System : Linux srv13.swhc.ca 4.18.0-553.126.2.lve.el8.x86_64 #1 SMP Thu May 28 14:12:30 UTC 2026 x86_64 User : hongluck ( 2522) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/hongluck/public_html/wp-content/themes/alizee/ |
Upload File : |
<?php /** * The template for displaying Archive pages. * * Learn more: http://codex.wordpress.org/Template_Hierarchy * * @package Alizee */ get_header(); ?> <section id="primary" class="content-area"> <main id="main" class="site-main" role="main"> <?php if ( have_posts() ) : ?> <header class="page-header"> <h1 class="page-title"> <?php if ( is_category() ) : single_cat_title(); elseif ( is_tag() ) : single_tag_title(); elseif ( is_author() ) : printf( __( 'Author: %s', 'alizee' ), '<span class="vcard">' . get_the_author() . '</span>' ); elseif ( is_day() ) : printf( __( 'Day: %s', 'alizee' ), '<span>' . get_the_date() . '</span>' ); elseif ( is_month() ) : printf( __( 'Month: %s', 'alizee' ), '<span>' . get_the_date( _x( 'F Y', 'monthly archives date format', 'alizee' ) ) . '</span>' ); elseif ( is_year() ) : printf( __( 'Year: %s', 'alizee' ), '<span>' . get_the_date( _x( 'Y', 'yearly archives date format', 'alizee' ) ) . '</span>' ); elseif ( is_tax( 'post_format', 'post-format-aside' ) ) : _e( 'Asides', 'alizee' ); elseif ( is_tax( 'post_format', 'post-format-gallery' ) ) : _e( 'Galleries', 'alizee'); elseif ( is_tax( 'post_format', 'post-format-image' ) ) : _e( 'Images', 'alizee'); elseif ( is_tax( 'post_format', 'post-format-video' ) ) : _e( 'Videos', 'alizee' ); elseif ( is_tax( 'post_format', 'post-format-quote' ) ) : _e( 'Quotes', 'alizee' ); elseif ( is_tax( 'post_format', 'post-format-link' ) ) : _e( 'Links', 'alizee' ); elseif ( is_tax( 'post_format', 'post-format-status' ) ) : _e( 'Statuses', 'alizee' ); elseif ( is_tax( 'post_format', 'post-format-audio' ) ) : _e( 'Audios', 'alizee' ); elseif ( is_tax( 'post_format', 'post-format-chat' ) ) : _e( 'Chats', 'alizee' ); else : _e( 'Archives', 'alizee' ); endif; ?> </h1> <?php // Show an optional term description. $term_description = term_description(); if ( ! empty( $term_description ) ) : printf( '<div class="taxonomy-description">%s</div>', $term_description ); endif; ?> </header><!-- .page-header --> <?php /* Start the Loop */ ?> <?php while ( have_posts() ) : the_post(); ?> <?php /* Include the Post-Format-specific template for the content. * If you want to override this in a child theme, then include a file * called content-___.php (where ___ is the Post Format name) and that will be used instead. */ get_template_part( 'content', get_post_format() ); ?> <?php endwhile; ?> <?php alizee_paging_nav(); ?> <?php else : ?> <?php get_template_part( 'content', 'none' ); ?> <?php endif; ?> </main><!-- #main --> </section><!-- #primary --> <?php get_sidebar(); ?> <?php get_footer(); ?>