Dear Theme Devs, Stop Pasting Random Snippets of Code in functions.php

Imagine this scenario, you find a really cool snippet of code on one of the many WordPress tutorial sites out there and paste it in your theme’s functions.php file.

The code snippet works as advertised, and you then release your theme for sale on a well-known theme marketplace. Let’s pick a random one out of a hat and go with… ThemeForest.

Suddenly your theme becomes really popular, may be because of the massive list of apparently useful “features” you have listed on your theme’s sales page. With your theme’s success, also comes a number of support queries, mostly to do with plugins breaking while using your theme.

How did this happen, you wonder? Maybe it’s because you blindly pasted random globs of WordPress code into your functions.php file without actually thinking about or anticipating any potential compatibility issues.

Read More

15

Jun

2011

Your Blazing App – Free XHTML/CSS Template

Michael Soriano of Fearless Flyer recently released a free PSD template called “Your Blazing App.” Like my Corporate Blue release (also designed by Soriano), I’ve also coded this one into XHTML/CSS for free download.

Your Blazing App screenshot

Download

Read More

15

Jun

2011

WordPress DC Presentation – Leveraging CSS to Change Your Theme

If you’re not following me on Facebook or Twitter, you may not have heard yet, but I am presenting at an upcoming WordPress DC meetup!

It will be on Tuesday, January 11th at 7 PM located at Fathom Creative‘s office in DC. More details on location, parking, etc. can be found on the meetup page (linked previously).

What I’ll be talking about

I’ll be talking about how to edit your themes through just CSS. More specifically, how to edit them through the classes output by WordPress functions such as body_class, comment_class, and post_class. Each will come with a practical example.

Slides

Click the image below to launch the slide presentation.

WordPress DC Slides

Read More

15

Jun

2011