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: display stats outside the stats page  (Read 5963 times)

0 Members and 1 Guest are viewing this topic.

Offline ayushsaran

  • Newbie
  • *
  • Posts: 7
    • View Profile
display stats outside the stats page
« on: 26 March 2007, 02:57 »
Im trying to display a few stats on the main page

probably in my footer

all i need is total posts, comments, pages, categories, tags [ultimate tag warrior]

is there a way to call these stats outside the blog/stats/ page

thanks


wp 2.1.2 - latest stats plugin

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: display stats outside the stats page
« Reply #1 on: 26 March 2007, 04:15 »
as in outside wordpress?

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

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: display stats outside the stats page
« Reply #2 on: 26 March 2007, 04:22 »
within wordpress but on a page other than the stats page

id like to put it in the footer and have it show throughout the website

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: display stats outside the stats page
« Reply #3 on: 26 March 2007, 08:02 »
can be done, take a look at stats.php.

So for example you want to print out total post, just do this:
Code: [Select]
<?php get_totalposts(); ?>

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

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: display stats outside the stats page
« Reply #4 on: 26 March 2007, 09:49 »
perfect

thanks a million

Offline Ttech

  • Official Support
  • Global Moderator
  • *****
  • Posts: 4,296
    • View Profile
Re: display stats outside the stats page
« Reply #5 on: 28 March 2007, 01:47 »
Glad it works... :)
Learning and Helping one day at a time.




DevNode.org Operator - The IRC network for Programers