-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add a global setting to suppress ads on sponsored posts #68
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works as described for me! 👍
I had an ad in the global 'below header' position; when I applied this PR, it started displaying on my sponsored post, and when I checked "Suppress Ads" under the Sponsors settings, it stopped showing up on the sponsored post.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👌
# [1.7.0-alpha.1](v1.6.0...v1.7.0-alpha.1) (2021-09-24) ### Features * add a global setting to suppress ads on sponsored posts ([#68](#68)) ([ce45916](ce45916))
🎉 This PR is included in version 1.7.0-alpha.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
# [1.7.0](v1.6.0...v1.7.0) (2021-09-24) ### Features * add a global setting to suppress ads on sponsored posts ([#68](#68)) ([ce45916](ce45916))
🎉 This PR is included in version 1.7.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
All Submissions:
Changes proposed in this Pull Request:
Partially reverts the behavior from #62, which automatically suppresses all ads for all sponsored posts. This PR adds a new toggle option in plugin settings to do so (disabled by default), restoring the prior behavior but allowing publishers to opt into the new suppression.
Closes #67.
How to test the changes in this Pull Request:
master
, publish a post with at least one sponsor and ensure at least one ad is displayed in a global position and/or block or widget.### Other information: