---
description: Add Unlimit Custom taxonomy for event and display in Search form.
---

# Manage Custom Taxonomy

## 1: Choose number type&#x20;

Events >> Settings >> General >> Total Custom Taxonomy: Insert the number of tanomomy

**If you don't want to use Custom Taxonomy, you can insert 0.**

<figure><img src="https://4016371164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1-bzGggknMKVWOqg5-%2Fuploads%2Fe8UfMXRZ4Er5lx5r5VR4%2FScreen%20Shot%202023-03-02%20at%2011.13.59.png?alt=media&#x26;token=e4bdde47-857e-4027-bd58-f6b9c9c720c1" alt=""><figcaption></figcaption></figure>

After choosing total custom taxonomy, you will see it in admin

![Menu custom taxonomy](https://4016371164-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M1-bzGggknMKVWOqg5-%2F-M3noAN8pRtCla6mrhVw%2F-M3noSum2UEVuzddYl_U%2FScreen%20Shot%202020-04-01%20at%2010.38.11%20AM.jpg?alt=media\&token=740b259b-d0c9-4ec9-b705-1a24fdb4a141)

## 2: Change Name, Slug for new Type

Open functions.php file in meup child theme and insert code bellow

```
add_filter( 'register_taxonomy_el_1', function ($params){ return array( 'slug' => 'taxo1', 'name' => esc_html( 'Taxonomy 1', 'meup' ) ); } );
add_filter( 'register_taxonomy_el_2', function ($params){ return array( 'slug' => 'taxo2', 'name' => esc_html( 'Taxonomy 2', 'meup' ) ); } );
```

You can change taxo1, taxo2, Taxonomy 1, Taxonomy 2 to your value

After adding code, you will see this in admin:

![](https://4016371164-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M1-bzGggknMKVWOqg5-%2F-M3nqYWG80kbbLcyo64s%2F-M3ns6jWypaMAmq8bNzd%2FScreen%20Shot%202020-04-01%20at%2010.53.15%20AM.jpg?alt=media\&token=11d97ba6-62c0-40fc-b95d-dacbd4a57573)

## 3: Display new Type at frontend

### a) Display when creating a new event

Vendor can choose a new type when making a new event

![](https://4016371164-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M1-bzGggknMKVWOqg5-%2F-MDORsI534QvvirhQwl4%2F-MDOSPbLrM6-roAT6u14%2FScreen%20Shot%202020-07-29%20at%202.24.15%20PM.jpg?alt=media\&token=0aa952d6-f25a-4453-bf24-2e6f06eab790)

### b) Display in Search Form

![](https://4016371164-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M1-bzGggknMKVWOqg5-%2F-MDORsI534QvvirhQwl4%2F-MDOSc7CTX6CAD_iJaG0%2FScreen%20Shot%202020-07-29%20at%202.25.12%20PM.jpg?alt=media\&token=d4b5fa13-3f45-42c2-a6a0-5e7f5bc422ff)



## 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.





