You may need to disable the subscription to mail notifications connected to a forum. If a forum is really busy and someone, wrongly, subscribe it, she’ll start to receive tons of emails.

There is not need to work at the code level to disable the subscription functionality, you can simply hide, with a CSS rule, the toggle button.

The rule is rather simple:

.forum #subscription-toggle {
  display: none;
}

The .forum identify the page is showing a forum (it is added by WP as default class to the content wrapper (of course if the theme is doing things right) and the #subscription-toggle identify the button.

Without the .forum selector you disable all the notification toggle buttons, even the one on topics (usually you want to stimulate the subscriptions to topics!).

My excuses for my bad english but it's the only way I have to communicate with you. Would you suggest a correction? Leave a comment, thank you!
Categories: WordPress

0 Comments

Leave a Reply