How To Remove Duplicate Event Type Meta Box While Using Gutenberg Editor
- Open your child theme.
- Enter the following code in your functions.php file.
add_filter(
'rest_prepare_taxonomy'
,
'wpem_hide_event_type_metabox'
, 10, 2 );
function
wpem_hide_event_type_metabox(
$response
,
$taxonomy
)
{
if
(
'event_listing_type'
===
$taxonomy
->name )
{
$response
->data[
'visibility'
][
'show_ui'
] = false;
}
return
$response
;
}
Save changes.
Related Articles
Installation of WP Event Manager
Automatic Installation of FREE WP Event Manager Installing WP Event Manager is just a matter of a few clicks. You can add WP Event Manager to your website by using the dashboard offered to you at the backend of the CMS. To install the plugin ...
Remove existing field from event submission form
Removing fields from event the event submission form In this guide, you will learn about how you can remove existing fields from the event submission form and how you can remove some social fields from the organizer section. Remove existing field ...
Event Detail Page
The Event detail page carries various details of a particular event. These details include the event title, event type, event location, event start date & time, event end date & time, event description, etc. besides this, you can also get the details ...
Multilingual Website Using WPML
WordPress Multilingual Plugin is one of the most powerful tools used for translation and it is highly compatible with the WP Event Manager plugin. It makes it easy to transform any ordinary WordPress website into a multilingual site. You can choose ...
Changing the event slug/permalink
In this guide, we will show you how you can change or customize the event slug or permalink. It usually appears like this: http://yoursite.com/events/event-listing-title in the default settings. To customize this with WP Event Manager, you can use ...