| Server IP : 103.191.208.88 / Your IP : 216.73.216.44 Web Server : Microsoft-IIS/10.0 System : Windows NT COSMIC 10.0 build 20348 (Windows Server 2022) AMD64 User : IWPD_1831(willswel_) ( 0) PHP Version : 8.2.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : D:/Inetpub/vhosts/willswell.com/httpdocs/wp-content/themes/news-25/ |
Upload File : |
<?php
/**
* The template for displaying archive pages.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package News25
*/
get_header();
?>
<section id="post-section" class="post-section st-py-default3 archive-page">
<div class="container">
<div class="row gy-4">
<div id="av-primary-content" class="<?php esc_attr(news25_post_layout()); ?>">
<div class="row">
<?php if( have_posts() ): ?>
<?php while( have_posts() ) : the_post();
echo '<div class="'.esc_attr(news25_post_cols_layout()).'">';
get_template_part('template-parts/content/content','page');
echo '</div>';
endwhile; ?>
<!-- Pagination -->
<?php
// Previous/next page navigation.
the_posts_pagination( array(
'prev_text' => '<i class="fa fa-angle-double-left"></i>',
'next_text' => '<i class="fa fa-angle-double-right"></i>',
) ); ?>
<!-- Pagination -->
<?php else: ?>
<?php get_template_part('template-parts/content/content','none'); ?>
<?php endif; ?>
</div>
</div>
<?php get_sidebar(); ?>
</div>
</div>
</section>
<?php get_footer(); ?>