-
AuthorPosts
-
September 4th, 2016 at 21:24 #38794
When using some templates (e.g. template-page-with-intro) I do not see the page navigation at the bottom of the page.
(http://www.bcvijfsluizen.nl/media/videos/nieuws-2)When using the it for the news section it is there (http://www.bcvijfsluizen.nl/nieuws)
Based on the php code (newby) of the template “template-page-with-intro” I would expect to see pagination.
endwhile; fluida_pagination(); ?> </div><!-- #content-masonry -->How do I get the pagination to show on this and other templates?
-
This topic was modified 9 years ago by
Louis.
September 7th, 2016 at 12:07 #38842Got 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(....
into:
query_posts(....
and from:
while ( $the_query->have_posts() ) : $the_query->the_post();
into:
while ( have_posts() ) : the_post();
seems to made it workHopefully somebody else with experience in PHP will create a cleaner solution.
-
This topic was modified 9 years ago by
-
AuthorPosts
The topic ‘Pagination missing?’ is closed to new replies.