Hi,
when I select sorting order of Random posts today its not showing up any posts that I have entered today right after 12:00 AM. I inspected the td_data_source.php and it seems to be properly set to get the posts from today, but it wont get any posts right after the time 12:00AM. How to make it to get the posts that are wriren from 12:00AM of one day to 12:00 AM next day?
P.S its already 1:00 AM and still wont get any news posts that i write to test it.
Hello Marto,
I suppose it is a time difference on your side. Please ensure that you have correct set your timezone from your WordPress and also please make sure that you local time are the same with your real time, from this -> http://screencast.com/t/r74r1y2MATM I have checked the code from this feature and the function which compare the time uses local time. Also, please try to disable all the active plugins, leave just Visual Composer, clear all cache and install only the plugins that come bundled with our theme and rule out the conflicting plugins.
Hope this helps and let us know how it goes!
Thank you for the message!
Hello Marto, did you find the solution? I’m having the exact same problem, when I select “Random Posts Today” the posts stop showing up at around 6 PM (because my local time is UTC -6). I have checked several times my local time settings to no avail. Any other suggestions?
Hi,
I’m not sure why this happens, maybe there is a limitation on your server that does not allow the timezone to be detected for some reason. Please try to add it manually like so: http://screencast.com/t/ZKmSrGpV
date_default_timezone_set('America/Los_Angeles');
Here are the time zones that the function can get: http://php.net/manual/en/timezones.php
Let us know how it goes.
Thank you!