WordPress template part: a powerful tool

Now that I’m working with custom post types a bit more on this site, for my plugin reviews and speaking agenda, for instance, I’m also starting to appreciate the power of the WordPress template part functionality a whole lot more, which was introduced in WordPress 3.0. Let me explain how I use it and how…

WordPress editor style

I’m writing this with a WordPress editor style CSS active, for the first time. This feature has been available in WordPress since WordPress 3.0 but I had not used it until now, which is nothing but stupid. A WordPress editor style makes the TinyMCE editor used in visual editing mode look like your theme, using…

WordPress SEO URL / Permalinks considerations

Let’s answer some of the questions that continually pop up: what does the optimal WordPress SEO URL / Permalink structure look like? How should you use your URL’s, what should and shouldn’t you do with them. A lot of questions below, a lot of answers, most with a reference to a video or post from…

SlideShare plugin, now with oEmbed

Last week at SAScon, Bas pointed out to me that SlideShare has a new embed method using an iframe instead of the old fashioned object stuff. So I started updating my SlideShare plugin, and when I was browsing the documentation I noticed they’d also added support for oEmbed since I looked at it. The funny…

Content SEO made easier by WordPress, Yoast and Linkdex

It has always been my goal to make content SEO as easy as can be, and to make people writing content perform the necessary actions instead of someone else fixing up after them. Good SEO for a site consists of set of technical requirements, a good site structure and then the most important thing: well…

Site Speed tracking in Google Analytics

Just a quickie: I just updated my Google Analytics for WordPress plugin to incorporate the new Site Speed tracking feature that Google announced last week. The feature is on by default and can be disabled in the advanced section of the settings. As you can see from the announcement post, this new feature helps you…

Upgrade WordPress, then upgrade plugins!

The current version of my WordPress SEO plugin has a new feature: it supports post type archives in several places. It also has a bug: if your version of WordPress (ie. everything before 3.1) doesn’t support post type archives, it’ll break. Now, this is annoying and something I will fix in the next release, but…

Separating frontend and admin code

In most cases, your plugin has stuff it needs to do in the admin area. It probably also has stuff it needs to do in the frontend. These two never happen at the same time, so you can actually separate the two. The easiest way of separating frontend and backend code is having a set…

Professional WordPress Plugin Development

As you might have noticed I’ve recently started reviewing WordPress plugins. I do this for free, because I think both users and developers benefit from peer reviews of plugins. I’m not saying all my plugins are perfect, they’re not. I try hard though and if someone reviews my plugin I’ll happily learn from what they…

Using a namespace for your functions and classes

An often made mistake by WordPress developers is to use to generic function and class names. For instance, if you’re building a plugin to do with YouTube, using a class name “Youtube” is bound to cause issues: if a user has multiple plugins dealing with Youtube, he or she could very well end up with…