Looking for a “Recently Updated” WordPress Plugin

So after coming back from SES I had some interesting conversations, looked at some interesting things and came up with a few ideas. One of the things I’d like to try but have never seen is a recently updated function/plugin. How would a recently updated plugin differ from a recently published function … well I’m glad you asked …

Recently updated would be used when you are using pages or posts in a more traditional CMS environment instead of a blog one. For example say you have a library or article database of keystone or flagship content. After the site is 3-4 years old the content may be come outdated. Rather than put up a new page/post with a new URL you decide to use the existing one and update or refresh the content. It would be nice if you could have a list of the ten most recently updated articles or even a page of the 50 or 100 most recently updated pages/posts. Sure you could hack the functionality by changing the publish date but that introduces other complexities.

UPDATE
Thanks to Corey Salzano who cooked up some quick code, thanks.


< ?php
$today = current_time('mysql', 1);
if ( $recentposts = $wpdb->get_results("SELECT ID, post_title FROM $wpdb->posts WHERE post_status = 'publish' AND post_modified_gmt < '$today' ORDER BY post_modified_gmt DESC LIMIT 18")):
?>
<h2>< ?php _e("Recent Posts"); ?></h2>
<ul>
<?php
foreach ($recentposts as $post) {
if ($post->post_title == '') $post->post_title = sprintf(__('Post #%s'), $post->ID);
echo "<li><a href='".get_permalink($post->ID)."'>";
the_title();
echo '</a></li>';
}
?>
</ul>
< ?php endif; ?>

GraywolfSEO.com runs on the Genesis Framework

Genesis Framework

Genesis lets you to quickly and easily build amazing websites with WordPress. Whether you're a novice or advanced developer, Genesis provides the secure and search-engine-optimized foundation that takes WordPress to places you never thought it could go.
It's that simple - start using Genesis now!


Take advantage of the 6 default layout options, comprehensive SEO settings, rock-solid security, flexible theme options, cool custom widgets, custom design hooks, and a huge selection of child themes ("skins") that make your site look the way you want it to. With automatic theme updates and world-class support included, Genesis is the smart choice for your WordPress website or blog.


tla starter kit

Advertisers:

  1. Text Link Ads - New customers can get $100 in free text links.
  2. BOTW.org - Get a premier listing in the internet's oldest directory.
  3. Need an SEO Audit for your website, look at my SEO Consulting Services
  4. TigerTech - Great Web Hosting service at a great price.