Hi @gabry01, it’s important to clarify what you mean by “disable the plugin for a specific tag”.
Do you mean 1. “In YARPP ‘Related Posts’ area, don’t show posts that use a specific tag” or do you mean 2. “On posts with a specific tag, don’t show YARPP’s ‘Related Posts’ area.”?
Option 1 is what it is doing: YARPP’s “Related Posts” section doesn’t show posts that use the tags in “Disallow from tag.” Does that clarify why it isn’t working?
If not, another question: what do you mean by “it doesn’t work”? Do you mean the setting isn’t getting saved? Or do you mean posts from the disallowed tags are still being shown in the “Related Posts” sections?
I mean the point 2.
“On posts with a specific tag, don’t show YARPP’s ‘Related Posts’ area.”
Is it possible?
Oooh ok thanks.
To my knowledge, that isn’t easy yet. You can add
<!--noyarpp--> to a post’s body so YARPP’s “Related Posts” area doesn’t show up.
If you have lots of posts containing that tag that you don’t want to have YARPP for, we should probably add a filter to the code.
I need this code <!–noyarpp–>
thank you so much!!
Hi @gabry01, sorry I didn’t quite follow.
Did you mean that adding
<!--noyarpp--> to your posts worked well enough for you? If so great. Or did you mean you needed something more?