1
  1. REQUIRED: The theme doesn't have post pagination code in it. Use posts_nav_link() or paginate_links() or the_posts_pagination() or the_posts_navigation() or next_posts_link() and previous_posts_link() to add post pagination.
  2. REQUIRED: Could not find wp_link_pages. See: wp_link_pages

above are theme-check plugin warning.

On the basis of Implementation, what is the difference between the two.

Please validate my understanding →

1 is for front/homepage in WordPress

2 is for single posts

Right?

Community
  • 1
  • 1
WordCent
  • 725
  • 3
  • 18
  • 1
    Yes, 1/ It is for all the pages wich contain multiple post preview (like a /blog/ page), 2/ wp_link_pages is for display page-links for paginated within posts – Paul Oct 10 '17 at 08:04

1 Answers1

1

Yes,

1/ It is for all the pages wich contain multiple post preview (like a /blog/ page),

2/ wp_link_pages is for display page-links for paginated within posts

Paul
  • 380
  • 1
  • 10
  • Can you please delete the answer so that I can delete the question? – WordCent Jan 27 '18 at 18:20
  • @designtocode He was answered correctly. From the doc-block of `wp_link_pages()` said _Displays page links for paginated posts (i.e. including the ``Quicktag one or more times)._ And the doc-block of `the_posts_pagination()` said. _Displays a paginated navigation to next/previous set of posts, when applicable._ – vee Jan 08 '22 at 05:26
  • @somethingnow Please don't delete this question, it is useful for the others too. (Upvoted both of you). – vee Jan 08 '22 at 05:27
  • Hi @vee this was posted a few years ago and I must have read the question incorrectly. – designtocode Jan 09 '22 at 13:50