Custom Taxonomy
This is where all custom taxonomies are managed.
1) Create Custom Taxonomy
Step 1: Define the number of custom taxonomies.
Go to Events >> Settings >> General tab >> General >> Total Custom Taxonomy: Enter the number of custom taxonomies you want to create.

Step 2: Change slug of custom taxonomy.
Example: if you want to create 3 custom taxonomy, you have to add bellow code to functions.php file in child theme
// Change slug of Name of custom taxonomy 1
add_filter( 'register_taxonomy_el_1', function ($params){ return array( 'slug' => 'eljob', 'name' => esc_html__( 'Job', 'meup-child' ) ); } );
// Change slug of Name of custom taxonomy 2
add_filter( 'register_taxonomy_el_2', function ($params){ return array( 'slug' => 'eltime', 'name' => esc_html__( 'Time', 'meup-child' ) ); } );
// Change slug of Name of custom taxonomy 3
add_filter( 'register_taxonomy_el_3', function ($params){ return array( 'slug' => 'elperson', 'name' => esc_html__( 'Person', 'meup-child' ) ); } );Step 3: Manage Custom Taxonomy
Go to Events >> Custom Taxonomy

2: Add Value for each Custom Taxonomy Type
Go to Events >> Custom Taxonomy >> Choose Job

Add value for job

3: Use Custom Taxonomy
a) When create a new event

b) Display when creating a new event
Go to Vendor Dashboard >> Create Event >> Basic >> Job

c) Display in Search Form

d) Display all event of a custom taxonomy


4: Require entering a custom taxonomy when creating an event.
You can insert a hook or filter into the functions.php file of your child theme
add_filter( 'el_custom_taxonomy_required', function(){ return array( 'elprice', 'eljob' ); } );Note: elprice, eljob is slug of custom taxonomy. You can replace it to your slug.
Last updated
Was this helpful?