Categories
This is where all categories are managed.
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, Read here for more details

Image: Choose featured image for a category. To upload featured image for a category, choose the category >> click edit button >> go to image tab: click "Add image" button

2: Display Categories on the Frontend
2.1) Add Category to menu
Go to Appearance >> Menus


2.2) Change Header/Footer for archive/category event
Go to Appearance >> Customize >> Event >> Archive

3: Customize the template of the Event Category Page and Archive Page


3.1) Search Form

a) Delete Search Form
Add code to functions.php file in meup-child theme
function el_event_archive_description(){
echo "";
}b) Update fields in Search Form
Add code to functions.php file in meup-child theme
function el_event_archive_description(){
echo do_shortcode( '[el_search_form type="type3" pos1="name_event" pos2="cat" pos3="loc_state" pos4="loc_city" pos5="all_time" pos6="start_event" pos7="end_event" pos8="venue" pos9="event_type" pos10="range_slider" taxonomy_customize="" min_slider="0" max_slider="300" start_slider="0" end_slider="80" class="" /]' );
}type: Enter one of the following values: "type1", "type2", "type3"
pos1, pos2, pos3 ... pos10: Enter one of the following values:
name_event: display event name field
loc_input: display location field
loc_state: display state field
loc_city: display city field
cat: display category field
all_time: display dropdown values: "today", "tomorrow", "this week", "this weekend", "next week", "next month"
start_event: display start date field
end_event: display end date field
venue: display venue field.
event_type: display dropdown values: "online", "offline"
range_slider: Display range slider for price. To use this feature, you have to enter other params: min_slider, max_slider, start_slider, end_slider
icon1, icon2, icon3 ... icon10: Display icons next to the corresponding positions (pos1, pos2 ... post10). The value of icon such as class icon. You can find class icon here
min_slider: Insert number
max_slider: Insert number
start_slider: Insert number
end_slider: Insert number
taxonomy_customize: insert slug of custom taxnomy like tax1, tax2. Read here about custom taxonomy.
class: Insert a class for customize style of form.
3.2) Layout of event archive/category page
Go to Events >> Settings >> Event tab >> Event Listing

a) Sort events in archive/category page
Go to Events >> Settings >> Event tab >> Event Listing and change some settings:
Show events: You can choose "All events", "Upcoming events", "Opening and Upcomint events", Opening events", "Past events".
Order by: Sort event in archive/category page by: Title, ID, Start Date, End Date, Nearest, Newest First, Oldest First.
Order: This criterion works together with “Order By” to sort events in ascending or descending order.
Column: Choose 2 or 3 columns
Events per page: Total number of events per page
Latitude Map default: This setting used in some element related to Map.
Longitude Map default: This setting used in some element related to Map.
b) Card event template
Go to Events >> Settings >> Event tab >> Event Listing and change some settings:
Event card template: The system supports some card template: Type 1, Type 2, Type 3, Type 4, Type 5, Type 6
Display Price: Display in Card template. Some formats: Min, Max, Min to Max
Display Date: Display in Card template. Some formats: Start Date, Start - Event Date
Display image: Display in card template. Some formats: Thumbnail, Slider.
Show Time: Display time in card template.
The system supports 6 card templates:






b.1: Remove Thumbnail, Slider
add bellow code to functions.php file in meup-child theme
// Remove thumbnail, slider
function el_loop_event_thumbnail(){
return '';
}b.2: Remove Author image
add bellow code to functions.php file in meup-child theme
// Remove author
function el_loop_event_author(){
return '';
}b.3: Remove Category
add bellow code to functions.php file in meup-child theme
// Remove Category
function el_loop_event_cat(){
return '';
}
// Remove Category in type 3
function el_loop_event_cat_3(){
return '';
}b.4: Remove Title
add bellow code to functions.php file in meup-child theme
// Remove Title
function el_loop_event_title(){
return '';
}b.4.1 Display Title more words
You can add the code bellow to functions.php in child theme. Change value 120 to your number words.
add bellow code to functions.php file in meup-child theme
// Change length for title
add_filter( 'el_title_count_two', function(){ return 120; } );
add_filter( 'el_title_count_three', function(){ return 120; } );b.5: Remove Price
add bellow code to functions.php file in meup-child theme
// Remove Price
function el_loop_event_price(){
return '';
}b.6: Remove Date
add bellow code to functions.php file in meup-child theme
// Remove date
function el_loop_event_time(){
return '';
}
// Remove date
function el_loop_event_date(){
return '';
}
// Remove date type 4
function el_loop_event_date_4(){
return '';
}Some Hooks change date:
// Display Date
add_filter( 'el_event_date_format', function(){ return '[weekday], [date], '; } );
// Change weekday format
add_filter( 'el_weekday_format', function(){ return 'l'; } );
// Change date format
add_filter( 'el_date_format', function(){ return 'Y M d'; } );
// Change time format
add_filter( 'el_time_format', function(){ return 'h:a'; } );
// Display Hour
add_filter( 'el_start_end_time_format', function(){ return '[start_time] - [end_time]'; } );
// Define separator between start date and end date
add_filter( 'el_event_date_separator', function(){ return '-'; } );
b.7: Remove Location
add bellow code to functions.php file in meup-child theme
// Remove Location
function el_loop_event_location(){
return '';
}b.8: Remove Rating
add bellow code to functions.php file in meup-child theme
// Remove Rating
function el_loop_event_ratting(){
return '';
}b.9: Remove Button
add bellow code to functions.php file in meup-child theme
// Remove button
function el_loop_event_button(){
return '';
}b.10: Remove favourite
add bellow code to functions.php file in meup-child theme
// Remove Favourite
function el_loop_event_favourite(){
return '';
}b.11: Remove status
add bellow code to functions.php file in meup-child theme
// Remove event status
function el_loop_event_status(){
return '';
}b.12: Remove Share
add bellow code to functions.php file in meup-child theme
// Remove share
function el_loop_event_share(){
return '';
}3.3) Customize template via file.
You can customzie template of Archive/Category page:
Copy file
plugins/eventlist/templates/archive-event.php
to
themes/meup-child/eventlist/archive-event.phpFor Detail: You can edit the file corresponding to the card template selected in the settings.
Example:
It Events >> Settings >> Event >> Archvie Event Setting >> Type: Type 1,
you need to customzie file:
plugins/eventlist/templates/content-event-type1.phpLast updated
Was this helpful?