Viewing 7 replies - 1 through 7 (of 7 total)
  • @cintiantunes,

    The code above is an example, not working code. You need to find the slug name if the custom post type on your site and use that instead of ‘my_post_type’ on the line that starts with $types[].

    Thread Starter Cintiantunes

    (@cintiantunes)

    Hi, I used ‘products’ I putted

    “function my_post_types($types) {
    $types[] = ‘products’;
    return $types;
    }
    add_filter(‘s2_post_types’, ‘my_post_types’);”

    But I did not find where to put. I tried to put in functions.php of my theme and did not work. Do you understand my doubt?

    Thanks ^^

    @cintiantunes,

    If the custom post type name is checked and correct then you should be able to check that it is correctly registered in Subscribe2 on the subscribe2->Settings page where it should say “Subscribe2 will send email notifications for the following custom post types”. If you are not seeing this then the custom post type is not correctly registered.

    If it is registered but email notification are not being generated you may also need to consider if you are using a custom taxonomy for this custom post type and then register that in subscribe2 also.
    http://subscribe2.wordpress.com/support/faqs/#25

    Thread Starter Cintiantunes

    (@cintiantunes)

    @mattyrob That’s it. The custom taxonomy too. Now it works. Thank you

    @cintiantunes,

    That’s great – I’m glad you have it working.

    toddheitner

    (@toddheitner)

    Hi, I’m having trouble getting this to work with custom post types too.

    I’m trying to use this in conjunction with the “Another WordPress Classifieds Plugin” (http://wordpress.org/plugins/another-wordpress-classifieds-plugin/).

    One thing that’s making it difficult is that I don’t know exactly the name of the custom post type and taxonomies. I’m pretty sure the custom post type is called “classifieds”. For the taxonomies, I’ve tried “classifieds” and “classifieds_tags”. I couldn’t find anything in the documentation of the plugin that was helpful so I’m just trying to look through values in the database but am not sure if I have them right.

    I don’t know if I have the values wrong or if there is some other problem. I can manually send an e-mail through the plugin so that part is fine. It’s just getting the custom post types to automatically send that I’m having trouble with.

    mattyrob

    (@mattyrob)

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Custom Post Types’ is closed to new replies.