Home › Forums › Front-end Issues › After upgrade post aggregator not working › Reply To: After upgrade post aggregator not working
Hi @mpayumo
Thanks for testing it out.
I believe the issue is because the $event_date
variable is formatted but the $today
variable is in timestamp format. That makes the comparison failed. Could you please try the following code?
$event_date = get_sub_field('event_date', false, false);
$event_date = strtotime($event_date);
If that doesn’t work, could you please open a new ticket and provide temporary admin credentials to your site? You can open a new ticket here: https://support.advancedcustomfields.com/new-ticket. Also, please don’t forget to explain the issue again and provide the link to this thread.
Thanks 🙂
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.