Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #743679

    Hi,
    We would like to disable comments (for events) by default. We’ve un-selected the checkbox under Events > Settings > Show Comments, but the “allow comments” checkbox still comes up as checked everytime we create a new event. Is there another way of disabling comments or is this an indication that the checkbox under Events > Settings isn’t working.

    Thanks,
    jose

    #745469

    Hey Jose,

    Please try adding following code to Functions.php file in Appearance > Editor

    add_action( 'init', 'remove_custom_post_comment' );
    function remove_custom_post_comment() {
        remove_post_type_support( 'tribe_events', 'comments' );
    }

    Best regards,
    Yigit

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.