File manager - Edit - /home/vblioqus/y999-game.pro/wp-content/themes/infopediya/archive.php
Back
<?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();
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0.29 |
proxy
|
phpinfo
|
Settings