📕
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: Basic Settings
  • 1: Name of event
  • 2: Category of event
  • 3: Timezone
  • 4: Custom Taxonomy
  • 5: Tags
  • 6: Visibility
  • 7: Description
  • 8: Event Type
  • 9: Contact Info
  • 10: Feature Image
  • 11: Gallery
  • 12: Video
  • 13: Display Top Banner
  • 2: Customize template
  • 3: Some Hooks
  • a) Fields are mandatory when creating events
  • b) The custome taxonomy is mandatory

Was this helpful?

  1. Main Features
  2. VENDORS FEATURES
  3. Create Event

Basic

PreviousCreate EventNextTicket

Last updated 1 month ago

Was this helpful?

1: Basic Settings

Go to My Account >> Create Event >> Insert Infomation in some tabs:

1: Name of event

2: Category of event

3: Timezone

  • Setup default Timezone by adding bellow code to functions.php file in child theme

add_filter( 'el_set_timezone_default', function(){  return 'UTC+3'; } );
  • You can remove it by adding bellow code to functions.php file in child theme

add_filter( 'el_show_timezone', '__return_false' );

4: Custom Taxonomy

  • You aslso can remove some custom taxonomy by using code and insert to to functions.php file in child theme

add_filter( 'el_exclude_custom_taxonomy', 'el_exclude_custom_taxonomy_customize' );
function el_exclude_custom_taxonomy_customize(){
    return array( 'slug of custom taxonomy' );
}

5: Tags

6: Visibility

7: Description

Add Images in Description: You can add bellow code in functions.php file child theme

add_filter( 'el_vendor_add_media_content_event', function(){ return true; } );

8: Event Type

  • Setup Default Type: Add bellow code in functions.php file in child theme

// Choose Physical location is default
add_filter( 'el_event_type_default', function(){  return 'classic'; } );

// Choose Online is default
add_filter( 'el_event_type_default', function(){  return 'online'; } );
  • Remove an option: Add bellow code in functions.php file in child theme

// Remove Physical location
add_filter( 'el_show_event_type_physical', '__return_false' );

// Remove Online
add_filter( 'el_show_event_type_online', '__return_false' );

9: Contact Info

10: Feature Image

11: Gallery

12: Video

13: Display Top Banner

2: Customize template

Without use some above filter hook, you can customize template in child theme:

Copy file:
wp-content/plugins/eventlist/templates/vendor/__edit-event-basic.php 
to
wp-content/themes/meup-child/eventlist/vendor/__edit-event-basic.php
and edit code in that file

3: Some Hooks

a) Fields are mandatory when creating events

Add bellow code to functions.php file in child theme. Change the value "true" to "false" if you do not want this field to be required.

add_filter( 'el_event_req_field', 'el_event_req_field_customize' );
function el_event_req_field_customize(){

	$event_req_field = array(
		'event_name' => array(
			'required' => true,
			'message'  => __( 'Event name is required', 'eventlist' )
		),
		'event_cat' => array(
			'required' 	=> true,
			'message' 	=> __( 'Category is required', 'eventlist' ),
		),
		'description' => array(
			'required' 	=> true,
			'message' 	=> __( 'Description is required', 'eventlist' ),
		),
		'img_thumbnail' => array(
			'required' 	=> true,
			'message' 	=> __( 'Image feature is required', 'eventlist' ),
		),
		'timezone' => array(
			'required' 	=> true,
			'message' 	=> __( 'Timezone is required', 'eventlist' ),
		),
		'event_tag' => array(
			'required' 	=> true,
			'message' 	=> __( 'Tag is required', 'eventlist' ),
		),
		'event_venue' => array(
			'required' 	=> true,
			'message' 	=> __( 'Venue name is required', 'eventlist' )
		),
		'event_gallery' => array(
			'required' 	=> true,
			'message' 	=> __( 'Gallery is required', 'eventlist' )
		),
		'event_video' => array(
			'required' 	=> true,
			'message' 	=> __( 'Video is required', 'eventlist' ),
		),
	);

	return $event_req_field;

}

b) The custome taxonomy is mandatory

If custom taxonomy has slug like "eljob", "eltime", you can insert bellow code to funcitons.php file in child theme

add_filter( 'el_custom_taxonomy_required', 'el_custom_taxonomy_required_customize' );
function el_custom_taxonomy_required_customize(){

	return array( 'eljob', 'eltime' );
}

Only admin can update categories.

Only Admin can setup custom taxonomy.

If the Admin need to check event before publish (), so the Visibility will set Pending Default.

Read here
Read here
read here