Archives by Month

Support this Site!

You may have noticed that there's very little third-party advertising on this site. I'd like to keep it that way. Here's how you can help:

  • Buy my books. They're available at great prices on Amazon.com.
  • Check out my training videos on Lynda.com. It's a great source for "all you can eat" training.
  • Donate a few dollars. It'll help cover my hosting costs and give you a chance to tell me what you want to see covered here.
  • Comment on blog posts. You can help get a discussion going that can benefit others, making the site more valuable for everyone.
May 2nd, 2006

Easy WordPress Site Stats

No plugin required! ActivityWhen I first started using WordPress, it kind of bugged me that the only place I could see a count of posts, categories, and comments was in the Dashboard. I wanted that information available to site visitors, too. So I rolled up my sleeves, took out my favorite text editor (TextWrangler), and began exploring WordPress template files. I found what I was looking for right in the index.php file in the wp-admin folder. That's the file that displays the Dashboard administration panel. I did a search for Blog Stats (the heading under which the information I wanted appeared). I found the following code:

Blog Stats


Fatal error: Call to a member function get_var() on a non-object in /home2/aneclect/public_html/mariasguides/wp-content/plugins/exec-php/includes/runtime.php(42) : eval()'d code on line 13