# Event Detail Template

## 1: Frontend

![](https://4016371164-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M1-bzGggknMKVWOqg5-%2F-MgOOTvxFFVT3UsFJUnU%2F-MgORHE6BR2nYW2B09Tm%2Fevent-detail-template.jpeg?alt=media\&token=830ad5fa-9355-4820-ba9e-4d1efb86a1e0)

## 2: Customzie via Hook

### 1: Remove images, gallery at top

Add the code bellow in functions.php file in child theme

```
remove_action( 'el_single_event_banner', 'el_single_event_banner', 10 );
```

### 2: Remove modern Date

Add the code bellow in functions.php file in child theme

```
remove_action( 'el_loop_event_date', 'el_loop_event_date' );
```

### 3: Remove Event Name

Add the code bellow in functions.php file in child theme

```
remove_action( 'el_single_event_title', 'el_single_event_title' );
```

### 4: Remove Date

Add the code bellow in functions.php file in child theme

```
remove_action( 'el_single_event_date', 'el_single_event_date' );
```

### 5: Remove Address

Add the code bellow to the functions.php file of your child theme

```
remove_action( 'el_single_event_address', 'el_single_event_address' );
```

### 6: Remove Booking button

Addthe code bellow in functions.php file in child theme

```
remove_action( 'el_single_act_booking', 'el_single_act_booking' );
```

### 7: Remove Social Share

Add the code bellow in functions.php file in child theme

```
remove_action( 'el_single_share_social', 'el_single_share_social' );
```

### 8: Remove Export

Add the code bellow in functions.php file in child theme

```
remove_action( 'el_single_report', 'el_single_report' );
```

### 9: Remove Calendar

Addthe code bellow in functions.php file in child theme

```
remove_action( 'el_single_calenda_export', 'el_single_calenda_export' );
```

### 10: Remove Description

Add the code bellow in functions.php file in child theme

```
remove_action( 'el_single_event_content', 'el_single_event_content' );
```

### 11: Remove Ticket Information

Add the code bellow in functions.php file in child theme

```
remove_action( 'el_single_event_ticket_info', 'el_single_event_ticket_info' );
```

### 11.1 Remove "Discount" in Ticket Information

<figure><img src="https://4016371164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M1-bzGggknMKVWOqg5-%2Fuploads%2FEN3FMCPYJL4s5YCDe91x%2FScreen%20Shot%202024-08-19%20at%2011.34.26.png?alt=media&#x26;token=19115bbf-b6ff-45cc-be01-4b5dca64716e" alt=""><figcaption></figcaption></figure>

Add the code bellow in functions.php file in child theme:

```
add_filter( 'el_show_coupon_ticket_single', '__return_false' );
```

### 12: Remove Calendar or Schedule Event

Add the code bellow in functions.php file in child theme

```
remove_action( 'el_single_event_ticket_calendar', 'el_single_event_ticket_calendar' );
```

### 13: Remove Gallery

Add the code bellow in functions.php file in child theme

```
remove_action( 'el_single_event_gallery', 'el_single_event_gallery' );
```

### **Remove Video**

```
remove_action( 'el_single_event_video', 'el_single_event_video' );
```

### 14: Remove Rating

Add the code bellow in functions.php file in child theme

```
remove_action( 'el_single_event_comment', 'el_single_event_comment' );
```

### 15: Remove Related Events

Add the code bellow in functions.php file in child theme

```
remove_action( 'el_single_event_related', 'el_single_event_related' );
```

### 16: Remove Policy

Addthe code bellow in functions.php file in child theme

```
remove_action( 'el_single_event_policy', 'el_single_event_policy' );
```

### 17: Remove Map

Add the code bellow in functions.php file in child theme

```
remove_action( 'el_single_event_map', 'el_single_event_map' );
```

### 18: Contact Info

#### 18.1 Remove Contact Info Area

Add the code bellow in functions.php file in child theme

```
remove_action( 'el_author_info', 'el_author_info' );
```

#### 18.2 Remove Phone

Add the code bellow in functions.php file in child theme

```
add_filter( 'el_show_phone_info', '__return_false' );
```

#### 18.3 Remove Email

Add the code bellow in functions.php file in child theme

```
add_filter( 'el_show_mail_info', '__return_false' );
```

#### 18.4 Remove Website Link

Add the code bellow in functions.php file in child theme

```
add_filter( 'el_show_website_info', '__return_false' );
```

#### 18.5 Remove Address

Add the code bellow in functions.php file in child theme

```
add_filter( 'el_show_address_info', '__return_false' );
```

#### 18.6 Contact Form&#x20;

Add the code bellow in functions.php file in child theme

Remove "Send Message" Button

```
add_filter( 'el_single_event_show_send_message_btn', '__return_false' );
```

Customize "Contact Form" in child theme:

```
Copy file 
plugins/eventlist/templates/author_info.php 
to
themes/meup-child/eventlist/author_info.php
```

### 19: Remove Tags

Add the code bellow in functions.php file in child theme

```
remove_action( 'el_single_event_tag', 'el_single_event_tag' );
```

### 20: Remove Ads image

Go to Apperance >> Widgets >> Delete widgets in Event Sidebar

![](https://4016371164-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M1-bzGggknMKVWOqg5-%2F-MgOOTvxFFVT3UsFJUnU%2F-MgOUqFuDpgag5cEWhGX%2FScreen%20Shot%202021-08-06%20at%2010.25.54%20AM.jpg?alt=media\&token=0e9dcb75-e5f2-4a25-95df-749a2d941a6e)

## 3: Customize via file template in child theme

```
Copy file 
plugins/eventlist/templates/content-single-event.php 
to 
themes/meup-child/eventlist/content-single-event.php 
```

![](https://4016371164-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M1-bzGggknMKVWOqg5-%2F-M3ELNFHn7ut3A9wiMjn%2F-M3EQBRFTZGe6VoEhvGW%2FScreen%20Shot%202020-03-25%20at%208.59.43%20AM.jpg?alt=media\&token=c9b305d0-c561-4e04-b111-c45dba3da234)

Customize elements in event detail:&#x20;

```
Copy files of elements in
plugins/eventlist/templates/single/*.php 
to 
themes/meup-child/eventlist/single/*.php
```

![](https://4016371164-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M1-bzGggknMKVWOqg5-%2F-M3ELNFHn7ut3A9wiMjn%2F-M3ERC_llyB052ZmqXSn%2FScreen%20Shot%202020-03-25%20at%209.06.09%20AM.jpg?alt=media\&token=1e97655c-cf23-4558-a265-c681b1e416a6)
