WordPress – Highlighting Today

The other day a friend of mine asked me how to have the current date indicated on your WordPress calendar. I realized that I didn’t know and that it was one of the things that I overlooked when I converted over to a WP powered site.

It turns out that it couldn’t be easier. By default WP puts a nice little ID tag in the calendar on the current date. It is declared as id=”today”. From here all you need to do is desccribe how you want it to look in you CSS.


#today {

This will make the table cell of the current date on the calendar have a white background with black text. Use you favorite HEX color conversion utility to find colors that match your site.