MW Taxonomy

Taxonomy

First of all what is a taxonomy? It’s a way of grouping things together. In WordPress there are two built-in taxonomies for grouping posts, Categories and Tags. Categories are hierarchical and tags are not. Each category or tag you use is called a term.

You can also create your own taxonomies beyond those that are built-in. They are called Custom Taxonomies. This is done by calling the function register_taxonomy() or by using a plugin like MW Taxonomy.

MW Taxonomy Plugin

Add one or more Custom Taxonomies to your WordPress managed website.

This plugin is focused on an easy to use interface with small number of choices to make it easier to use for a non technical user.

MW Taxonomy let you decide

  • taxonomy name
  • taxonomy name in singular
  • slug
  • select the post types
  • select whether it should be hierarchical or not
  • slug
  • indexed by search engines or not

If you use the function in a child theme or some other plugin you will have much more choices.

Name

Usually in plural. This name will appear in the admin area as well as on the actual site. Compare this to where the names Categories and Tags normally appear.

Name in singular

This name will appear in the admin area as well as on the actual site. Compare this to where the names Category and Tag normally appear.

Slug

Slug or shortname is used in the URL to a certain taxonomy.
http://mysite.com/?slug=term (Plain)
or
http://mysite.com/slug/term/ (Pretty permalinks)

It cannot be changed after it is set. This is the phrase that is used withing the database to identify a certain taxonomy. Changing it would be the same as creating a new taxonomy.

It has certain restrictions given by database structure. It should only contain lowercase letters and the underscore character, and not be more than 32 characters long.

Also it shouldn’t conflict with any other taxonomy, custom post type or any of the WordPress reserved terms.

I have also found that it should not contain any special characters like å, ä or ö. This last restriction is not mentioned in codex but I have found it best to restrict slug to only contain characters a – z, 0 – 9 and underscore to ensure functionality.

Select Post Types

You can select for which post types the taxonomy should be used. Posts and Pages are the built-in post types you can select. If you have any custom post types that are public they can be selected too.

When you select a certain post type, the taxonomy will be possible to set when you create a new post of that type.

Hierarchical

Hierarchical is when one term is parent to another, like categories are.

Search engine

Select Yes if you want the term pages of the taxonomy to be indexed by Google and other search engines. No if you don’t want them to be searchable by the public. If you select No a meta tag noindex will be added to the html page head:
<meta name="robots" content="noindex"/>
This tells Google not include the page in there search results.

Leave a Reply

Web Developer, WordPress consultant and entrepreneur

%d bloggers like this: