Taxonomies are used to classify the custom fields. To illustratre, a Job Portal Application with the component name 'Opening' may have a taxonomy named as qualification, experience,
Go to Aione App Builder select the taxonomy menu item. A screen appears that displays the list of all the existing taxonomies and add
- Name plural (required): Create a plural name.
- Name singular (required): Create a singular name
- Slug (required): Create a slug for taxonomy
- Description: Create a description in 2-3 lines.
Labels section
This section allows you to add names to available fields.
- Search Items: It is a label for search items text. Default is __( 'Search Tags' ) or __( 'Search Categories' ).
- Popular Items: It is a label for popular items text. Default is __( 'Popular Tags' ) or null.
- All Items: It is a label all items text. Default is __( 'All Tags' ) or __( 'All Categories' ).
- Parent Item: It is a label for parent item text. This string is not used on non-hierarchical taxonomies such as post tags. Default is null or __( 'Parent Category' ).
- Parent Item with colon: It is a label for same as parent_item, but with colon : in the end null, __( 'Parent Category:' ).
- Edit Item: It is a label for edit item text. Default is __( 'Edit Tag' ) or __( 'Edit Category' ).
- Update Item: It is a label for update item text. Default is __( 'Update Tag' ) or __( 'Update Category' ).
- Add New Item: It is a label for add new item text. Default is __( 'Add New Tag' ) or __( 'Add New Category' ).
- New Item Name: It is a label for new item name text. Default is __( 'New Tag Name' ) or __( 'New Category Name' ).
- Separate Items: It is a label for separate item with commas text used in the taxonomy meta box. This string isn't used on hierarchical taxonomies. Default is __( 'Separate tags with commas' ), or null.
- Add or remove: It is a label for add or remove items text used in the meta box when JavaScript is disabled. This string isn't used on hierarchical taxonomies. Default is __( 'Add or remove tags' ) or null.
- Most Used: It is a label for choose from most used text used in the taxonomy meta box. This string isn't used on hierarchical taxonomies. Default is __( 'Choose from the most used tags' ) or null.
- Menu Name: It is a label for menu name text. This string is the name to give menu items. Defaults to
value of name.
Taxonomy Type Section
This section allows you to select a particular type for taxonomy. There are two types that are listed below:
- Hierarchical - like post categories, with parent / children relationship and checkboxes to select taxonomy.
- Flat - like post tags, with a text input to enter terms.
Taxonomies are usually used with the components. This post type section will also display the component name so that you can associate the component with the taxonomy and you can check or uncheck other available options.
Additional Options
There are many more features that you can check or uncheck as per your requirement.
- Rewrite: Rewrite permalinks with this format. The default will use $taxonomy as query var. Optional (Input Field): Replace taxonomy slug with this - defaults to taxonomy slug. Select this option to allow permalinks to be prepended with
front base. Defaults to true.
- Hierarchical URLs: True or false allow hierarchical urls (implemented in Version 3.1).
- show_ui: Whether to generate a default UI for managing this taxonomy. Default: if not set, defaults to value of the public argument.
- show_in_nav_menus: True makes this taxonomy available for selection in navigation menus. Default: if not set, defaults to value of public argument.
- show_tagcloud: Whether to allow the Tag Cloud widget to use this taxonomy. Default: if not set, defaults to value of
show_ui argument.
- show_admin_column: Whether to allow automatic creation of taxonomy columns on associated post-types. Default: false.
- query_var: Disable to prevent queries like "mysite.com/?taxonomy=example". Enable to use queries like "mysite.com/?taxonomy=example". Enable and set a value to use queries like "mysite.com/?query_var_value=example". Default: true - set to $taxonomy. Optional (Input Field): String to customize query var
- update_count_callback (Input Field): Function name that will be called to update the count of an associated $object_type, such as post, is updated. Default: None.
- Meta box callback function:Hide taxonomy meta box. (Check box) If you disable this, there will be no metabox on entry edit screen.
- meta_box_cb (Input Field): Provide a callback function name for the meta box display. Default: None.