WordPress themes & portfolios

Building with WordPress

Tutorials, code snippets, and open source projects for people who build with WordPress: theme development, custom post types, options panels, and sites for showing off your work.

Latest writing

From the archive

The most-discussed posts.

Some of the APIs have moved on since these were written. The ideas mostly hold up, and the comment threads are full of good questions.

Simple Ajax Example

Event Posts in WordPress

Admin Notices in WordPress

Set a Cookie in WordPress

Browse by topic

Open source projects

Themes and plugins from the theme-options era. They aren’t in active development, but tens of thousands of sites still run them.

Registers a portfolio post type from a plugin instead of the theme, so a site’s projects survive a theme switch. It still runs on 40,000+ sites.

About the plugin →

A full theme options panel you could drop into any theme, from the years before the Customizer. Available as a plugin or bundled into a theme, and still active on 10,000+ sites.

About the plugin →

A responsive theme for showing off photography, art, or projects that also works as a regular blog. Free in the WordPress.org theme directory.

About the theme →

A theme for images, photography, and artwork. The free version is on WordPress.org; Visual+ added color schemes, lightboxes, and infinite scroll.

About the theme →