Add way to exclude specific posts from results.
-
I needed a way to exclude specific posts from the
get_related_posts()
‘s results (not necessarily via the dashboard settings, just via the direct call toget_related_posts()
).
In my fork I added a parameter calledpost__not_in
, which did that. See https://github.com/mnelson4/yet-another-related-posts-plugin/pull/1/commits/4e8c93c375cdfbe94d26a62e6cb576fb09fc46a8Can that get added to the main YARPP plugin?
- The topic ‘Add way to exclude specific posts from results.’ is closed to new replies.