Custom post types with no permalinks

When I was at WordCamp Ottawa this year, I was asked a question about how to create custom post types without generating permalinks. This is actually something I do a lot of as I am creating internal content types that are not meant to be viewed individually at their own url.

The snippet below will register the post type and you’ll notice that there is no Permalink line below the title. (more…)

Continue ReadingCustom post types with no permalinks

Creating a skinnable WordPress widget

Building custom widgets is fun, rebuilding them because we need to change the way it looks is not. With that in mind, lets build a skinnable WordPress widget that separates how it looks from what it does. For the purposes of this tutorial, I am assuming that you are comfortable creating a Widget and working with the API. Please refer to the Widget API as needed. (more…)

Continue ReadingCreating a skinnable WordPress widget

The Pharma Hack

This is a sneaky little WordPress hack that replaces your page title with an ad for pharmaceutical products. The best part (and the reason you may not see it right away) is that you don’t see it on your site, the new page titles only appear in search engine results.

(more…)

Continue ReadingThe Pharma Hack