D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
vblioqus
/
y999-game.pro
/
wp-content
/
themes
/
infopediya
/
Filename :
archive.php
back
Copy
<?php /** * The template for displaying archive pages. * * This file is used to display a list of all posts belonging to a * category, tag, or other archive type. * * @package spration */ // Include the theme's header. get_header(); ?> <div id="primary" class="content-area"> <main id="main" class="site-main" role="main"> <?php if ( have_posts() ) : ?> <header class="page-header"> <?php // Display the archive title (e.g., "Category: Web Apps"). the_archive_title( '<h1 class="page-title">', '</h1>' ); the_archive_description( '<div class="archive-description">', '</div>' ); ?> </header><!-- .page-header --> <div class="post-list"> <?php // Start the WordPress Loop. while ( have_posts() ) : the_post(); /* * Include the styled content template for a post on an archive page. * This file is located at `template-parts/content-archive.php`. */ get_template_part( 'template-parts/content', 'archive' ); endwhile; ?> </div><!-- .post-list --> <?php // Display post navigation links (e.g., "Older Posts", "Newer Posts"). the_posts_navigation(); else : // If no posts are found, display a "No Content" message. get_template_part( 'template-parts/content', 'none' ); endif; ?> </main><!-- .site-main --> </div><!-- #primary --> <?php // Include the theme's footer. get_footer();