Introduction

On the main page for your Portfolio, or themes with an Album, Gallery or similar custom post type, the category links will sort themselves based on the number of posts in each, with the largest count first. This can be changed by editing the template. The following provides an example of how to do this in a standard portfolio category template.

Please note that not all themes use the same category query so the code may vary.

The Solution

WordPress › Error

There has been a critical error on this website.

Learn more about troubleshooting WordPress.