Did you know you can use Dropbox to take and share screenshots? You can and it’s as easy as enabling the option.
Category Archives: Code
Mobile website statistics from 2009 through 2013
A snapshot from my Google Analytics of the last 4 years. Where mobile usage grew from 0.65% up to over 30%.
Responsive Web Design != Mobile
I do PSD Conversions for a living. In other words, I turn photoshop designs into websites – and I’ve sliced over one hundred. I’m (somewhat) of an expert when it comes to creating custom themes for WordPress.
Create a ‘Must Use’ Plugin for WordPress
Some of you are like me: “frequent theme changer guy”. Here’s a trick I’ve learned to keep from having to re-write code every time I get bored with a theme: I use the “Must Use” Plugin.
i18n vs L10n
How i18n (internationalization) works in WordPress By wrapping some text in a nifty PHP function, we allow that text to be translated into another language. Or Or All three of those examples will be translated. All three of them do the exact same thing. Check out the WordPress Codex, read this post from Otto, and checkContinue reading “i18n vs L10n”
WordPress with Apache 2.4 and PHP 5.5. Plus, goodbye APC and MySQL
I run my own Amazon EC2 Instance. Why? Because, I’m a geek who likes to own his own data. Furthermore, I don’t need any hand holding or restrictions on what plugins I can install. If something breaks? No worries. I A) have backups B) can read C) Google
Awesomesauce: Turn Chrome Developer Tools into an IDE
UPDATE: As of Chrome 33, some of the items in this tutorial are out of date. By now, your installation of Google Chrome should have updated to version 28. With it, came the ability to edit and save code. Imagine, not having to bounce between an IDE (Sublime Text, Coda, Dreamweaver) and Chrome while developingContinue reading “Awesomesauce: Turn Chrome Developer Tools into an IDE”
301 Redirects with .htaccess
After I dumped my database and blew up my site, I wanted to resurrect my most popular content. I needed to set up 301 redirects so both users and Google could find my (old) content in its (new) location.
Genesis Code Snippets
Here is my collection of code snippets I use build child themes in Genesis.
[Safely] Update an Ubuntu EC2 instance on Amazon AWS
Ubuntu 12.04.1 LTS was released and that meant it was time to upgrade my Ubuntu EC2 instances from 11.10 to 12.04.1 LTS.
Remove WooCommerce Styles and Scripts
WooCommerce is absolutely the most brilliant and easy-to-use shopping cart for WordPress – but it’s heavy! I’ll show you how to remove the cruft!
How To: Install LAMP on Ubuntu
My brother called to talk about moving his company’s web development and testing environment in-house. They had already downloaded Ubuntu but didn’t know how to get Apache, MySQL, or PHP installed. I sent him one command and 5 minutes later, they had a fully functional LAMP stack running.
The Perfect APC Configuration
Here was my setup on an Amazon Medium Instance using APC:
Web Typography: Using The Golden Ratio and REM’s
When WordPress 3.5 beta 1 was released it came with, “Twenty Twelve”. While looking at style.css, I noticed the use of “REM” to set font sizes and margins. I had NO idea what REM was. In fact, I just started using EM’s in other child themes. Immediately, I turned to Google and started researching.
Add Social Media Icons To Genesis (Without a Plugin)
99% of social media plugins are crap. Many are poorly coded, and some only exist as a way to advertise inside the WordPress dashboard. If you’re not comfortable with code, then I would recommend trying Jetpack Sharing. Otherwise, the code below is what I use (when I don’t use Jetpack).