All Good Things Must Come To An End

As you all know, I have been doing WordPress plugins and supporting it for the past 6 years. These 6 years of my life, I have been through my polytechnic education, my national service as well as my university education.

I just graduated from university in December 2009 and have been looking for full-time jobs. I am offered a full-time job and will be starting work on 1st February 2010.

I regret to say that I am NOT ABLE to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

However, I WILL still update my plugins whenever I can and you still can report bugs to me via email and I will try to fix it.


Author Topic: Next & Previous Link Not working - pagination yes  (Read 795 times)

0 Members and 1 Guest are viewing this topic.

Offline get_tags

  • Newbie
  • *
  • Posts: 6
    • View Profile
Next & Previous Link Not working - pagination yes
« on: 14 January 2010, 02:49 »
Hi,

Thanks for developing this plugin and most importantly helping all these people out in the forums. I have searched a while but dont seem to find the answer to my problem.

For me, wp-page navi works in that I can see and use the pagination fine, but the next & previous links only appear as text, and not links. First & Last links also work fine.

When I try to manually add the next & previous links from the wordpress codex, i can't make them appear on the index.php, but i can on single.php.

I am using the latest WP and WP-Pagenavi with a custom, simple theme. same problem when changing to default theme. My url: http://bit.ly/PEWJN

So in essence my question is: Why are the next/previous links appearing next to a functioning pagination, but do not function as a clickable link? Does it have to do with a loop issue? Thank you for any help!

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Next & Previous Link Not working - pagination yes
« Reply #1 on: 14 January 2010, 06:42 »
WP-PageNavi and the default WP navigation (found in the default theme) cannot be place within the post loop, it needs to be place out of the loop.

The Next/Previous Post link for WP is for single.php only. and WP-PageNavi does not work in single.php because it is meant to pagination pages of post and not post itself.

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline get_tags

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Next & Previous Link Not working - pagination yes
« Reply #2 on: 14 January 2010, 17:06 »
Hi, thanks for the amazing response time!!

This clears a few things up.

My follow-up question is, If I can see the pagination on the index.php page - does that mean I have correctly placed wp-pagenavi outside the post loop?

If I cannot use the next/previous POST in index.php, can I add next/previous PAGE?

This would be nice because I am using a one post per page wordpress theme.

Thanks again for any input!!

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Next & Previous Link Not working - pagination yes
« Reply #3 on: 14 January 2010, 19:10 »
1. Yeap
2. Sorry don't get you on this. Next/Previous page?

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline get_tags

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Next & Previous Link Not working - pagination yes
« Reply #4 on: 14 January 2010, 22:07 »
1. Good to know.
2. Basically there seems to be some kind of problem with my next/previous page links.

previous 1 2 3 4 5 next

this is the format that I have on my index.php by calling wp-pagenavi using the code provided in the readme.

The pagination (that is the numbers) work fine and I can navigate using this, but the next and previous only appears as text, and not a link.

Is there something I can do to fix this?

thanks for any help!

my url: http://bit.ly/PEWJN

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Next & Previous Link Not working - pagination yes
« Reply #5 on: 15 January 2010, 07:20 »
Hmm, it seems that is is still within the loop. I have no experience with your theme, so you might want to change to the default theme and place the pagenavi code after
Code: [Select]
<?php endwhile; ?> in index.php to see if you got the next.

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline get_tags

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Next & Previous Link Not working - pagination yes
« Reply #6 on: 15 January 2010, 16:11 »
Hi!

Thank you for guiding me through this troubleshoot.

After deactivating all plugins suddenly the culprit was discovered: jquery page slide plugin.

Everything seems to be working now.

Thank you again!


Offline liciousx

  • Newbie
  • *
  • Posts: 2
    • View Profile
  • WordPress Version: WordPress 2.8.x
  • Theme Name: ephoto
Re: Next & Previous Link Not working - pagination yes
« Reply #7 on: 16 January 2010, 13:03 »
Hey thanks,
I had the same problem with an other site  ;D