@kn1g and @Empireoflight
Yes that's what I've done all the night (I could retrieve ACF date and text field easily with
get_post_meta but checkbox options were a stop) and finally have found the solution use
get_field instead of
get_post_custom() to have the correct detailed output of my custom checkbox field (not
Array). Would have be cool to use those checkbox values as timeline tag but for now I'm pretty satisfied and tired. It's a first for me with JSON and with API...
Here's my code if anybody needs it : http://pastebin.com/s3sEcw7M
Now I only need like kn1g to find how to set a
Start Date (ex: main post -1 year) - Main Post Date - End Date (ex: main post +1 year) as I need to show past season AND current or future season events and have a main post introducing current season...
If it's not possible at least beeing able to start from end event would do it...
If somebody has a start I'm eager to see it.