A post has exactly one category and any number of tags. Blog's categories and tags are its own: they are separate from the tags of your items.
Categories
Manage categories at Blog > Categories (Admins and Super Users). The list shows each category's name, address, description and number of posts (click the number to see them under Posts).
Adding and editing
- Click Add a Category, or Edit on a row.
- Enter a Name.
- Optionally an Address: the end of the category's page address,
/blog/category/<address>. Empty, it is made from the name. Addresses are unique. - Optionally a Description, shown under the heading of the category's page. Plain text.
- Click Add Category or Save Changes.
Changing the address changes the category's page address; old links are not redirected.
Deleting
Click Delete and confirm. The category's posts are kept, without a category: each needs a new one the next time it is saved from the form.
The blog is installed with one category, News. Rename it or delete it once you have others.
On the site
- The blog's sidebar lists the categories that have published posts, with their number.
- Each post shows its category above its title and as the first pill in lists.
- Each category has a page at
/blog/category/<address>with its description and posts. - The
[blog_posts]shortcode and the Blog Posts block can keep to one category.
Tags
Tags are added from the post form, separated by commas. As you type, existing tags are suggested. A name that makes the same address as an existing tag (Local History and local history both make local-history) uses that tag; any other name makes a new tag when you save. Removing a name from the field takes the tag off the post.
Blog > Tags lists the tags with their number of posts. There you can:
- Rename a tag (its name and its address,
/blog/tag/<address>); - Delete a tag: posts lose it;
- Delete unused tags: removes every tag no post has.
Tags without posts stay until you delete them, but they are not shown on the site.
On the site
- The sidebar shows the 30 tags most used by published posts.
- Each post shows its tags under its text, and as pills in lists.
- Each tag has a page at
/blog/tag/<address>. - The
[blog_posts]shortcode and the Blog Posts block can keep to one tag.
Categories and tags can also be read through the REST API, and categories written.