PSA: Do Not Use camelCase for WordPress Shortcode Attribute Names

Use lower or snake case instead of camel case for WordPress shortcode attribute names.

I just wasted nearly an hour troubleshooting a shortcode for a project because I did not know that WordPress shortcode attributes are passed through PHP’s strtolower() function (view source). I rarely use camelCase in PHP, and am also not a huge fan of shortcodes, so have easily managed to get through 15 years of developing …

Read more »

Placeholder Text Generators

HodorIpsum---Hodor-hodor-hodor

Updated on 3/22/19 to add Jeffsum. I generate a lot of Lorem Ipsum text when I am laying out websites. Usually I use a keyboard shortcut or the old standby, lipsum.com. I also like Fillerati. Those are nice because they include the option to add different HTML tags, such as <p> , <li> , and headings. Today while I …

Read more »

Favorite One-Trick Utility of the Year

Before I found this tool, I would open images in Photoshop to get proportional values for widths and heights. There are definitely easier ways to go about that, but Photoshop was always the first to come to mind. My new favorite tool for generating proportional image sizes is the Aspect Ratio Calculator.

For the Math inclined, it uses this formula:

original height / original width x new width = new height

Interview on Laravel News

I got interviewed by Eric Barnes on Laravel News about the Baltimore Laravel group and other web development related things 🙂

Laravel Learning Resources

Laravel logo

Over the past year or so, I have become enamored with the Laravel PHP framework and have a huge code crush on the soon to be released version 4. After attending Laracon in Washington D.C. a couple of weekends ago, I was inspired to start the Baltimore Laravel meetup group. I am compiling this resource …

Read more »

Chalkboard Color Scheme for Komodo

Komodo PHP Sample

This color scheme is updated regularly. (View Updates) Komodo Edit 5 has been my default code editor for the past week or so. It is much faster and nicer to look at than previous versions that I have tried. I switch default code editors almost as often as I switch default browsers. There are so …

Read more »