
This is a simple and flexible pagination plugin which allow better navigation on your WordPress site.
Install
- Unzip the downloaded
tw-pagination
zip file - Upload the
tw-pagination
folder and its contents into thewp-content/plugins/
directory of your WordPress installation - Activate TW Pagination from Plugins page
Implement
For posts pagination:
- Open the theme files where you’d like pagination to be used. Usually this is the
loop.php
file. In some version of WordPress, you may need to update theindex.php
,archive.php
andsearch.php
files. - Replace your existing
previous_posts_link()
andnext_posts_link()
code block with the following:
<?php if(function_exists('tw_pagination')) tw_pagination(); ?>
For comments pagination:
- Open the theme file(s) where you’d like comments pagination to be used. Usually this is the
comments.php
file. - Replace your existing
previous_comments_link()
andnext_comments_link()
code block with the following:
<?php if(function_exists('tw_pagination_comments')) tw_pagination_comments(); ?>
Configure
- Configure the TW Pagination, if necessary, from the TW Pagination option in the Settings menu
- Modify
tw-pagination.css
file in plugin’s directory
Download
This plugin is free! Click here to download tw-pagination
plugin.
A really neat plugin for improving visitor experience on the blog/site.
Thanks a lot 🙂
Hi, thanks for the plugin. I just needed this for the comments page and it works!
Thanks 🙂
thanx for plugin..but it show the same posts for all page links..plz help me..
Sorry, but I do not understand what are you talking about? 🙂
Can you explain it better, or give me a link of your website?
Hello this editing to me is advance mode. lol
Im looking at the code and did the changes but after I saved it it gave me an error which I went back to the old code. Can you help me look what i need to edit since i have a custom theme name Doover.
thanks and great job just what i was looking for
Hello, I have problems using this plugin. Can u tell me what to do??? I have installed the plugin
and activated but whenever I click on to page number on my website’s homepage, it shows the main homepage always. I have also provided my website here. Please help me.
Hi,
You must do everything as is defined in ‘Implement’ section on this page.
I do not know how you got these numbers on the bottom, but you should add this code in your loop file:
I think that you did not add this code, and pagination number are not created via my plugin. Check your code where this HTML is:
Instead of this and everything that is inside of that you should add my code.
regards,
Igor
Thank you But there is no loop.php in my theme. Can you tell me why is it so??? and is there any other option as I don’t have loop.php???
I do not know your theme structure. 🙂
I told you which code to change with my, so go through each file in your theme and find that div.
OMG!! 😀 It means I will have to check out my theme thoroughly. I will go through it and see if it works but if it doesn’t work then can you tell any other way for that?? 🙂 and Thankx
There is no other way.
You must add PHP code to your theme if you want this plugin to wors. 🙂
Take a look on your index.php or home.php or category.php there must be something that output that page numbers on your website.
I showed you in which div that data is printed, so you must find that div.
A friend recommended this plugin for me, he said it’s great. I’m installing it now to see how it works 😀
Ok!! I will check it if this works.Thank you Igor 🙂
I am actually thankful to the owner of this website who has shared this
impressive piece of writing at here.
Hi,
Great plugin!
How can I order links to be generated in alphabetical order? And is there any way to set it to ‘order’=> ‘ASC’ ?Thanx.
Hi,
I am not able to use your plugin as i can not found the code which need to be replaced in my theme.
I am using pyramid theme. my website link is crazyforcode.com. Please help.
Hi,
I can not help you if you do not understand structure of your theme. Try to exam structure of your index.php or category.php file. There must be some loop that prints posts. So you should add code after that loop.
Only possible solution is to send me FTP for your website so I can try to add code for plugin.
Regards,
Igor
Can I just say that after finding WP Pagination | WordPress Pagination plugin | Vučković | Web Development by Igor Vučković on
Mambo, what a relief to uncover a person who ultimately understands what they’re writing about on the web. You certainly realize how to bring a problem to light and make it crucial. Many more people should really look at this and see this side of the story. I can’t believe you’re not more prevalent, because you most really possess the gift.
Dear Sir
I am using your pagination plugin and it works great in the categories page but it dosent work in my homepage, I tried changing all the code I found about navig but it just dosent work for me, could you help me with this?
It shows the page numbers but it redirects all the time to the front page
Kind regards
Adela
thanks for this plugin..it display paging if i click the second page it dis
play not found page ..how to solve it please help me..