Hi guys,
Is it possible in “Similar Article Category” choose tags with random method?
I realized that the similar posts are organized by most recent dates.
hi,
I think is posible :
http://screencast.com/t/hlHsUxOjf1
here is where the code similar articles is handled : http://screencast.com/t/hlHsUxOjf1
Thanks for you message.
Radu A.
Thanks, Radu.
I included the code [‘orderby’ => rand] and works nice!
Hi,
Is it possible in the new Newspaper Version choose tags randomly in “Similar Article Category”?
Actualy, similar posts are organized by most recent dates.
Hi,
In version 6 the code was moved to this file: http://screencast.com/t/cUuT4QMXM You can try to add your condition here.
Thanks.
Bogdan,
I included the code {‘orderby’ => rand} but didn’t work.
Any other sugestions?
Hello,
you can try it like this: http://screencast.com/t/1IQvWva2JF
'sort'=>'random_posts' and it should have the result you want.
Thanks.
Hi Bogdan,
Unfortunately, the code didn’t work 🙁
What could happen?
I just tested this again and added the code exactly like in the screenshot above. (don’t forget the comma after the previous line of code) and the related articles now grab random posts. If i refresh the page, the posts will be different:
http://screencast.com/t/m4TfDrXpI2G and refresh: http://screencast.com/t/DYq1Zv3i
Try it again and provide more details if it will still not work.
Thanks.
The comma!
Works nice with the comma.
Thanks again, Bogdan!