Pagination missing?

  • Author
  • #38794

    When using some templates (e.g. template-page-with-intro) I do not see the page navigation at the bottom of the page.

    When using the it for the news section it is there (

    Based on the php code (newby) of the template “template-page-with-intro” I would expect to see pagination.

    		</div><!-- #content-masonry -->

    How do I get the pagination to show on this and other templates?

    • This topic was modified 6 years ago by Louis.

    Got it to work for now. Maybe not a pretty solution due to my very limited PHP skills.

    For who might be interested. Created a modified version of “template-page-with-intro”template. After changing the loop from:
    $the_query = new WP_Query(....
    and from:
    while ( $the_query->have_posts() ) : $the_query->the_post();
    while ( have_posts() ) : the_post();
    seems to made it work

    Hopefully somebody else with experience in PHP will create a cleaner solution.

    • This reply was modified 6 years ago by Louis.
    • This reply was modified 6 years ago by Louis.
Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Pagination missing?’ is closed to new replies.