Martin
Forum Replies Created
-
Thanks @rpetersen29 for your swift response, much appriciated! I also dont like this kind of injecting content to the site, but it‘s a request from marketing dept ;-). Maybe i better solve this using a widget…
I think, i will just use another solution than jetpack. I thought this is a simple task having a bit more control of the emails sent out, but obviously nobody can help. It’s a bit frustrating to be honest. I can’t imagine, that I’m the only one who has this problem. First i have tried to add the checkbox, that you can choose per post if an email should send out, but there is a (confirmed) bug.
Thanks for your support. Yes, there is the only filter I’m using. I did already submit a support request to the Jetpack, the answer see below:
The site I’m testing is http://wp.avbs.selfip.net/. I can grant you admin rights, just let me know your email.
Code again:
add_filter( 'jetpack_subscriptions_exclude_all_categories_except', 'exclude_all_except' ); function exclude_all_except( $categories ) { $categories = array( 'email' ); return $categories; }*** JetPack support Request 2061366 ***
Hey Martin!
As MadHatter mentioned, we only support the base functionality of the Jetpack plugin. Going in to snippets / filters / hooks are outside of our scope of support.
We do offer some examples of potential filters to get you started here, but they’re offered purely as a starting point:
https://jetpack.com/support/subscriptions/#filters
Let us know if you have any questions about the base functionality of Jetpack, we’ll be happy to help.
Thanks,
Anthony Faxlandez
Happiness Engineer | Automattic@macmanx Many thanks, but I did already, it doesn’t helped. Now JetPack doesn’t send emails anymore regardless if i put a post in category ’email’ in or not.
This means, the code is doing something, but it does not evaluate the category. I have used the same value in the filter as it’s in the slug field of the category, is this correct? I also checked that upper/lower case is right..
So current code is:
add_filter( 'jetpack_subscriptions_exclude_all_categories_except', 'exclude_all_except' ); function exclude_all_except( $categories ) { $categories = array( 'email' ); return $categories;Forum: Plugins
In reply to: [Membership Plugin - Kadence Memberships] How to hide entire PostHi Pippin
Thanks for the quick reply!
martin