Default Post Category - how to set for Event Calendar 3? (2 posts)

  1. Snackmaster
    Posted 7 years ago #

    Event Calendar creates all Posts using the site Default Category. Can I change that so all my Event Cal Posts are part of the Events Category?

    Love this plugin x10, but the site operator keeps forgetting to manually change the category after creating an Event...

  2. rattler72
    Posted 7 years ago #

    Ok so I just did this...

    1. I set up a new post category for Event.
    2. Grabbed the category id.
    3. Then edited the ec_management.class.php file. Changed line 60 from:

    'post_category' => $wpdb->escape($this->blog_post_author)


    'post_category' => array(9)

    Where 9 is the category id. I didn't get fancy with this... just hard coded the Event category id here.

    Good luck all!

Topic Closed

This topic has been closed to new replies.

About this Topic