How could i add custom divid categories for product

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Best Multi Vendor Marketplace Plugin for WordPress Forums WCFM – Ultimate How could i add custom divid categories for product

Viewing 5 reply threads
  • Author
    Posts
    • #27372
      MOHO
      Participant

      Hi
      I use “https://facetwp.com/” for Advanced Filtering for WordPress.

      So i will create like animal categories different than product categories.

      I want to provide multi categories for user to search, so only one categories is not satisfy for me.

      But how could i add new “animal categories” on the top of original product categories?

      by moho

    • #27398
      d-n-13
      Participant

      Hello

      add this code in your function.php

      function ess_custom_taxonomy_Item() {

      $labels = array(
      ‘name’ => ‘Animals’,
      ‘singular_name’ => ‘Animal’,
      ‘menu_name’ => ‘Animals’,
      ‘all_items’ => ‘All Animals’,
      ‘parent_item’ => ‘Parent Animal’,
      ‘parent_item_colon’ => ‘Parent Animal:’,
      ‘new_item_name’ => ‘New Animal Name’,
      ‘add_new_item’ => ‘Add New Animal’,
      ‘edit_item’ => ‘Edit Animal’,
      ‘update_item’ => ‘Update Animal’,
      ‘separate_items_with_commas’ => ‘Separate Animal with commas’,
      ‘search_items’ => ‘Search Animals’,
      ‘add_or_remove_items’ => ‘Add or remove Animals’,
      ‘choose_from_most_used’ => ‘Choose from the most used Animals’,
      );
      $args = array(
      ‘labels’ => $labels,
      ‘hierarchical’ => true,
      ‘public’ => true,
      ‘show_ui’ => true,
      ‘show_admin_column’ => true,
      ‘show_in_nav_menus’ => true,
      ‘show_tagcloud’ => true,
      );
      register_taxonomy( ‘Animals’, ‘product’, $args );

      }

      add_action( ‘init’, ‘ess_custom_taxonomy_item’, 0 );

    • #27425
      WCFM Forum
      Member

      Hi,

      Best to use – https://wordpress.org/plugins/types/

      Just create any no of custom categories for you Products and all will be visible at Product Manager, in fact I already see one is there “Brand” 🙂

      Thank You

    • #27438
      MOHO
      Participant

      Hi WCFM

      “Brand” is theme default category, and i start to research “Toolset Types”, thanks a lot!

    • #27453
      MOHO
      Participant
      This reply has been marked as private.
    • #27560
      WCFM Forum
      Member

      Hi,

      You have created Product Fields.

      Create taxonomy for the product.

      You may check this once – https://wclovers.com/knowledgebase/wcfm-toolset-types/

      Thank You

Viewing 5 reply threads
  • The topic ‘How could i add custom divid categories for product’ is closed to new replies.