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: check for additional pages?  (Read 539 times)

0 Members and 1 Guest are viewing this topic.

Offline magestik

  • Newbie
  • *
  • Posts: 1
    • View Profile
check for additional pages?
« on: 24 October 2009, 01:24 »
Hey, love the plugin. Just a quick question, I looked through forums but couldn't find anything. In the options, there is an option for 'always show pagenavi' which works great, but the problem is that I have a background behind the pagenavi, so if the pagenavi isn't going to show, I want to hide the div that the pagenavi is contained in. Is it possible to check if the pagenavi will show? Or check how many pages there are or something along those lines?

For example, I would like to do this (pseudocode):

<?php if page_navi will show ?>
<div class="page_navi">
<?php
if(function_exists('wp_pagenavi')){
 wp_pagenavi();
} ?>
?>
</div>
?>

Thanks a bunch! Take care,
Dave

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: check for additional pages?
« Reply #1 on: 24 October 2009, 01:30 »
There is no such function to check available in wp-pagenavi. If you are interested in a paid modification, I can do it.

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