• Resolved keys888

    (@keys888)


    Is there a way to not display “Register for Event” button without having to code anything? I have no use for it on any event I create. Thank you!

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @keys888

    The Registration button is coming from here: plugins\wp-event-manager\templates\event-registration.php

    You can remove it by overriding the file.

    Regards,
    Priya

    Thread Starter keys888

    (@keys888)

    Thanks again for responding Priya. I’m not that well versed in Elementor, just enough to get around a bit, and not sure where this “plugins\wp-event-manager\templates\event-registration.php” you are referring to is located. Could you give me more details please where it’s located and how to “override the file”? I’m looking under “event manager” in plugins in elementor and couldn’t find it anywhere here, can’t see it in “settings” under event manager, etc.

    Thank you!

    Hi @keys888

    Please copy and paste this code in your current theme, functions.php file

    function your_child_theme_registration_disable($method,$post){
             return false;
    }
    add_filter('display_event_registration_method','your_child_theme_registration_disable',90,2);
    add_filter('get_event_registration_method','your_child_theme_registration_disable',90,2);

    Regards,
    Priya

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove “Register for Event” button for all events’ is closed to new replies.