I’m trying to edit Related Posts feature to show just two posts from the same category or tag and one random post.
I know how to show posts only from the same category, but I was wondering if I could somehow apply different rules for each of them.
Thanks!
]]>Is there a way to sort posts by ‘random order’ with this plugin? I am trying to randomize ‘current query’ posts and this cannot be done on Elementor it seems. If there is a way this plugin could do it, would be much appreciated.
Kind regards
]]>I would like to know may I show the post randomly? and what is the code? (sorry I searched for the result but no related posts)
thank you for your help!!
]]>If you use the ‘Random’ setting under ‘more’ and add (as an example) twice the number of post ids than you set in ‘Posts per page’ it will beautifully randomise what’s being shown on the front page.
The way I am using it:
Another possible use: if you would like to add related posts to the end of individual post. This should do it nicely, providing you can edit the css styling. (My theme has ‘Related Posts’ as a built-in feature.)
Thanks for this! I would have loved to find wp-show-posts 2 years ago.
]]>