We Are Communication Architects

Building brand awareness through content creation and community engagement.

Author Archive

March 16th, 2011

Running WordPress from Command Line

When dealing with migrating data from other platforms into WordPress, I’ve run into issues with using a normal HTTP request to kick off the import due to amount of time the import takes. The best solution I’ve found is to have a script integrate into WordPress and kick it off from a command line instead […]

Filed in Development, WordPress

March 8th, 2011

Real Programmers use Butterflies

Say what you will, but real programmers use the tools that help them the most. I’ve always been a big proponent of making sure developers are using a good IDE. For me, that IDE has been Zend Studio 5.5 for a long time. When I first started doing PHP development, I used nano. It got […]

Filed in Development, Programming

November 30th, 2010

Adding Rewrite Rules for Custom Post Types

Since the addition of custom post types to WordPress in version 2.9, one of the questions I’ve seen most on message boards and forums has been from users trying to figure out how to have their custom post type have loop pages like the built in posts post type does. Initially, when the permalink handling […]

Filed in Development, Programming, WordPress

September 20th, 2010

A Pattern for Creating Supportable Custom Meta Box Handlers in WordPress

Back while helping work on WordPress 3.0 and all the changes that were involved in adding better support for custom post types, I saw a need for improving the registration of meta-boxes. Specifically, making it so custom meta handlers could be supportable like the built in ones such as the editor, excerpt, and thumbnail meta-boxes. […]

Filed in Development, Programming, WordPress

July 13th, 2010

Extending WordPress search with Sphinx (Part II)

Once theSphinx server is setup, we can begin with WordPress integration. The first thing we need to do capture the override the query_vars in WP_Query before it runs it’s own search. We’ll do this by running an action on ‘parse_query’ with the code below. function my_parse_query(&$wp_query) {   if($wp_query->is_search && class_exists(’SphinxClient’)) {     $results […]

Filed in Development, Programming, Search, WordPress

June 17th, 2010

Did Upgrading WordPress Break Your Site?

Sometimes when upgrading to a new version of WordPress (WordPress 3.0 is out today by the way) it can cause your site to break. This is usually caused by one or more plugins being incompatible with the new version.  To fix it, follow these simple steps: Connect to the server via ftp or ssh Rename […]

Filed in WordPress

June 2nd, 2010

Adding Editable Content Areas to your WordPress Theme

Sometimes when creating a website, there is a need for small blocks of content to appear in certain areas of the page. This may be a small feature panel on the home page or just a notification in the sidebar or header. Before WordPress 3.0, there were a couple of ways of doing this. The […]

Filed in Development, WordPress

February 24th, 2010

WordPress 3.0 Will Be Here Soon

The next major WordPress release,  version 3.0, is currently on track for a late March/early April release date.  The WordPress core developers have hit the ground running in 2010 with some big things coming in the 3.0 release.  This release has to be the biggest one yet since I’ve been working on WordPress.  Some of […]

Filed in WordPress

February 29th, 2008

SQL Server Side Paging

I was extremely excited about GridViews and DataGrids when I first started working with .NET. The thought of having controls with built in paging and sorting just blew me away. Needless to say, this excitement was short lived. By the end of my first project in .NET, I found that this built in sorting and […]

Filed in Development, Programming, SQL Server

August 16th, 2007

Data Access and Business Logic

Since I’ve started web development, I’ve come across many ways to handle data access and business logic. Some of these have been good, many were bad, and some had potential but not for that particular project. I’ve decided I would bring up some of the better designs I’ve come across and discuss the benefits and […]

Filed in Programming