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

  1. smithgt
    Posted 4 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?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • All-in-One Event Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic