Heroku’s not just for Rails anymore, folks. If you’re more PHP-inclined and lean toward frameworks such as CakePHP, you might enjoy trying Heroku’s current Celadon Cedar stack as your platform.
Here I’ll step through the Blog Tutorial in the the CakePHP Cookbook, with the few extra steps needed to get it running on Heroku. As prerequisites, you should be familiar with this tutorial in its generic form, and with the basics of using Heroku.
Continue reading Deploy CakePHP on Heroku
Styling post author or registered user comments on your WordPress 2.7 blog is much easier than it was back in ol’ 2.6. The new
wp_list_comments() template tag (or
comment_class() if you’re doing it the hard way) automatically includes class names like
bypostauthor for easy CSS styling. Slick.
See the official 2.7 theme migration guide for more details.
Ever wonder how to apply special styles to highlight WordPress comments written by the post author or another registered user? Good advice on this point is very rare. Most recommendations are to check against either an email address or a specific user ID. Both of these options are kludges, and both are fragile.
Here’s the right way to do it: Continue reading Styling WordPress author comments