How to add pagination in wordpress blog page to navigation

 According to posts set post per page from dashboard Setting -> reading option.

First go to index.php where all blog post listed before closing last div add php function like below

  </div>
  <?php }
  echo paginate_links();
  ?>
</div>

and save that and check blog page.

Now check complete go to dashboard again set per page post to 10.

Comments

Popular posts from this blog

Basics Of PHP

Creating App.js for Node Application

WordPress Full Guide For Developer