Recent Posts

Coding · 1 MIN READ

Use PHP to Retrieve All Links on a Page

I was developing a project recently, where I had the need to get all the links on a certain page. I first turned to a JavaScript library, like Jasmine. I really wanted to do this within my PHP code, so I ended up going with this solution: $html = file_get_contents(‘http://www.example.com’); $dom = new DOMDocument(); @$dom->loadHTML($html); […]

Coding · 2 MIN READ

Delete WordPress Sample Content Automatically

WordPress ships with 2 pieces of sample content. The Sample Page and a Sample Post content have been part of the WordPress base install for years. I wish WordPress gave an option to install WordPress without sample content, but as far as I know that’s not on the feature map. There may be times when […]

Coding · 1 MIN READ

Track Number of Visits to WordPress Pages and Posts

Almost everyone who has a WordPress site/blog, uses Google Analytics. This great tracking tool gives you insight into your visitors that traditional marketers would only dream of. Sometimes you want to do some things that Google Analytics is not a right fit for. You may want to track which pages or posts are the most […]

Updates · 3 MIN READ

2015 Year in Review

It’s only natural for everyone to look back at the last year when a new year is about to start. For the last few years, I’ve had some big changes in my life. I got married, bought a house, and had our wonderful son Zachary born into this world. Given all those changes over the […]

Updates · 2 MIN READ

The Legend is Over. Onto the Climax!

Since May 2011, I have been employed at Legend Boats. They have been a great 4+ years, but all great things must come to an end. Two weeks ago I gave my notice to Legend that I was going to be leaving. I have taken a job as a Senior PHP Developer at Climax Media. I […]

Coding · 4 MIN READ

WordPress is Not an App Platform

WordPress has come a long way since it’s inception. I really got excited about WordPress after the platform started allowing developers to register their own Custom Post Types. I was a big fan of this, and believed this could bring the type of data abstraction that was needed for modern websites.