WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] category subscribtion (9 posts)

  1. johnnydev
    Member
    Posted 1 year ago #

    Hi,

    great plugin, I like it very much and have one question. Is it possible to subscribe to custom event category or event author? I'm not a php master so it's kinda hard for me to do something like that by myself. I would be very grateful if someone could help me with that or show me where I can change code to accomplish this goal.

    Thx for the help!

    http://wordpress.org/extend/plugins/events-manager/

  2. caimin_nwl
    NetWebLogic Support
    Posted 1 year ago #

    Hi,

    You mean by RSS feed?

  3. johnnydev
    Member
    Posted 1 year ago #

    Hi,

    well rss feed could be but I want to recive emails every time that specific category or author create new event. If it is possible with rss feed then yeah, it could be the answer :)

    Or maybe I must combine event manager with another plugin? If so, I do not know if it (some subscribe plugin) would use event manager categories instead of wordpress categories.

    Thx for the replay!

  4. agelonwl
    Member
    Posted 1 year ago #

    hi,

    you can try other newsletter plugin which supports cpt/custom taxonomies

  5. johnnydev
    Member
    Posted 1 year ago #

    Hi agelonwl,

    Sorry for the delay - I was on hollidays. Thx for the tip i will try those plugins. In the meantime i have a question: what is the name of EM custom post type? I found this code on forum:

    function my_post_types($types) {
    $types[] = 'my_post_type';
    return $types;
    }
    add_filter('s2_post_types', 'my_post_types');

    and I changed it to:

    function my_post_types($types) {
    $types[] = 'event';
    return $types;
    }
    add_filter('s2_post_types', 'my_post_types');

    but it still send me via subscribe2 plugin post created by wordpress itself (i.e. "hello world!") not by events manager plugin (events etc.)

    Best regards!

  6. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    the default is 'event'

    but you can use php constant EM_POST_TYPE_EVENT

    I suggest you avoid using the event cpt name for something else.

  7. johnnydev
    Member
    Posted 1 year ago #

    Thx for the replay!

    I have one more question, what is it the name of custom taxonomies, is it the "event-categories" or something like that? Maybe I must in my function.php file also register a custom taxonomies?

    Best regards!

  8. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    yes, or also EM_TAXONOMY_CATEGORY

    we already add the taxonomy to our event post type

  9. johnnydev
    Member
    Posted 1 year ago #

    Thx for the help Marcus!

    I have registered custom taxonome and custom post type in my function.php file but still Subscribe2 plugin doesn't send proper posts. I will try with other plugins, maybe I will get luck there :)

    Best regards!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic