wp_list_pages的结果分页

问题描述 投票:0回答:1

我正在使用此代码显示页面的子页面:

<ul class="llista-residus">
    <?php
    global $id;
    wp_list_pages( array(
        'title_li'    => '',
        'child_of'    => $id,
        'show_date'   => 'modified',
        'date_format' => $date_format,
    ) );
    ?>
</ul>

我有很多结果,所以我想将它们显示在不同的页面中,并按字母顺序进行分页。我尝试了不同的解决方案,但没有用(我的php概念非常基础...)。有什么主意吗?

非常感谢

php wordpress pagination
1个回答
0
投票

docs

© www.soinside.com 2019 - 2024. All rights reserved.