Home » How To's » WordPress: Post Countdown Plugin

WordPress: Post Countdown Plugin

UPDATE: Support for this plugin has moved to Headway Marketing.

Have you ever wanted to countdown to a milestone post? Here is the code needed to display a countdown to, say your 1000th post.

<?php
$post_count = wp_count_posts();
$published_posts = $post_count->publish;
$countdown = 1000-$published_posts;
echo $countdown;
?>

Update: Now You Can Use This Handy Plugin

Download Plugin: WordPress Post Countdown Plugin

WordPress Post Countdown Plugin

Plugin Features

  • Use a title or don’t use a title, it’s there if you want it.
  • Add some text before and after the countdown number
  • Countdown to what ever post milestone you want

Plugin Installation

Simply unzip the file and use your favorite FTP client to upload post-countdown.php into the wp-content/plugins/ directory. Proceed to your widget management dashboard and configure accordingly.

More detailed wp_count_posts(); tag information.

6 Comments for “WordPress: Post Countdown Plugin”

  1. Patrick D. says:

    Would this be placed in a text widget or in the sidebar.php file?

  2. Tanner Hobin says:

    Updated with new plugin.

  3. Patrick D. says:

    Awesome, dude. Thanks! I need to work on making the text bigger. But very cool!

  4. Tanner Hobin says:

    Thanks Patrick, I <3 WordPress and this was a great learning experience.

    To adjust the font style, adjust accordingly and add this to your stylesheet:
    li.example p {font:13px Arial, Helvetica, sans-serif}

  5. neutrally60500 says:

    Lovely, good post. I just bumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way, I will be signing up to receive your feed and I hope you post very soon.

  6. Tanner Hobin says:

    UPDATE: Support for this plugin has moved to,
    http://headwaymarketing.com/wordpress-post-countdown-plugin