• Hi, I’m wondering if there’s away to add (or maybe consider for an update) the support for categories in the events section?

    The site I’m currently working in with this plugin I’m using it in conjunction with the Post Expirator plugin. So when the event is finished it’ll automatically delete. However the client just tells me now they’ll like to keep the old events in a separate part. The Post Expirator plugin also has an option to move posts to a different category. But there’s no category support with this event plugin. And the other event plug-in that does have category support doesn’t support Post Expiry. So if this did have support for categories then I can just create an “upcoming” and “past” categories and have the post expiry automatically move it from upcoming to past after the date. Then it’ll be a perfect plugin.

    So how can I (or would you consider) adding categories? Thanks

    https://www.ads-software.com/plugins/upcoming-events-lists/

Viewing 1 replies (of 1 total)
  • Thread Starter mttindustries

    (@mttindustries-1)

    nevermind. Ended up getting it to work by adding

    'taxonomies' => array('category'),

    to the upcoming-events-list.php file just after supports and labels, like so:

    'labels'              => $labels,
    			'supports'            => array( 'title', 'editor', 'excerpt', 'thumbnail', ),           'taxonomies'          => array('category'),
    			'hierarchical'        => false,
    			'public'              => true,
    			'show_ui'             => true,
    			'show_in_menu'        => true,

    works a charm now (until it updates). Maybe something to consider with the next update ??

Viewing 1 replies (of 1 total)
  • The topic ‘category support’ is closed to new replies.