If you run a website or blog professionally, it is always good business practice to update your older posts to keep them as valid and current as possible. This helps retain (or even grow) their search engine positions, and helps keep your blog from having dead links or outdated content.
One of the things I recommend readers do on these types of blogs which use WordPress is to adjust the date field to instead show the last modified date. This way posts that were written two years ago won’t have that date if you’ve updated them more recently!
Here is the code you’ll need to easily accomplish this. As always, you’ll want to make a backup of your single.php file (or any files you will be changing) before proceeding.



Code: Add Recent Comments and Top Comments to WordPress
By Kyle Eslick | Filed Under Code Snippets, WordPress Tutorials
Throughout our WordPress code series, we’ve been providing a number of code options for designers who want to use actual code rather than using the widget system built into WordPress.
In this post, we’ll be providing the code for creating both recent comments and top comments to the sidebar of your WordPress blog. [Read more...]