Ticket for: Related Post for WordPress
0
Anonymous
Hello pickplugins,
how can i exlude the imprint page or other related sites from the related display ?
Also how can i disable the related post plugin on a specific page ?
I have disabled automatic display on pages.
best regards
Martin
0 Subscribers
Submit Answer
1 Answers
Best Answer
0
Welcome to PickPlugins.
To disable Related Posts on a specific page, kindly follow these steps:
Copy the code from the link below:
https://gist.github.com/azizulDev/1e6f3fae3a213a844d4f71861edcdefd
Screenshot: https://i.imgur.com/joZtyMC.png
Go to Appearance => Theme File Editor, and from the right sidebar, select Theme Function file. Scroll down to the very bottom of the file and paste the code there.
Screenshot: https://i.imgur.com/Kf0gqBt.png
Note: you've to replace the ID with your actual post or page ID that you want to remove.
How to find a post or page ID?
Go to edit the page or post that you want to remove.
Screenshot: https://i.imgur.com/PSznmYT.png
Then from the URL address, you can find the ID.
Screenshot: https://i.imgur.com/HhKCw3x.png
What if you want to remove Related posts from multiple pages or posts?
Simply add multiple page/post ID with comma separate.
Screenshot: https://i.imgur.com/ftXOO7Z.png
