Blog

WordPress Editor: Fullscreen vs. Distraction Free

November 14, 2012

Update: The full screen editor keyboard shortcut was removed in WordPress 3.5. At the end of this article, I’ve included a few lines of code to add a full screen editor toggle button instead. WordPress 3.2 brought the introduction of the “distraction-free” editor. Its aim was to clean up the editing space and allow authors […]

Read More

Apache mod_rewrite in Ubuntu/Mint

September 13, 2012

There are many tutorials for setting up mod_rewrite for Apache, but most of them are missing one critical step. To be honest, I’m writing this as much for myself as I am for anyone else. I’m tired of looking around for the missing step every time I setup mod_rewrite on a new machine. So here […]

Read More

Year Three

June 4, 2012

Just a few days ago marked the third birthday of this website. Once again, I didn’t give the site the attention I had planned to. Nevertheless, I’ll publish a review of the year as a whole and look at what the next year might bring. Statistics Here’s a quick look at some details of the […]

Read More

Font-size and Line-height for <pre>, <code>, and Other Monospaced Fonts

February 25, 2012

While attempting to create a consistent cross-browser font baseline, I ran into the following strange behaviour in certain browsers (not IE for once!). Any monospaced font was rendered smaller than the surrounding text, even when specifically set to display at 1em. I found this to be true in both Firefox and Chrome. After a bit […]

Read More

CSS vs jQuery: Screen Widths and Scrollbars

January 21, 2012

Update: The first piece of code had an unexpected side effect that is addressed in the update at the bottom of this post. CSS media queries and jQuery window width calculations each handle scrollbars differently. This can cause unexpected (and ugly) results when they are used together. I was recently building a responsive menu system […]

Read More

Change Default Media Settings on Theme Activation

November 3, 2011

Let’s face it, if you’re a developer you want to make things as simple as possible for your clients. One way to do this is to set the default media sizes when your theme is activated. Your users should never need to try to figure out the width of the content area. They shouldn’t have […]

Read More

WordPress Taxonomy Tabs

November 1, 2011

Jason Schuller of Press75.com mentioned on Twitter yesterday that the taxonomy UI in the WordPress admin could use some improvement: “In regards to custom taxonomies, it would be nice to have just one tabbed box within the editor instead a separate box for each taxonomy.” I thought that sounded like a good idea, so I […]

Read More

Simple CSS Drop Down Menus

October 29, 2011

Update: After further testing, it appears that a bug in Internet Explorer prevents the drop down menu from opening. There are a number of ways to get around this IE bug, but I’m not going to go into that here. I was building a drop down menu while working on a personal project and I […]

Read More