Dates in Posts Fixed
Posted by Tyler | Filed under tylerbutler.com
Just made a minor fix to the site… I noticed that dates weren’t showing up for some posts. Took me about 5 minutes to figure out that the Wordpress the_date() function had changed:
When there are multiple posts on a page published under the SAME DAY, the_date() only displays the date for the first post (that is, the first instance of the_date()).
Quick and easy change…
Before: <?php the_date() ?>, <?php the_time() ?>
After: <?php the_time("F j, Y, g:i a") ?>
Tags: tylerbutler.com, wordpress
Hello, visitor from the Internet. You may have arrived here expecting to see a site built on top of SharePoint, and are no doubt confused by the fact that tylerbutler.com is running on WordPress.
You can subscribe to this site in a variety of different ways. The best and simplest way is via RSS. There are three main RSS feeds: