eo_get_the_start not returning anything
-
Thanks for the amazing plugin.
I have been able to use it with success for the most part, but in this particular case, eo_get_the_start is not returning anything. I’ve been able to use it fine in other queries on my site, but this query is a bit more complicated than some of the others, as it’s nested and relying on the Advanced Custom Fields relationship field. I’ve tried both the ‘in-loop’ approach and out of the loop approach with eo_get_the_start.
Here’s the code. Anyone have any idea? Basically you have a query for a custom post, and then I’m doing a second query for the ACF relationship to the event and trying to pull that event data. It’s pulling the title and the permalink fine from the event, just not the start date! Syntax issue?
Don’t know why this wouldn’t work…does it have to do with
$date = eo_get_the_start('M Y',$post->post_id,null,$post->occurrence_id); echo $date;
Pullling my hair out!
- The topic ‘eo_get_the_start not returning anything’ is closed to new replies.