I'm a freelance web developer specializing in WordPress and PHP.

Query WordPress Directly When Making AJAX Requests in WordPress Plugins and Themes

In advance of this evening’s WordPress Knoxville meetup on Writing a WordPress Plugin, I’m posting my favorite method for handling AJAX requests in WordPress plugins and themes. The following gist addresses where you send your AJAX requests when you’re making an AJAX call inside a WordPress plugin or theme.

Here’s an example request you might make in your JavaScript:

The following code added to your theme or plugin allows WordPress to handle the above request:

NOTE: In order for the above code to work, you’ll need to flush your WordPress rewrite rules. Short of adding some code to your theme/plugin to do this, the quickest way to flush your rewrite rules is to visit Settings > Permalinks. Whenever that page loads, flush_rewrite_rules() is called.

UPDATE 11/26/2013 (06:09): At last night’s WordPress Meetup, Chris Lamm showed me the preferred way to make an AJAX request in WordPress. Here’s some further details on how to make use of the feature Chris outlines in his afore-linked-to example.

Collaborators Wanted – WordPress, PHP, Graphic Design, Web Development


I'm currently seeking one or possibly two freelance web developers for collaborating with me on a couple of different on-going projects. Here are the details of what I'm looking for: 1) Easy Collaboration Are you available to devote a moderate … [Continue reading]

Apple TV Tip: Take Advantage of Your YouTube Playlists

YouTube Playlists on Your Apple TV

Recently we've discovered how handy YouTube playlists are on our Apple TV. Whenever we find content that we want to watch in succession, I add it to a playlist on my YouTube account for later viewing. The reason why this is so handy is because Apple … [Continue reading]

Two Tips for Increased Email Efficiency

Email Efficiency

Last week I wrote about the Sparrow Mail App and how it has increased my email efficiency. Just yesterday I learned that the app is going to be mothballed because the company that makes it has been acquired by Google. However, despite Sparrow's … [Continue reading]

Sparrow Mail App – “Quick Reply” is my favorite feature


UPDATE (07/24/2012): Google has bought Sparrow. The Sparrow Mail app will no longer be developed. Oh well, it was fun while it lasted. Further details from TUAW: Sparrow acquired by Google, team to work on "new projects" Fellow app developers … [Continue reading]

My Kindle’s Place in an iPad World


I've often said that my iPad is my favorite electronic device ever. I love its utility, portability, and ease of use. Its app-centric focus and sleek design lets you forget you're using an iPad and focus on your task at hand. Given how much I enjoy … [Continue reading]

Links of Interest: 99% Invisible Podcast

99% Invisible - A Tiny Radio Show About Design with Roman Mars

If you're into design and architecture (even if you're not and you just enjoy good story telling) and you're not subscribed to the 99% Invisible podcast, you should be. If you are, why haven't you told me about it?! Having just listened to a … [Continue reading]

Kickstarter.com – Some of my favorites


If you've never heard of Kickstarter, please allow me to make an introduction. Kickstarter.com is a website where inventors, artists, entrepreneurs, etc. can post their project ideas and solicit funds while offering various incentives for those who … [Continue reading]

Spotify: Oh, now I “get it”


Amid a wave of publicity, online music service Spotify launched in the US nearly one year ago. Since that time, if you're on Facebook, you've probably seen ads for the service and status updates from your friends which show what they've been … [Continue reading]