Title: Comic Press Custom Post Types
Last modified: August 21, 2016

---

# Comic Press Custom Post Types

 *  Resolved [DustyGhost](https://wordpress.org/support/users/dustyghost/)
 * (@dustyghost)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/comic-press-custom-post-types/)
 * Hello,
 * subscribe2 is amazing, but I can’t seem to get it to send emails for CPT on comic
   press.
 * I am reading this article:
    [http://subscribe2.wordpress.com/2011/02/28/subscribe2-and-custom-post-types/](http://subscribe2.wordpress.com/2011/02/28/subscribe2-and-custom-post-types/)
 * And I am unsure where this code needs to go in the ComicPress plugin.
 * Does anyone know?
 * Thanks.
 * [https://wordpress.org/plugins/subscribe2/](https://wordpress.org/plugins/subscribe2/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Matt Robinson](https://wordpress.org/support/users/mattyrob/)
 * (@mattyrob)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/comic-press-custom-post-types/#post-4753575)
 * [@dustyghost](https://wordpress.org/support/users/dustyghost/),
 * That code needs to go into a new plugin specific for your site (try using [Pluginception](https://wordpress.org/plugins/pluginception/)
   if you need help there) or into your themes functions.php file. You also need
   to specify the actual custom post name created on your site.
 *  Thread Starter [DustyGhost](https://wordpress.org/support/users/dustyghost/)
 * (@dustyghost)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/comic-press-custom-post-types/#post-4753585)
 * Well, I added this to the child theme functions.php
 *     ```
       <?php
       // Nothing here, move along.  This is where you would put custom code.
   
       function my_post_types($types) {
           $types[] = 'comic';
           return $types;
       }
   
       add_filter('s2_post_types', 'comic');
   
       ?>
       ```
   
 * However I created and posted a comic and no email was sent.
    Is there something
   I have done wrong?
 *  [Matt Robinson](https://wordpress.org/support/users/mattyrob/)
 * (@mattyrob)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/comic-press-custom-post-types/#post-4753599)
 * [@dustyghost](https://wordpress.org/support/users/dustyghost/),
 * The add_filter line is wrong. The second parameter in the brackets should be 
   the same as the function name (in this case you’ve stuck with the default of ‘
   my_post_types’) instead of ‘comic’.
 *  Thread Starter [DustyGhost](https://wordpress.org/support/users/dustyghost/)
 * (@dustyghost)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/comic-press-custom-post-types/#post-4753625)
 * Doh! thank you!
    This now works. 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Comic Press Custom Post Types’ is closed to new replies.

 * ![](https://ps.w.org/subscribe2/assets/icon-256x256.png?rev=2318630)
 * [Subscribe2 - Form, Email Subscribers & Newsletters](https://wordpress.org/plugins/subscribe2/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/subscribe2/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/subscribe2/)
 * [Active Topics](https://wordpress.org/support/plugin/subscribe2/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/subscribe2/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/subscribe2/reviews/)

## Tags

 * [cpt](https://wordpress.org/support/topic-tag/cpt/)

 * 4 replies
 * 2 participants
 * Last reply from: [DustyGhost](https://wordpress.org/support/users/dustyghost/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/comic-press-custom-post-types/#post-4753625)
 * Status: resolved