Probably the most notable change in 2.2 is the addition of a “follow me” button to the Twitter widget, which you can see in the featured image attached to this post. It’s enabled by default, but can be turned off from the widget options.
I also fixed an issue where small fonts were being applied to any label element, even when label wasn’t being used in a form. This made the title for the new “subscribe widget” from JetPack 1.2 be really small. So those of you using that widget should see an improvement.
There were three major additions to HTML5Press 2.1, including fuzzy timestamps, a built-in Twitter widget, and support for WordPress custom backgrounds. Gregory C left a comment a few days ago that made me decide to add support for WordPress custom backgrounds. It was a simple enough thing to add, not sure why I didn’t add support for custom backgrounds earlier.
[ad]
The featured photo for this post is just a screenshot of the Twitter widget options. That widget may look familiar to you. It’s nothing but a slightly modified version of Simple Twitter Widget by Matthias Siegal. I made some modifications to his plugin to include the HTML5 time element and to also make use of timeago for fuzzy timestamps.
Fuzzy timestamps are global in HTML5Press. Dates/times on posts, pages, comments, and the twitter widget will all be shown as fuzzy timestamps instead of the actual date/time. Mousing over the fuzzy timestamp will reveal the true date/time.
I’ve addedanoption to HTML5Press to enable fuzzy timestamps for posts and pages. Fuzzy timestamps display how long ago an item was published, instead of showing the date and time it was published.
For example, this post about Minus was published on 9/19/2011. Fuzzy timestamps would cause that to be displayed as “3 days ago” instead of showing the actual date. Come tomorrow, that post will show that it was published “4 days ago”.
You can still see the actual date by mousing over the fuzzy timestamp.
Loading ...
I implemented this with the timeago jQuery plugin. This feature will be available once HTML5Press 2.1 is released, which will probably be sometime before October. If you’d like to take it for a test drive now, you can download HTML5Press 2.1-rc1 from Github.