Title: Custom post type support
Last modified: August 21, 2016

---

# Custom post type support

 *  Resolved [xzuxzu](https://wordpress.org/support/users/xzuxzu/)
 * (@xzuxzu)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/custom-post-type-support-6/)
 * Hello, I’m trying to add a custom-post type notification as described [here](http://subscribe2.wordpress.com/2011/02/28/subscribe2-and-custom-post-types/)
   So far, nothing shows up in the list of post I can subscribe to.
    I’m using a
   theme that comes with a pre-installed “portfolio” custom post type. I renamed
   it in the theme option to fit my needs. So I tried to change the name “portfolio”
   into “my_name_of_custom_post_type”. Still no luck I’m inserting the code into
   my theme’s function.php file any idea on what’s wrong here ? Maybe it’s just 
   a syntax problem ?
 * try one
 *     ```
       function my_post_types($types) {
           $types[] = 'portfolio';
           return $types;
       }
   
       add_filter('s2_post_types', 'my_post_types');
       ```
   
 * try two
 *     ```
       function my_post_types($types) {
           $types[] = 'portfolio';
           return $types;
       }
   
       add_filter('s2_post_types', 'portfolio');
       ```
   
 * (I’ve also checked via GD taxonomies plugin that the name I”m using are correct,
   and they are)
 * [http://wordpress.org/extend/plugins/subscribe2/](http://wordpress.org/extend/plugins/subscribe2/)

Viewing 1 replies (of 1 total)

 *  [Matt Robinson](https://wordpress.org/support/users/mattyrob/)
 * (@mattyrob)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/custom-post-type-support-6/#post-3834934)
 * [@xzuxzu](https://wordpress.org/support/users/xzuxzu/),
 * The ‘portfolio’ custom post type may also come with a custom taxonomy that also
   needs registering.
 * If the post type is registered correctly it will be displayed in the Subsicribe2-
   >Settings page in the Email Settings tab.
 * If the taxonomy is registered correctly the new ‘categories’ will be displayed
   in any category list, for example those in the Subsicribe2->Settings page in 
   the Registered Users tab.

Viewing 1 replies (of 1 total)

The topic ‘Custom post type support’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Matt Robinson](https://wordpress.org/support/users/mattyrob/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/custom-post-type-support-6/#post-3834934)
 * Status: resolved