How can we help?
-
Getting Started
-
Shortcodes
-
Settings
-
Event Dashboard
-
Custom Fields
-
Categories & Types
-
Widgets
-
Troubleshooting
- Dealing with problematic themes
- Enable Trace and Debug Javascript file logs
- Event listing styling and fonts problem
- Event listings not showing up in the [events] page
- Event listings throw 404 page error
- Events don’t display until RESET is pressed
- How to add my registrations on my account page
- Woocommerce cart fragment-jquery cookie problem
-
Advanced / Customisation
-
WP Event Manager Tutorials
- Add a custom field in the search form on the event dashboard
- Add custom field in Search filter
- Adding a country field for events
- Change Default Events Listing View
- Changing Login Redirects
- Changing the event slug/permalink
- Changing the priority of field for event submission form
- Create Child Theme
- Create default image path filter
- Create or pick categories from Free/ Core WP Event manager
- Create single event template with Elementor Pro
- Creating a custom event search form
- Cron Job
- Disable Any theme timepicker
- Editing Event Submission Form Fields
- Event Detail Page
- Event List with Elementor plugin
- Hide Additional Information Section from Single Event Page
- Hide and Add column from the Event Dashboard
- Hide Comment on Single Event Listing Page
- How To Add My Registrations on My Account Page
- How to allow comment forms on each event?
- How to allow organizers to add images in the description box
- How to delete an expired event by time
- How to Disable Social Media share links?
- How to display additional custom fields on a single event page?
- How to override archive template
- How To Remove Duplicate Event Type Meta Box While Using Gutenberg Editor
- How to replace default event banner placeholder image
- Importing Event Listings With WP All Import Pro
- Limit the banner Size
- List of all the default template and fields given in core and Premium Add-ons
- Multilingual Website Using WPML
- Ordering Events By Event Start Date / meta key
- Remove existing field from event submission form
- Remove the Preview Step
- Translating WP Event Manager
- Validate submit event field Snippets
- Visual Composer
- How to Download and Edit the Prebuilt Theme by WP Event Manager
- Show all articles ( 25 ) Collapse Articles
-
Add-ons
- Attendee Information
- Bookmarks
- Colors
- Contact Organizer
- Emails
- Embeddable Event Widget
- Event Alerts
- Event Calendar
- Event iCal
- Event Slider
- Event Tags
- Export Events
- Google Analytics
- Google Maps
- Google reCAPTCHA
- Mailchimp
- Organizers
- Recurring Events
- Registrations
- Sell Tickets
- Sendinblue
- Stripe Split Payment
- Woocommerce Paid Listings
- Zoom
- Mobile App
- Divi Elements
- Guest List
- Constant Contact
- Active Campaign
- HubSpot CRM Integration
- Salesforce CRM Integration
- Zoho CRM Integration
- Name Badges
- Show all articles ( 18 ) Collapse Articles
-
Add ons Tutorials
- Attendee limit on registration addon
- Change the domain of license key (license key migration )
- Editing registration form fields
- Event tag snippets
- Existing Licence Key Activation
- Exporting Registrations
- Facebook Preview
- Field restriction on the registration form without sell ticket and attendee information
- Hide/Show registration button on specific events
- How To Install WP Event Manager Add ons
- How to show Ticket Price
- Send an email notification to the organizer when a event is approved
-
Virtual Addons
-
Themes
Hide Comment on Single Event Listing Page
Created On
Last Updated On
Print
0
0
- Main
- WP Event Manager Tutorials
- Hide Comment on Single Event Listing Page
In order to disable/hide comment section on your Single event listing page,
- Open your child theme,
- Add the code into the funtions.php file
function wpem_comment_disable( $open, $post_id ) { $post_type = get_post_type( $post_id ); if ( $post_type == 'event_listing' ) { return false; } return true; } add_filter( 'comments_open', 'wpem_comment_disable', 10 , 2 );
- Save
Quick Links