So you want your Google Ads to match the rest of your page, but you have a style switcher. All of the sudden your green colored ads (that match your green style) don’t match the pretty pink style. See the problem? You may have noticed that my Ads change with the style. Here’s how I did it…
Tag: code
WordPress Plugins
WordPress 1.2 is in final testing and the final release should be available sometime this week. There is a nice new plugin structure to replace the previous hacks functionality. As a result, I’ve ported some of my hacks over to plugins.
Everything has been moved over the to WordPress Plugin Repository. See my list of plugins.
I’d also like to welcome all of the new WP users that have migrated in the past few days due to Moveable Type changing their licensing.
Update: The Tabbed Sidebar instructions have been modified. I found a problem with the cookie code that is now fixed.
GMT vs. UTC
Recent updates to the way dates and times are stored in the MySQL database by WordPress are causing quite a stir at the Support Forums. When I ran a few upgrades the other day, the new code had a lot of bugs, so my site hit the shitter for a bit. Everything is running smooth again though after a few more updates.
WordPress had been storing dates and times according to the server time that your site ran on and now they’ve switched over to using GMT for everything. Both ways need an offset unless of course you live in the same time zone as your server or your time zone is GMT.
By using the server time, you first had to figure out where your server was located, which could be a real bitch since a lot of people have their sites setup through some sort of hosting company. After you found that out, you had to compute your offset from that time. If you ever moved your site to another server, you’d need to do that process again.
With GMT, all you need to do is figure your offset from GMT, no matter where your server is located. If you move your site to another server, find your offset from GMT again and change the setting.
I like GMT better!