This is a short tutorial about wordpress page navigation.
Are you trying to add page navigation in wordpress blog?
If yes, then this short tutorial will defiantly going to help you setup easy wp page navigation.
You might have come across or you are using a blog theme that don’t have proper page navigation system in built. Like the theme that I was using earlier for my blog (changed theme for blog).
Theme that I was using showed Older post and New Post text links by default in page navigation. But I wanted page number navigation for my blog, so I decided to change it.
I did so using a free wordpress page navigation plugin.
In this post, I am going to show you how I have replaced older pagination with new number pagination. There is a video as well at the bottom of this post. Video will help you understand process better. So please do check out video too.
So let’s start now.
WordPress Page Navigation Plugin
To add or to replace default wordpress page pagination you first need to find Page Navigation Plugin. I will recommend Easy WP Page Navigation, this is the best, easy to use and customize plugin.
There are lots of other plugins too, that will allow you to do the same. It’s up on you which plugin you want to use. You can search for plugins on wordpress.org.
How to Setup Page Navigation Plugin?
Setup process for this plugin is really simple and quick. It will just take few minutes.
- Search plugin in wordpress.org. Download or Go to Plugin > Add New in your WordPress dashboard and search for plugin “Easy WP Page Navigation”
- Install and activate plugin
- Now find the plugin under Settings, setup page navigation setting according to your website and save all changes you made.
- To add new wordpress page navigation to blog, you need to add short php code in to your website code.
The php short-code for Easy WP Page Nav is
<?php echo easy_wp_pagenavigation(); ?>
You can also get this code from Easy WP Page Nav plugin installation page.
Now to add code in website, open your index.php file and look for default page navigation code and replace it with new php code (be careful while replacing or adding code to php file).
In my case the default navigation code (Pro Theme) was like this:
<div class="btn btn-style pull-left"><?php next_posts_link( '« Older Posts' ); ?></div>
<div class="btn btn-style pull-right"><?php previous_posts_link( 'Newer Posts »' ); ?></div>
After replacing the code save the file, now you should be able to see new pagination on your blog.
You can also check out the video tutorial below for reference.
Check out our Youtube Channel for more video tutorials.
If you still face any issue while adding wordpress page navigation to your blog, please let me know in comment section. I will try my best to fix your issue.
And if you like this post, there are many more relevant short tutorial posts on wordpress written please do check out them as well.
Also if you have any suggestions regarding this blog please do let me know – firstname.lastname@example.org