DEV Community

kumamon
kumamon

Posted on

【WordPress】ページネーションの挿入

<nav class="pagination-area">
    <?php
    the_posts_pagination( array (
      'prev_text' => 'PREV',
      'next_text' => 'NEXT',
      'mid_size'  => 2
    ) );
    ?>
    </nav>

Top comments (0)