Behavior comment/suggestion
-
Hi,
I’m using the plugin in a template with km_rpbt_related_posts_by_taxonomy().
I added a term ID to the exclude_terms option, and for several minutes I was trying to understand why a post which I know has that ID kept appearing in the results.
Then I saw that the two posts shared another common term, which explained everything.
However, it seems to me to be counterintuitive. When you ask for posts with common terms but you ask to exclude a specific, other term, you would expect the function not to return posts which have that term associated with them, regardless of other common terms.
It’s like saying e.g. “See a list of other cities which are large and european, but which are not capitals”. By excluding “capital” you’d hope to not see them, even though they might have “large” and “european” in common.
At least that’s what I was expecting…
Great stuff nonetheless.
https://www.ads-software.com/plugins/related-posts-by-taxonomy/
- The topic ‘Behavior comment/suggestion’ is closed to new replies.