Support » Plugin: Yet Another Related Posts Plugin (YARPP) » [Plugin: Yet Another Related Posts Plugin] Making YARPP caching feature work for custom post types
4 years, 8 months ago
I was using yarpp_related( … ) option in order to show the related posts for a custom post type. I realized that the items displayed were not going through the caching mechanism.
I could not find a clear/simple explanation elsewhere so I am posting the solution I came up with.
So, If you want to make the custom post types work with caching:
Add ‘yarpp_support’ => true to your functions.php
'yarpp_support' => true
Now you will see your custom post type name in the settings section -> “post types considered”
In your template file, use
<?php related_entries(); ?>
resolving this to avoid misunderstandings…
4 years, 6 months ago
Hi, I’m trying ti add a related entries function into each bbpress topic.
would you please let me know How to edit my function file ? or bbpress.php file
thank you very much
@aidecms I see you created a new thread, so let’s discuss that there. Please don’t post in multiple threads.