Use related_posts(); outside of the Loop.
-
Hello,
First off – great job on the plugin! I think it has to be one of the most thorough, clear, and useful documentation I have come across on the WP repository.
I’m trying to display a list of related posts in the sidebar but don’t want to use the WP Widget Areas since I don’t want the code generated by the sidebar, like <aside>…
Is there a way to use related_posts(); outside of the loop? The sidebar widget is doing it somehow, so there must be a way…
Thanks!
Alexhttps://www.ads-software.com/plugins/yet-another-related-posts-plugin/
- The topic ‘Use related_posts(); outside of the Loop.’ is closed to new replies.