Hi Guys,
Trust you are all keeping well.
In composer with the ‘Single Related Posts’ element I wondered if there is an extra class I could add that displays my other posts in the same category randomly instead of displaying the last created post first?
https://www.ircatoday.com/istead-rise-primary-school/
Many thanks
Kind Regards
Mark Fraser
Hello Mark!
Please provide more information, screenshots about your issue in order to help you.
A solution for sending a screenshot is this:
Download, capture, send: https://www.techsmith.com/jing-tool.html
After making the screenshot, you will have a link, paste it here.
Thank you!
Hi Bettina,
Thanks for the reply.
I require if possible please to add an extra class in Tagdiv composer or add some CSS to this ‘Single Related Posts’ element so that it randomly displays the other articles in the category instead of displaying the latest one created first?
https://www.screencast.com/t/s4jqwWrsZPj
https://www.ircatoday.com/istead-rise-primary-school/
Kind Regards
Mark
Hello Mark!
If that element is a flex block, then you have some filter settings: https://www.screencast.com/t/jB7NtefkCx6
Category filter: Related and Sort order: Random.
Hope that helps you!
Thank you!
Hi Bettina,
I have changed it from ‘Single Related Posts’ element to a Flex block like you suggested, so I have the option to display randomly.
But now I have all the posts displaying at once! … I only want to display 4 posts and then users can use the pagination arrows to move to the next ones and so on. Is this not possible?…
Because if I change the limit post number to 4 it will only display 4 and not the 8 I have in total obviously
Is this not possible?…
https://www.screencast.com/t/l0Q0gSi8NI
Kind Regards
Mark
Hello,
I understand that you want to display only 4 posts in the block, for this please set the Modules per row => https://www.screencast.com/t/Dp3HzSWw and set the limit post number => https://www.screencast.com/t/95xQBdo9uq4
Thank you!
Hi Anamaria,
Thanks for the reply.
I understand the setting you suggest, but if I set the ‘limit post number’ to 4 .. then only 4 posts will ever get displayed. I have 8 in that particular category.. this is the problem!
The ‘Single related post’ element works just fine, but I wanted the posts to display randomly rather than the latest created display first and so on?
It seems this can not be done?… even with added CSS ?
Also .. were can the ‘Single Related Posts’ element be found in tag dive composer ? it seems to of disappeared?
Kind Regards
Mark
Hello,
So, you have 8 posts in that category, and you want to display only 4 in a row, so you can achieve that like in this video => https://www.screencast.com/t/pwSWHEmhlUCX
The block ‘Single related post’ was removed from tagDiv Composer because it did not have many options and can be replaced with a flex block that has more options.
Thank you!