Pagination in pages (not posts) with the twentythirteen theme?

Question

I wrote a very long page with a lot of content and would like to add a pagination to make it more readable. I added in the texteditor several <!–-nextpage–-> but it doesn’t create any pagination, although in the default twentythirteen page template the wp_link_pages function is called

<?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?>

I’m using a child theme with little customizations but I also can’t get it to work with the default twentythirteen theme with no child theme and customizations.
How can I get a pagination on my page?

0
, Kimberley Furson 2 years 2020-01-05T09:42:02-05:00 0 Answers 93 views 0

Leave an answer

Browse
Browse