18.104.22.168. Category Section¶
This section contains settings related to creating post’s categories automatically.
You can test if the category names are found as you want using Tester Page.
22.214.171.124.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.
126.96.36.199.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.
188.8.131.52.3. Category Name Separators¶
Set separators for category names. For example, if a category name selector finds
casual, when you add
, as separator, there will be three categories as
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.
184.108.40.206.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.
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
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
casual categories separately, not
hierarchically. If you do not want to create a subcategory hierarchy, do not check this.
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.