Taxonomy descriptions are a real thing. Use them

Did you know that taxonomies have descriptions that can be displayed on their archive pages? Me neither.

This is just one of those things that I didn’t notice for way too long. They can be pretty important for SEO on taxonomy archives, where Google is likely to spot a lot of duplicate content. Yoast says to make use of them, and I suppose he probably knows a bit about SEO.

Update: WordPress 4.1 added some template functions for this! Use the_archive_description() and get_the_archive_description().

If you need to support pre-4.1, add this to your archives.php template file.

One Comment

  1. Even better – you can use the new ‘the_archive_description’ function that was introduced in WP 4.1 🙂

    There’s info on the function here:
    https://developer.wordpress.org/reference/functions/the_archive_description/

Comments are closed.