File manager - Edit - /home/vblioqus/y999-game.pro/wp-content/themes/infopediya/template-blog.php
Back
<?php /** * The template for displaying the blog posts index. * * This is the template file used to display a list of all posts * when a static front page is set and a "Posts page" is assigned * in Settings > Reading. * * @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 title of the posts page, e.g., "Blog" --> <h1 class="page-title"> <?php single_post_title(); ?> </h1> </header><!-- .page-header --> <?php // Start the WordPress Loop to display each post. while ( have_posts() ) : the_post(); /* * Include the specific content template for a single post. * This file is located at `template-parts/content-post.php`. * If not found, it will fall back to `template-parts/content.php`. */ get_template_part( 'template-parts/content', 'post' ); endwhile; // 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 |
proxy
|
phpinfo
|
Settings