Recent Articles

The latest insights on WordPress theme development from your friends at Themetry

Displaying post order number in archives

Learn how to get a count of published posts, then count backwards to display the post order number automatically. We’ll use a podcast post type and display an episode number as a use case.

Cache-busting enqueued scripts and styles in WordPress

Have you ever made a change to a CSS or JavaScript file on a client’s website, but your client reports they can’t see the changes? Sounds like you need to learn how to cache-bust.

Preventing unwanted theme updates from WordPress.org

If your theme happens to have the same slug and lower version number as one hosted on WordPress.org, you risk unwanted updates.

Displaying a category list as your wp_nav_menu fallback

A simple way to leverage wp_list_categories for use as a wp_nav_menu fallback, without reinventing the wheel.

Preventing output of empty entry footer markup

WordPress themes typically include the following information in a post’s entry footer: categories, tags, and an edit link. But what if this post is published on a non-categorized blog, has no tags, and the user looking at it does not have permission to edit the post?

Hiding toggle buttons when associated menus are empty

It might seem obvious, but many themes don’t do it. Making sure buttons that toggle empty things are hidden is a quick win to improve theme user experience.

Milan Pro 1.1.0 Theme Update

This update adds Jetpack Featured Content functionality, and also fixes a Masonry bug that could be seen on archive pages with featured images (which they probably do).

Running your own WordPress theme and plugin update server

Learn how to make an update server for WordPress themes and plugins hosted outside of WordPress.org.

Spatial 1.1.0 Theme Update

Spatial 1.1.0 fixes a couple critical bugs and adds several enhancements. Also, a bunch of translation files for new languages are included.

Novara 1.1.0 Theme Update

We just released an update to our Novara theme.

It fixes a bug, and adds several enhancements like RTL stylesheet, an editor stylesheet, and support for Jetpack’s Content Options module.

Leveraging the core “Display Site Title and Tagline” Customizer option with Site Logo

You may have noticed the “Display Site Title and Tagline” Customizer option in Underscores, but that’s only tied to Custom Headers. We’ll cover how to do the same thing with Site Logos too.

Outlining the two files every WordPress theme needs

WordPress only needs two files to run a theme. Find out more about them in the first part of our “Build a WordPress Theme from Scratch” series.