WordPress.org

Ready to get started?Download WordPress

Forums

All-in-One Event Calendar
Custom Post Type & Subscribe2 (1 post)

  1. smithgt
    Member
    Posted 2 years ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic