Ticket for: Related Post for WordPress
0
Athira PV
I would like to exclude certain posts from appearing in the list of related posts. How to make it possible?
0 Subscribers
Submit Answer
1 Answers
Best Answer
0
Hi,
We have a handy filter hook you can use to achieve this. Here's the link to our documentation where you'll find the information under "Exclude Certain Posts from Related Posts": https://pickplugins.com/documentation/related-post/filter-hook/related-post-query-args/
The code you'll need to add to your theme's functions.php file. For a visual reference, we've also included a helpful screenshot here: https://ibb.co/t39smpt
If the code seems a bit technical, don't worry! We can provide you with more concise instructions that might be easier to follow.
Just let us know if you'd prefer a simplified explanation, and we'll be happy to help!