I have pagination on my site like this:
Pages 1 2 3 4
⦠and so on. I am doing this by adding <--nextpage-->
where i want to split my long pages into multiple pages.
I want to add previous and next links to the page numbers that looks like this:
Prev 1 2 3 4 5 6 7 Next
Check out the
wp_link_pages
function