WordPress.org

Support

Support » Plugins and Hacks » [Plugin: All-in-One Event Calendar] Custom Post Type & Subscribe2

[Plugin: All-in-One Event Calendar] Custom Post Type & Subscribe2

  • I’ve read that the Subscribe2 plugin will alert subscribers to new AI1EC events if the following code is added.

    I’d suggest you add this code to the plugin you are using to create your custom post type.

    function my_post_types($types) {
    $types[] = ‘my_post_type’;
    return $types;
    }

    add_filter(‘s2_post_types’, ‘my_post_types’);

    I beleive that I will need to replace “my_post_type” with “ai1ec_event”.

    Can anyone advise where I’m supposed to put this code?

    http://wordpress.org/extend/plugins/all-in-one-event-calendar/

  • The topic ‘[Plugin: All-in-One Event Calendar] Custom Post Type & Subscribe2’ is closed to new replies.