No Paging visible on custom theme
-
Hi. Your integration docs show options for the standard wordpress themes (twentyThirteen etc.) I have a custom theme that uses the code below. I tried replacing “twentyFifteen” with my theme name (“thermal”) but it doesn’t work. I tried upper and lower case.
<?php $the_query = new WP_Query( 'posts_per_page=8'); ?> <?php while ($the_query -> have_posts()) : $the_query -> the_post(); ?> // render title, excerpt etc here <?php endwhile; the_posts_pagination( array( 'prev_text' => __( 'Previous page', 'Thermal' ), 'next_text' => __( 'Next page', 'Thermal' ), 'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'Thermal' ) . ' </span>', ) ); wp_reset_postdata(); ?>
Thank you in advance for your help.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘No Paging visible on custom theme’ is closed to new replies.