<?php

namespace core_next;
$post_list = WordPress::getLoopPostList();
$post_list = Theme::handleRandomThumbnail($post_list);
$arr['plane_name'] = 'div';
$arr['plane_class_name'] = 'post-list';
?>
<div class="post-list-warp post-list-warp-archive">
    <div class="archive-title">
        <?php echo get_the_archive_title() ?>
    </div>
    <?php Template::echoListTemplateHtmlByDOMDocument('post-item', $post_list, $arr, 'post_list'); ?>
    <div class="list-footer">
        <el-pagination
            background
            layout="prev, pager, next"
            :page-count="total_page"
            :current-page="now_page"
            :hide-on-single-page="true"
            @current-change="changePage"
            :pager-count="5"
        >
        </el-pagination>
    </div>
</div>


