Forum Replies Created
-
AuthorPosts
-
Brent GustafsonParticipant
In the immortal words of King Arthur from Monty Python’s Holy Grail, “You make me sad!”.
This is actually Topher, and I would love to know when it’s available.
Brent GustafsonParticipantI figured out a solution. Rather than use the data returned by the query I’m using
tribe_get_start_date( $event->ID, false, 'm/d/Y' )
That gets the proper date, though I suspect with another query.
I really think there’s a bug there in the original query that should be addressed.
Brent GustafsonParticipantThe connection seems right, since it gets the proper event. Is there a more approved way to get and render featured events? The function I’m using is already an Events Calendar function.
Brent GustafsonParticipantI did the conflict testing, but it was a few versions (of my code) ago. Could you link me to it again?
I can replicate it on 2017.
I write a custom shortcode to get the data. I’m including the code for that. I didn’t do anything crazy, you should be able to run it as-is.
[springlake_upcoming_events]
In the process of writing this I figured out a huge clue. It only fails when I’m looking for Featured events, like this:
[springlake_upcoming_events featured=”yes”]
So it’s only featured events that don’t have the start date properly.
Brent GustafsonParticipantCheck this out: http://springlake.iwitness.me/?debug=yes
You can see the EventStartDate in the array is 1, and the date in the image block is 01/01/1970. I’mm attaching a screenshot of some settings I’ve tried.
Brent GustafsonParticipantFixed! Thanks!
-
AuthorPosts