Support reply may delay for 3 weeks due to corona virus outbreak, please send us email to support@pickplugins.com
0
Anonymous
Oct 07, 2020 07:42 PM 1 Answers
Member Since Jan 1970
Unsolved Solved Mark as Solved Mark as Unsolved
Subscribed Subscribe Not subscribe
Flag(0)

I would like Related Post content to not show on certain posts and pages. For instance, not on the Contact page. How can this be done?

0 Subscribers
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
PickPlugins
Oct 07, 2020
Flag(0)

Welcome to our forum.

 

i understand the issue, unfortunately sorry to say this feature isn’t available right now.

but you can use action hook to remove related post conditionally by post id, please check the documentation

related_post_main

 

cpunter
- Oct 07, 2020 09:03 PM
Flag (0)
0

Thank you for the quick response. I tried adding the "Remove related posts conditionally " code using my theme options custom code section and by adding it to the Single Page theme file (page.php) both after substituting $post_id == 896 for the actual ID but none of this seems to have an effect. I have to admit to being a novice in terms of coding. Is there any more advice that you can give me?

Sign in to Reply
Replying as Submit