File manager - Edit - /home/vblioqus/y999-game.pro/wp-content/themes/infopediya/category.php
Back
<?php /** * The template for displaying archive pages for a specific category. * * This file is used to display a list of all posts belonging to a * category. * * @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"> <!-- Display the category title --> <h1 class="page-title"> <?php single_cat_title(); ?> </h1> <?php // Display the category description if it exists. $category_description = category_description(); if ( ! empty( $category_description ) ) : ?> <div class="archive-description"> <?php echo $category_description; ?> </div> <?php endif; ?> </header><!-- .page-header --> <?php // Start the WordPress Loop. while ( have_posts() ) : the_post(); /* * Include the content template for each post. * WordPress will look for 'template-parts/content.php'. */ get_template_part( 'template-parts/content', get_post_format() ); endwhile; // Display post navigation links (e.g., "Older Posts", "Newer Posts"). the_posts_navigation(); else : // If no posts are found in this category, 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: 1.13 |
proxy
|
phpinfo
|
Settings