6.3.3.2. Category Section

This section contains settings related to creating post’s categories automatically.

Tip

You can test if the category names are found as you want by using Tester Page.

6.3.3.2.1. Category Name Selectors

CSS selectors that match category names from the target post page. This is a type of Selector and Attribute Setting. Found names will be used to assign the post’s categories. If a category with a found name does not exist, a category with that name will be created in your site. If you enter more than one selector, each match will be crawled and the results will be merged. If you want to use only the first match, check Add all found category names? setting.

6.3.3.2.2. Add all found category names?

Check this if you want to add all categories found by CSS selectors defined in Category Name Selectors. Otherwise, among the found category names, only the first category name will be used as the category of the post.

6.3.3.2.3. Category Name Separators

Set separators for category names. For example, if a category name selector finds shoes, women, casual, when you add , as separator, there will be three categories as shoes, women, and casual. Otherwise, the category name will be shoes, women, casual.

Here are a few examples showing what category names you get when you define different separators for the case where the found category name is Category 1 | Category 2, Category 3.

Separators Result
| and , Category 1, Category 2, and Category 3 (Three different categories)
| Category 1 and Category 2, Category 3 (Two different categories)
No separator Category 1 | Category 2, Category 3 (One category)

6.3.3.2.4. Add as subcategories?

When you check this, if there are more than one category name found by a single selector input, each category name that comes after a category name in the found category names will be considered as the previous category name’s child category.

Important

This setting applies to a single selector input group defined in Category Name Selectors. In other words, each input group you add by clicking to button will be treated separately. When there are multiple input groups, their results will not be combined to create a subcategory hierarchy.

As an example, let’s say a CSS selector found three category names as shoes, women, and casual. When you check this setting, the post will be in shoes > women > casual category. However, if these three categories are found by different selectors defined in three different input groups, the post will have shoes, women, and casual categories separately, not hierarchically. If you do not want to create a subcategory hierarchy, do not check this.

Important

When you check this, all categories will be added under the category defined in Category URLs setting. If you do not want that category, check Do not add the category defined in the category URLs? setting.

6.3.3.2.5. Do not add the category defined in the category URLs?

Check this if you do not want the post to have the category defined in Category URLs setting. This setting will be applied only if at least one category is found by Category Name Selectors.