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: Pagination in category.php  (Read 458 times)

0 Members and 1 Guest are viewing this topic.

Offline qubolabs

  • Newbie
  • *
  • Posts: 4
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: QuboLabs
Pagination in category.php
« on: 28 January 2010, 15:47 »
Hello everybody,

I'm develping a theme for a website and i'm using the categoy.php for "templating" the design of a category page.

In a category page i have to show 9 posts per page so i put the
<?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>

immediatly after the grid of posts.

My problem is that when i click to a link button of the plugin, it goes to the correct page but using the index.php template.

How can I still use the category.php page with pagenavi?

Thank you in advance,

I'm using wordpress 2.9, I haven't others plugins installed.

Bye
QuboLabs

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Pagination in category.php
« Reply #1 on: 28 January 2010, 15:58 »
This has nothing to do with PageNavi. Even if you use the default navigation included with WP, it will give you the same results. You need to know how WordPress templates works http://codex.wordpress.org/Template_Hierarchy and http://codex.wordpress.org/Template_Tags/query_posts works

++ 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 qubolabs

  • Newbie
  • *
  • Posts: 4
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: QuboLabs
Re: Pagination in category.php
« Reply #2 on: 28 January 2010, 22:36 »
Excuse me but i think i've not understood how that documents could help me, I think haven't understood at all the content...  :-[

May I write an archive page? Where may I write the code for displaying posts? Why have I to look for query_posts details?

Please help me, I'm sorry but I don't speak and understand english very good.  :-[

Bye
QuboLabs
« Last Edit: 28 January 2010, 23:15 by qubolabs »

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Pagination in category.php
« Reply #3 on: 29 January 2010, 03:36 »
I also have no idea why is this related to wp-pagenavi. It is more of a theme issue to me.

You can try create archive.php. Refer to the default theme as a guide.

++ 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.