How to show recent posts without wordpress plugin
So many times we want to show recent posts without wordpress plugin in theme. Many people suggest to use wordpress plugin for showing the recent post.
For without refresh the data from home page if you want to show the pages and pagination in wordpress blog than you can use the following code for add ajax pagination in wordpress blog.
With the help of jquery you can easily add the pagination wordpress blog site. You just need to add the following code into header.php file.
just put above code in header.php file in head section. Just make sure that you are putting above code after wp_head function.
If you are not wordpress developer then dont use following code and If you are facing any issue then write to me on email@example.com