Add Pagination To WordPress

<?php
 echo paginate_links( array(
 'mid_size' => 3,
 'prev_text' => __( '« Prev', 'textdomain' ),
 'next_text' => __( 'Next »', 'textdomain' ),
 ) );
 ?>

Leave a Comment