Avoid creators to receive comments emails
-
Hi, toni0174, this is possible using additional PHP code either by placing it in your functions.php file in a child theme or using a plugin.
I recommend using a plugin such as Code Snippets to achieve this:
https://ww.wp.xz.cn/plugins/code-snippets/Here is a link to a StackExchange topic answer that should provide you the ability to only receive emails as an admin:
https://wordpress.stackexchange.com/a/150141/190079And here is the code that was involved with the answer:
/** * Plugin Name: Disable comment/trackback/pingback notifications emails except for admins. * Plugin URI: http://wordpress.stackexchange.com/a/150141/26350 */ add_filter( 'comment_notification_recipients', '__return_empty_array', PHP_INT_MAX ); add_filter( 'comment_moderation_recipients', function( $emails ) { // only send notification to the admin: return array( get_option( 'admin_email' ) ); } , PHP_INT_MAX );-
This reply was modified 4 years, 9 months ago by
Ian Sackofwits. Reason: remove opening php tag, more info
Hmmmm.
Are you using any plugin for the Comments?The language toggle simply toggles the entire site, right?
There is no one-to-one relationship between the pages?
i.e. If I am on this page:
https://corcanoesoundprofile.ovh/create-profiles-to-only-accept-calls-and-or-messages-from-specific-contacts/
and I hit the toggle to French – it doesn’t take me to the page I was just on, it simply redirects me to the /fr homepage:
https://corcanoesoundprofile.ovh/fr/Is this intentional?
So it looks to me as though the Translators are not Roles, they are Authors within WordPress. Right?
Thanks Ian Sackofwits (@plantprogrammer). Your solution worked for me. I also love the plugin you recommended (code snippets).
Thanks corrinarusso (@corrinarusso) for your help.
I am a bit new to wordpress. I solved the issue with the Ian Sackofwits’ sugesstion.But I am interested in what your questions:
The language toggle simply toggles the entire site, right? Right.
There is no one-to-one relationship between the pages? No.
Is there a way I can match a page from one language to the other? Is not very important to me as normally an user will choose his/her own language and then keep reading, but if he/she is redirected to the default language (English) from some other site, it would be interesting if he/she can change the language easily instead of having to search for the right content again. So if you could help me with this it will be great. Thanks.I understand what you mean by “it’s not important to you” bc once a user selects a language they will stay there.
However, the is value in :
– content maintenance
– SEO
– using language parameters in your code (like you just asked in a different ticket)
– understanding what has been translated vs. what has not been translated
– translation and translator workflow (emails, completeness)
– translated URLsFrom this list, I would describe the maintenance as number one. Especially if you have translators who are translating more than one language.
Lastly, I would say that it is the “right” way to do things.
So it might be going great now – but what about when you have 10x more translators, 10000x more pages, etc.
I always thing long term, and consider scale and ongoing maintenance first.These thoughts on translation just off the top of my head. Lol.
I’m sure there’s more – I deal with translation every day with most clients. -
This reply was modified 4 years, 9 months ago by
The topic ‘Avoid creators to receive comments emails’ is closed to new replies.
(@toni0174)
4 years, 9 months ago
Hello, I have my website which is translated to several languages. The translators create the pages in their own languages.
Users can write comments in those pages.
My problem is that the translators get an email every time a user writes a comment. I want to avoid this because many times there are many comments (most of the time they are spam) and translators are tired of getting too many emails.
So I just want to receive those emails (I am the site manager). Is this possible? I cannot find the way to do that.
Thanks
The page I need help with: [log in to see the link]