Aside

Cleaner Titles in WordPress

Quick Tip! What happens when your post title does not fit on one line? It wraps to the second line. What if it’s only one word? And what if that word is “it” or some other shorty? Your title won’t look too nice, eh? Here’s a solution, somewhere inside the loop: $title = the_title( '<h2>', '</h2>', false ); if ( strlen( $title ) > 0 ) echo...

MySQL Index Hinting

Did you know that you can give a hint to MySQL on which index to use? It’s called Index Hint and can be part of a query where you feel MySQL is doing a wrong choice (although that’s quite unlikely these days.) SELECT * FROM table1 USE INDEX (your_index) WHERE col1 = 1 AND col2 = 2 AND col3 = 3; Where your_index is the name of the index you’d like to use for this query. You can...

New Plugin: Posts Screen Excerpt

New Plugin: Posts Screen Excerpt — makes an excerpt column available in the All Posts screen in WordPress. Useful for when working with posts without titles, where (no title) doesn’t say much about which post you’re about to edit.

Google’s Halloween Doodles throughout the years

Mashable has posted Google’s Halloween Doodles throughout the years starting all the way back from 1999. Today’s doodle is definitely one of their best so far, then again, is it wise to put so much effort into a one day video? Happy Halloween everyone!

Delete Cached Copy in Capistrano

Quick tip! If you’ve changed the Git repository for your project and deploying via Capistrano while using cached copies you might get a “doesn’t exist” error because your cached copy is still pointed at the old Git repository. You can fix this by manually logging into your application server, browsing to the shared directory and deleting the cached-copy directory...

Google Nexus S

I’m now an owner of a brand new Google Nexus S phone. I’ve been running around with a Nexus One before and so far I don’t see much difference, other than that’s it’s a little bit faster and bigger. Just like the Nexus One model, Nexus S is not meant to be sold in Russia so I had to get it from an online store without warranty from Samsung. Oh well, hope it...

Moving Plugin Support to Github

Got tired of dealing with “support” comments and bug reports on my blog, so now I’m opening Github repositories for some of my WordPress plugins. The first two are Twitter Friendly Links and Technical Support. Eagerly waiting for the first pull request now ;)

Using the Google Analytics API in WordPress

There’s a great article over at Theme.fm on Using the Google Analytics Data Feed API in WordPress which covers some pretty interesting techniques to grab and make use of data stored in your Google Analytics profile, like what are your top 10 posts this month, or what were the most searched ones, etc. I’ve authored that article so feel free to ask questions ;)

Google Webmaster Team on SEO

We’ve seen this a lot, keyword stuffing, the strong tag miss-used and of course the heading tags. I’m deeply sorry folks, but Google is right, for good and long term relationships with the search giant you should put all your effort into content. The rest is just good practice. And if you haven’t seen this yet, you should: Search Engine Optimization Starter Guide.

OS X Mail is Okay, but Google Mail is Better

Been running Mail for OS X for a few days last week. I decided to give it a go after seeing my friends use it and.. Oh well. It totally messed up both my personal and corporate accounts, flagging is broken, mark unread too because as soon as you delete one message the next one is automatically read. And I actually had one of our clients reply to my personal e-mail, I wonder how that happened...