# Categories

## **1: Add a New Category**

Go to: **Events >> Categories >> Add New**

* **Category Color:** This color will be used as the background for the category on the frontend
* **Custom Checkout Fields**: You can choose to display all or special fields in booking form. To add a new custom checkout field, go to: Events >> Manage Bookings >> Custom Checkout Fields

![List Categories](https://4016371164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1-bzGggknMKVWOqg5-%2Fuploads%2FplnICGZUifnWQZvcnFbW%2Fcateogory-meup.png?alt=media\&token=a426c402-40e6-4bb7-a11a-6d95397de4ce)

* **Image**: Choose featured image for a category. To upload featured image for a category, choose the category, click edit button, go to image tab and click "Add image" button to upload.&#x20;

![](https://4016371164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1-bzGggknMKVWOqg5-%2Fuploads%2F79W2PmtgjKIsumLWL5Bp%2Fcateogory-meup-1.png?alt=media\&token=fb097076-7127-4fca-9328-d04cfe59ea93)

## **2: Display Categories on the Frontend**

Add Category to menu.

![](https://4016371164-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M1-bzGggknMKVWOqg5-%2F-MB3HX90kHrURWX5wWe-%2F-MB3IbJlzbVonc9cuZGt%2FScreen%20Shot%202020-06-30%20at%203.16.01%20PM.jpg?alt=media\&token=6e402395-8e77-48a5-acd1-381aa80e12b2)

![](https://4016371164-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M1-bzGggknMKVWOqg5-%2F-MN6nMsyPl5tY5UiV6cL%2F-MN6oLI3JBhF05_emMk9%2FScreen%20Shot%202020-11-27%20at%2010.48.27%20AM.jpg?alt=media\&token=f8da02d9-5db7-4621-a836-fa7a17bd0905)

If the event titles only display three words, you can show more words by adding the code below to the `functions.php` file in your child theme. Change the value `120` to the number of words you want.

```
add_filter( 'el_title_count_two', function(){ return 120; } );
add_filter( 'el_title_count_three', function(){ return 120; } );
```

## **3: Choose a Category When Making a New Event**

![](https://4016371164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1-bzGggknMKVWOqg5-%2Fuploads%2FjhoN0qkgf3pXvYmahpXR%2Fcateogory-meup-2.png?alt=media\&token=571bb8f4-58a4-4d0f-9335-07da9bb247ab)

## **4: Customize template of Category Page**

#### a) Remove/Customize search form

[Read here](https://ovatheme.gitbook.io/meup/frontend/event-archive-template#id-3-search-form)

#### b) Change layout of event listing page

Go to **Events >> Settings >> Event >> Archive Event Settings**

#### c) Customize layout in child theme

```
Copy code from
Plugins/eventlist/templates/archive-event.php 
to
Themes/meup-child/eventlist/archive-event.php
```
