File manager - Edit - /home/vblioqus/y999-game.pro/wp-content/themes/infopediya/archive-apps.php
Back
<?php /** * The template for displaying the "Apps" custom post type archive. * * This file will be used to display a list of all posts from the * custom post type named 'apps'. * * @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"> <!-- Dynamically displays a title like "Apps" --> <h1 class="page-title"> <?php post_type_archive_title( '', true ); ?> </h1> </header><!-- .page-header --> <?php // Start the WordPress Loop to display each 'app' post. while ( have_posts() ) : the_post(); /* * Include the specific content template for a single 'app'. * WordPress will look for 'template-parts/content-app.php'. * If not found, it will fall back to 'template-parts/content.php'. */ get_template_part( 'template-parts/content', 'app' ); endwhile; // Display post navigation links (e.g., "Older Posts", "Newer Posts"). the_posts_navigation(); else : // If no 'apps' 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