Title: Default Event Type
Last modified: June 30, 2023

---

# Default Event Type

 *  Resolved [Lori Schroeder](https://wordpress.org/support/users/lswebs/)
 * (@lswebs)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/default-event-type/)
 * How do I change the default event type? When the form loads, Networking Event–
   In-Person is already selected and you can’t even see that there is a dropdown.
   I want to change the default.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdefault-event-type%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 11 replies - 1 through 11 (of 11 total)

 *  Plugin Author [Rita Kikani](https://wordpress.org/support/users/kikanirita/)
 * (@kikanirita)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/default-event-type/#post-16864286)
 * Hello [@lswebs](https://wordpress.org/support/users/lswebs/) ,
 * I had check on given link in above thread, it is working perfect. You can see
   the video which we create for your site testing.
 * [https://www.awesomescreenshot.com/video/18809476?key=1846414a718d71069a47a9762568736e](https://www.awesomescreenshot.com/video/18809476?key=1846414a718d71069a47a9762568736e)
 * Thank you.
 *  Thread Starter [Lori Schroeder](https://wordpress.org/support/users/lswebs/)
 * (@lswebs)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/default-event-type/#post-16866198)
 * My question was how do I change the default event type? I do not want what it
   is currently defaulting to. I would like it to default to Webinar.
 *  Plugin Author [Rita Kikani](https://wordpress.org/support/users/kikanirita/)
 * (@kikanirita)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/default-event-type/#post-16867400)
 * Hi [@lswebs](https://wordpress.org/support/users/lswebs/) ,
 * for that you need to customize code in template file : wp-content\plugins\wp-
   event-manager\templates\form-fields\term-multiselect-field.php
 * You need to override this file at your theme functions.php file and customize
   that overwritten file. you need to put proper condition that term is
 * if($field[‘taxonomy’]==event_listing_type){
 * $selected = <your_default_term_id>;
 * }
 * If you need any further help then please write your issue.
 * Thank you.
 *  Thread Starter [Lori Schroeder](https://wordpress.org/support/users/lswebs/)
 * (@lswebs)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/default-event-type/#post-16884000)
 * Sorry, but I really don’t understand what you are saying I need to do.
 *  Thread Starter [Lori Schroeder](https://wordpress.org/support/users/lswebs/)
 * (@lswebs)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/default-event-type/#post-16884457)
 * Specifically on this page [https://www.nonprofit.courses/submit-event-form](https://www.nonprofit.courses/submit-event-form)
   I want Event Type to default to Webinar.
 *  Plugin Author [Rita Kikani](https://wordpress.org/support/users/kikanirita/)
 * (@kikanirita)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/default-event-type/#post-16885375)
 * Hi [@lswebs](https://wordpress.org/support/users/lswebs/) ,
 * You need to first override template file : wp-content\plugins\wp-event-manager\
   templates\form-fields\term-multiselect-field.php
 * You can read doc for How to override template file from : [https://wp-eventmanager.com/knowledge-base/how-override-archive-template/](https://wp-eventmanager.com/knowledge-base/how-override-archive-template/)
 * In your theme side template file term-multiselect-field.php, you need to add 
   code on line no.12
 * if($field[‘taxonomy’]==event_listing_type){
 * $selected = 1390;
 * }
 * This will definitely resolve your issue.
 * Thank you.
 *  Thread Starter [Lori Schroeder](https://wordpress.org/support/users/lswebs/)
 * (@lswebs)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/default-event-type/#post-16891005)
 * Thanks for your help, that made sense to me and I think I did what you wrote,
   but it did not change the default.
 * I copied term-multiselect-field.php into wp-content/themes/lifterlms-launchpad/
   wp-event-manager. I then copied the code above. But the default on the form still
   remains as Networking Event – In Person. 
   I’ll copy the code I have here:
 *     ```wp-block-code
       <?php
   
       // Get selected value
   
       if (isset($field['value'])) {
   
           $selected = $field['value'];
   
       } elseif (!empty($field['default']) && is_int($field['default'])) {
   
           $selected = $field['default'];
   
       } elseif (!empty($field['default']) && ($term = get_term_by('slug', $field['default'], $field['taxonomy']))) {
   
           $selected = $term->term_id;
   
       } else {
   
           $selected = '';
   
       }
   
       if($field['taxonomy']==event_listing_type) {
   
           $selected = 1390;
   
       }
   
       wp_enqueue_script('wp-event-manager-term-multiselect');
   
       $args = array(
   
           'taxonomy'     => $field['taxonomy'],
   
           'hierarchical' => 1,
   
           'name'         => isset($field['name']) ? $field['name'] : $key,
   
           'orderby'      => 'name',
   
           'selected'     => $selected,
   
           'hide_empty'   => false
   
       );
   
       if (isset($field['placeholder']) && !empty($field['placeholder'])) 
   
           $args['placeholder'] = $field['placeholder'];
   
       event_manager_dropdown_selection(apply_filters('event_manager_term_multiselect_field_args', $args));
   
       if (!empty($field['description'])) : ?>
   
           <small class="description">
   
               <?php echo esc_textarea($field['description']); ?>
   
           </small>
   
       <?php endif; ?>
       ```
   
 *  Plugin Author [Rita Kikani](https://wordpress.org/support/users/kikanirita/)
 * (@kikanirita)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/default-event-type/#post-16899417)
 * Hi [@lswebs](https://wordpress.org/support/users/lswebs/) ,
 * You must have to paste your file in “wp-content/themes/lifterlms-launchpad/wp-
   event-manager/form-fields”, not in “wp-content/themes/lifterlms-launchpad/wp-
   event-manager/”, this wi;; definitely resolve your issue. If you still getting
   issue then please open support ticket on : [https://support.wp-eventmanager.com/portal/en/signin](https://support.wp-eventmanager.com/portal/en/signin)
 * Thank you.
 *  Thread Starter [Lori Schroeder](https://wordpress.org/support/users/lswebs/)
 * (@lswebs)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/default-event-type/#post-16900704)
 * Thanks, I am able to get Webinar as the default now. I got an error at first,
   so I had to put if($field[‘taxonomy’]==’event_listing_type’) instead.
 * One more question please! How do I change the default for Online Event from No
   to Yes?
 *  Plugin Author [Rita Kikani](https://wordpress.org/support/users/kikanirita/)
 * (@kikanirita)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/default-event-type/#post-16908300)
 * Hi [@lswebs](https://wordpress.org/support/users/lswebs/) ,
 * To change default value for “Online Event” for submit event, you need to add 
   apply below filter(code) in your theme(or child theme) functions.php file.
 *     ```wp-block-code
       add_filter('submit_event_form_fields', 'set_default_submit_event_form_fields');
   
       function set_default_submit_event_form_fields($fields){
   
           $fields['event']['event_online'] = array(
   
                       'label' => __('Online Event','wp-event-manager'),                                  
   
                       'type'  => 'radio',
   
                       'default'  => 'yes',
   
                       'options'  => array(
   
                                   'yes' => __( 'Yes', 'wp-event-manager'),
   
                                   'no' => __( 'No', 'wp-event-manager')
   
                            ),
   
                       'priority'    => 4,
   
                       'required'=>true
   
                    );
   
           return $fields;
   
       }
       ```
   
 * This code will resolve your query to select default value.We hope that you satisfying
   with our plugin functionality and support, So could you please give positive 
   review with 5 start to our plugin.
 * Thank you.
    -  This reply was modified 2 years, 8 months ago by [Rita Kikani](https://wordpress.org/support/users/kikanirita/).
 *  Thread Starter [Lori Schroeder](https://wordpress.org/support/users/lswebs/)
 * (@lswebs)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/default-event-type/#post-16909817)
 * Thanks, that worked perfectly!

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Default Event Type’ is closed to new replies.

 * ![](https://ps.w.org/wp-event-manager/assets/icon-256x256.png?rev=1622826)
 * [WP Event Manager – Events Calendar, Registrations, Sell Tickets with WooCommerce](https://wordpress.org/plugins/wp-event-manager/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-event-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-event-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-event-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-event-manager/reviews/)

 * 11 replies
 * 2 participants
 * Last reply from: [Lori Schroeder](https://wordpress.org/support/users/lswebs/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/default-event-type/#post-16909817)
 * Status: resolved