Server IP : 89.26.249.46  /  Your IP : 216.73.216.42
Web Server : Apache
System : Linux a.cp.cloudlink.pt 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
User : eticalga ( 1129)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/eticalga/www/files/themes/kobuxeticalgarve/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/eticalga/www/files/themes/kobuxeticalgarve/archive.php
<?php

/**
 * The template for displaying Archive pages.
 *
 * @package kobuxeticalgarve
 */

get_header();

$max_pages = $wp_query->max_num_pages;
$current_page = (get_query_var('paged')) ? get_query_var('paged') : 1;

?>

<div id="content">
    <?php include(locate_template('partials/page-top.php')); ?>

    <div class="site-content">
        <div class="container large">
            <?php get_template_part(
                'partials/archive-filters',
                '',
                array(
                    'posttype' => 'post'
                )
            ); ?>
        </div>

        <div class="container xlarge">
            <input id="posts-currentpage" type="hidden" name="currentpage" value="<?php echo $current_page; ?>">
            <div id="posts-wrapper">
                <?php if (have_posts()) { ?>
                    <?php kobuxeticalgarve_jump_page('prev', $current_page, $max_pages); ?>
                    <ul class="articles-list">
                        <?php
                        while (have_posts()) : the_post();
                            if ($post_type) {
                                get_template_part('content', 'list-' . $post_type);
                            } else {
                                get_template_part('content', 'list-post');
                            }
                        endwhile;
                        ?>
                    </ul>
                    <?php kobuxeticalgarve_jump_page('next', $current_page, $max_pages); ?>
                <?php } else { ?>
                    <ul class="articles-list empty-content">
                        <?php get_template_part('content', 'none'); ?>
                    </ul>
                <?php } ?>
            </div>
        </div>
    </div>
</div>

<?php get_footer(); ?>