📕
Meup - Marketplace Events WordPress Theme
  • READ THE FIRST
  • Global
    • Youtube Tutorials
    • Install Theme
    • Update Theme/Plugins
      • Automatic Update
      • Manual Update
    • Support Theme
  • Basic
    • Header Settings
    • Update Footer
    • Home Page
    • Theme Options
      • Typography
      • Layout Global
      • Header Global
      • Footer Global
      • Blog
      • Event
      • Venue
      • Author
      • Site Identity
  • Main Features
    • How to make money with Theme?
    • VENDORS FEATURES
      • READ THE FIRST
      • Package
      • Create Event
        • Basic
        • Ticket
          • Internal link - No Seat
          • Internal link - Simple Seat
          • Internal link - Map
          • Event Online (Virtual Online)
          • External Link
          • Customize Template
        • Calendar
        • Coupon
        • Staff member
        • Cancel booking
        • Extra Service
      • My Listings
      • Wallet
      • General
      • My Bookings
      • My Wishlist
      • My Profile
    • USER FEATURES
      • READ THE FIRST
      • My Bookings
      • My Wishlist
      • My Profile
    • ADMIN FEATURES
      • Create Event
      • Manage Event
      • Manage Packages
      • Manage Venues
      • Manage Categories
      • Manage State, City
      • Manage Custom Taxonomy
      • Manage Custom Checkout Fields
      • Manage all Bookings
      • Manage all Tickets
      • Report Sales
      • Report User
      • Cancel/Refund Booking
      • Manage Withdraw and Payout
        • Method 1
        • Method 2
    • Settings
      • General
      • Event
      • Package
      • Checkout
      • Cancel Booking
      • Mail
      • Tax & Profit
      • Role
      • PDF Invoice
      • Ticket Transfer
      • Date Format
    • Elements in page
      • Search Form
      • Search Half Map
      • Event Category
      • Event Slider
      • Location Event
      • Event Slideshow
      • Event Grid
  • Login/Register User
    • READ THE FIRST
    • Setup Login, Register
    • Customize Register User Form
    • Admin Approve Vendor
  • Scan QR code in ticket
    • READ THE FIRST
    • Via Mobile Phone
    • Via Application
      • Install Application
      • Use Application
      • Customize Application
    • Via a link
    • Note
  • Frontend
    • Change Slug event
    • Event Archive Template
    • Event Detail Template
    • Cart Event Page
    • Checkout page in WooComemrce
    • Author Page
    • Customize PDF Ticket
    • Disable Marketplace
    • Vendor Dashboard
    • Mail
    • Update Sharing Social
  • Other
    • Mail chimp setting
    • Google Map
    • Translation
    • Find Icons
  • FAQs
    • Can't Book Events
    • Cart Event Error
    • Admin will approve event before publish it.
    • Login before booking event
    • when i create events, there is not ''booking button'' but ''share button''
    • Get Token Instagram
    • The vendor submit event without register package
    • Search go to home page
Powered by GitBook
On this page
  • 1: Frontend
  • 2: Card Template
  • 2.1: Remove Thumbnail
  • 2.2: Remove Author image
  • 2.3: Remove Category
  • 2.4: Remove Title
  • 2.4.1 Display Title more words
  • 2.5: Remove Price
  • 2.6: Remove Date
  • 2.7: Remove Location
  • 2.8: Remove Rating
  • 2.9: Remove Button
  • 2.10: Remove favourite
  • 2.11: Remove status
  • 2.12: Remove Share
  • 3: Search form
  • 3.1: Add/Update/Remove filed in search form
  • 3.2: Remove Search form
  • 4: Customize Template

Was this helpful?

  1. Frontend

Event Archive Template

Add hook code to functions.php file in child theme

PreviousChange Slug eventNextEvent Detail Template

Last updated 10 days ago

Was this helpful?

1: Frontend

2: Card Template

2.1: Remove Thumbnail

remove_action( 'el_loop_event_thumbnail', 'el_loop_event_thumbnail' );

2.2: Remove Author image

remove_action( 'el_loop_event_author', 'el_loop_event_author' );

2.3: Remove Category

remove_action( 'el_loop_event_cat', 'el_loop_event_cat' );
remove_action( 'el_loop_event_cat_3', 'el_loop_event_cat_3' ); // available in version 1.2.1

2.4: Remove Title

remove_action( 'el_loop_event_title', 'el_loop_event_title' );

2.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_filter( 'el_title_count_two', function(){ return 120; } );
add_filter( 'el_title_count_three', function(){ return 120; } );

2.5: Remove Price

remove_action( 'el_loop_event_price', 'el_loop_event_price' );

2.6: Remove Date

remove_action( 'el_loop_event_time', 'el_loop_event_time' );
remove_action( 'el_loop_event_date', 'el_loop_event_date' );
remove_action( 'el_loop_event_date_4', 'el_loop_event_date_4' );

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 '-'; } );

2.7: Remove Location

remove_action( 'el_loop_event_location', 'el_loop_event_location' );

2.8: Remove Rating

remove_action( 'el_loop_event_ratting', 'el_loop_event_ratting' );

2.9: Remove Button

remove_action( 'el_loop_event_button', 'el_loop_event_button' );

2.10: Remove favourite

remove_action( 'el_loop_event_favourite', 'el_loop_event_favourite' );

2.11: Remove status

remove_action( 'el_loop_event_status', 'el_loop_event_status' );

2.12: Remove Share

remove_action( 'el_loop_event_share', 'el_loop_event_share' );

3: Search form

3.1: Add/Update/Remove filed in search form

remove_action( 'el_archive_description', 'el_event_archive_description', 10 );
add_action( 'el_archive_description', 'el_event_archive_description', 10 );
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" taxonomy_customize="" content="" min_slider="0" max_slider="300" start_slider="0" end_slider="80" class="" /]' );
}

type: type1, type2, type3

pos1, pos2, pos3 ... pos8 you can insert any value: name_event, loc_input, cat, loc_state, loc_city, all_time, start_event, end_event, venue

taxonomy_customize: insert slug of custom taxnomy like tax1, tax2

content: Insert description

min_slider: Insert number

max_slider: Insert number

start_slider: Insert number

end_slider: Insert number

3.2: Remove Search form

remove_action( 'el_archive_description', 'el_event_archive_description', 10 );Customize template

4: Customize Template

You can customzie template of Archive page by copy file

plugins/eventlist/templates/archive-event.php
to
themes/meup-child/eventlist/archive-event.php

For 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.php