Home › Forums › Product Support Forums › Related Posts Pro for WordPress Support › Random content
This topic contains 10 replies, has 2 voices, and was last updated by Ernest Marcinko 5 years, 10 months ago.
- AuthorPosts
- June 5, 2018 at 11:38 am #18122
Hi there,
I have set this short code on my homepage to display random content, however, the content always stay the same. How and when does it update/change?
Best regards,
KyleJune 5, 2018 at 7:50 pm #18138Hi Kyle,
I believe that might be happening due to caching. Can you try turning off this option: https://i.imgur.com/9y9OQuP.png
If you have a page cache, you might have to clear that as well.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
June 6, 2018 at 2:54 am #18141Hey Ernest,
Cache is disable and browser history cleared, but still the same posts across multiple devices.
Attached are my settings: https://imgur.com/a/OXslqyW
Even cleared the cache on Cloudflare.
Any ideas?
Best Regards
KyleJune 6, 2018 at 10:53 am #18143Hi Kyle,
I am not sure then, maybe the database RAND() function does not randomize, and only returns the same ‘random’ results for some reason, although that is very unlikely.
Can you please add temporary FTP and back-end access? I would like to debug the code directly to see where it fails.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
June 7, 2018 at 2:47 pm #18149You cannot access this content.June 8, 2018 at 12:34 pm #18164Hi,
Thank you very much for the details.
Unfortunately I am not able to view the site back-end, it redirects me to the home page, so I cannot check the plugin configuration.
The FTP details are actually log-in details to the web administrator tools, however the file manager does not let me make changes to the files. Can you arrange simple, regular FTP details instead? That would help a lot.Thank you!
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
June 8, 2018 at 12:52 pm #18168You cannot access this content.June 11, 2018 at 3:16 pm #18194Hi Kyle,
Thank you very much. I didn’t need it after all, I found it was only a configuration issue I didn’t notice. Basically the override was not activated, so the ordering was not in effect. I have changed this option, that resolved it: https://i.imgur.com/G3OxhQa.png
It should display random content now, every time.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
June 12, 2018 at 4:37 am #18212Hi Ernest,
Really appreciate you finding that.
Just one last thing, the related posts are now including pages from the subsite. I can’t find any option where to just only include related posts and not pages?
Could you point me in the right direction?
I have left a 5 star on CodeCanyon for your help. Thank you.
June 12, 2018 at 5:55 am #18213Nevermind, found the option. Thank you for your help on the matter.
June 12, 2018 at 9:27 am #18217You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
The topic ‘Random content’ is closed to new replies.