Provides an easy way to create. There are several ways to develop this custom classification.
However, in this approach, you must first select the tool \/ plug-in to use. There are many plug-ins to choose from. You can choose the most appropriate plug-in. However, it is important to view the online comments of the plug-in. It should have an excellent reputation and should be recommended by many people who have used it before. Step 1: after creating an empty category, you must first install and activate the fixed plug-in, and then fill in the blank. Please remember. Don’t choose. After activation, go to pods admin, and then go to add new from the word press dashboard. The next step is to select custom taxonomy from the drop-down list named content type.
Then create plural or singular names for the new classification system, such as \
Then navigate to the advanced options icon and select the check box next to the post found in the menu. When all changes are saved, the classification scheme will appear with other users who are ready to use it. The method of setting using plug-ins. People who do not want to use the code creation custom classification plug-in to create a custom classification scheme can use the code freely. Most developers believe that manual execution is relatively easier and should follow the path if they do not want to use plug-ins. This section will learn the simple steps to create a specific taxonomy using code.
Step 1: to determine whether you want non hierarchical classification or hierarchical classification, you must first determine whether the classification you want should be non hierarchical. Don’t you know the difference? Here are two simple facts: Non hierarchical – this classification is similar to tags. That is, a term must be defined and then assigned to content. Using this classification does not create sub terms. Rating – use this classification to have child and parent terms as well as categories. A good example is that beginners can be used as parent terms and children’s terms can be used as themes, marketing and plug-ins. This decision is important because the code required for each classification is very different.
Step 2: functions. Regardless of the taxonomy you decide to edit using your PHP program, it’s still a function. You must access the PHP program. But before you do this, there are a few things you need to know. Before performing these activities, you must back up all items on the site. Use subtopics to keep changes made when updating WordPress sites and themes. Make sure you have a background in secure file transfer protocol (STFP). Then log in to the WordPress website through SFTP and use functions. Search for PHP programs. You can find it in the folder of the default theme. Open it when you find it. Depending on the selected classification type, you can enter one of the following codes: Connect the non hierarchical \/ \/ init task, and then fireadd_action (\
_taxonomy’, 0 ); Function create_topics_nonhierarchical _taxonomy() {\/ \/ GUI add labels and $labels = name \
Male connect to hierarchy \/ \/ initialize the operation, and then fireadd_action (\
You can also switch the post event type in the r_taxonomy function. After you save your changes, you need to do some more to display the classification scheme. In woocommerce, the biggest advantage of creating a custom classification is that it is no different from the plug-in method already discussed. First, before creating this custom category, you must ensure that the products have been uploaded to the woocommerce store. Changes can only be made when you go to the advanced options screen. Instead of checking posts this time, check products. After you save all your changes, you can use the classification scheme. What does WordPress classification do? WordPress uses a built-in taxonomy to perform multiple tasks. This may include: Build a link to a category list page in the post – after attaching the built-in term to the post, WordPress will display the term name that can be clicked when viewing the post at the front end. Typically, the name of the term is under the post name. When you click this term, you or the user will go to your term list page. Formalize a single term list page. WordPress generates terms for list pages. URL is a combination of category name and term name. For example, if the web site has a category called recommendation, the URL will be \/ catdistribute \/ feature. This page consists of the list page of the website. Add terms to navigation menu – all categories and tags are pinned to the navigation management menu to be created and defined. This allows users to connect to most of the more commonly used terms on the website. List terms inside parts – the WordPress website has several parts that users can add content to the parts area of the site. \
– the text displayed in the WordPress management backend on the left side of the management menu. View_item – in classification, only view update_item – update a classification add_new_item – when adding a new technical language book, parent_item – is usually used together with hierarchical classification to set parent $taxonomy_name. Search_item – the search text used when viewing the classification scheme. Parent_item_colon – the same as parent_item, but with a colon at the end. Popular_items – the name of a popular term. If non hierarchical classification is used, it can be found in the back-end management section. Separate_items_with_commons – usually displays text for non hierarchical classifications. For a single post, it is displayed in the meta box of the classification scheme. Select_from_most_used – text is also displayed for non hierarchical classifications at the bottom of the meta box. Click once to display a list of the most commonly used terms. Add_or_remove_items – the text is displayed only when JavaScript is disabled in the category box. Not_found – text that is typically used for non hierarchical classifications is displayed as non hierarchical classifications in the meta box. Just click Select in the most commonly used text. The website checks for the most frequently used words and displays not_found text if not available. Show_ui – this term determines whether WordPress should display the management area of the classification system. If not available, the classification system will not be able to manage terms. Public – determines whether the classification is displayed in query status. Show_tagcloud – determines whether the website adds classification terms to the tag cloud component. Meta_box_cb – specifies that the user outputs the ideal function of the meta box design of a single post classification. Show_admin_column – determines whether the categorical term appears in a new column in the post list. \