Managing Taxonomy Terms with Post Management

The Post Management integration allows you to set WordPress taxonomy terms on posts as well as populate a form field with term values.

What is a Taxonomy?

In WordPress, a Taxonony is used to group and organize content, such as posts, pages, and custom post types. The most common built-in taxonomies are categories and tags, which help classify content in a logical structure.

What is a Term?

Within a taxonomy, there are individual Terms, which are the specific labels or names you assign to a piece of content. For example:

  • Category (Taxonomy)
    • Health (Term)
    • Technology (Term)
    • Travel (Term)

Custom taxonomies can also be created to tailor content organization to specific needs, providing flexibility for developers and site owners to build more intuitive and structured websites.

Creating a Field for Terms

The the most popular field types used for allowing a user to pick a term are:

A Hidden field containing a term ID value can also be used.

This tutorial explains how to configure a field for use with terms, how to assign terms to a post and how to populate a form field with the term(s) assigned to a post.

Configuring the Field

Demo

The example select field above is configured as follows. It is a similar configuration for checkbox and radio fields.

Basic Tab

Configure the field to use Select2. Select2 enables the user to search for terms and the multiple setting shows those terms as pills in the field.

  • Multiple: Checked
  • Select2: Checked

Learn more about Select2

Options Tab

Use the terms data source to populate the field dynamically with terms from one or more taxonomies.

  • Data Source: Terms
  • Filter By Taxonomy: Your chosen taxonomy

Learn more about Data Sources

Options Tab – Column Mapping

Set the column mapping to determine which data grid columns are used for labels, values and action variables. The action variables column mapping tells WS Form which column to use when data is pushed to the post management action. It must be set to ID.

  • Labels: Name (Shown to the user)
  • Values: ID
  • Action Variables: ID (Used for the Post)

Learn more about Column Mapping

Summary

Whichever field type you choose, you must ensure the value passed to the Post Management action is one or more Term IDs.