WordPress.org

Support

Support » Plugins and Hacks » [Resolved] How to fix the category complusory in the event add page

[Resolved] How to fix the category complusory in the event add page

  • Hello,

    I would like to put the category selection complusory in my “Add events page”.

    Do you know how I can do it?

    I tried to add the following code in the em-event.php file but it doesn’t work.

    if( empty($this->event_categories) ){
    $this->add_error( sprintf(__(“%s is required.”, “dbem”), __(‘Your categorie,’dbem’)) );}

    How can I get the categories selected when the user try to save his event?

    Best regards,

    Gwen

    http://wordpress.org/extend/plugins/events-manager/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] How to fix the category complusory in the event add page’ is closed to new replies.