WordPress.org

Support

Support » Plugins and Hacks » [Resolved] category subscribtion

[Resolved] category subscribtion

  • johnnydev
    Member

    @johnnydev

    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/

Viewing 8 replies - 1 through 8 (of 8 total)
  • caimin_nwl
    NetWebLogic Support

    @caimin_nwl

    Hi,

    You mean by RSS feed?

    johnnydev
    Member

    @johnnydev

    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!

    agelonwl
    Member

    @angelonwl

    hi,

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

    johnnydev
    Member

    @johnnydev

    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!

    Plugin Author Marcus
    Participant

    @netweblogic

    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.

    johnnydev
    Member

    @johnnydev

    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!

    Plugin Author Marcus
    Participant

    @netweblogic

    yes, or also EM_TAXONOMY_CATEGORY

    we already add the taxonomy to our event post type

    johnnydev
    Member

    @johnnydev

    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!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] category subscribtion’ is closed to new replies.