Open Source

Add Facebook Like, Tweet and Google +1 sharing buttons to WordPress without a plugin

I have always used WordPress plug-ins to setup social media sharing links, but what I don't love about plug-ins is that you really don't know what sort of code is being injected into your WordPress installation. If you are curious, add a few plug-ins and View the Source of your webpage, more times than not the head gets filled with JS includes and messy code. Call me a code freak, but I strive for cleanliness. (more…)

Open Source

Building a WordPress Plugin for Geocoding

Its been awhile since I have last posted, but just wanted to drop an update in on what I have been working on lately. I've turned down the freelance and have been working on my own projects; my latest project is a wordpress plugin for geocoding. I searched high and low on Google for a wordpress plugin which would take an address, geocode it and return the long/lat. (more…)

Web

How to redirect non-WWW traffic to WWW using Mod Rewrite

If you are looking to send people to www.yourdomain.com, when they type in yourdomain.com then you can use mod rewrite in Apache to get this done for you. Use the code below in your .htaccess file: RewriteEngine On RewriteCond %{HTTP_HOST} ^yourdomain\.com$ [NC] RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [R=301,L]