Title: Janay's Replies | WordPress.org

---

# Janay

  [  ](https://wordpress.org/support/users/janay/)

 *   [Profile](https://wordpress.org/support/users/janay/)
 *   [Topics Started](https://wordpress.org/support/users/janay/topics/)
 *   [Replies Created](https://wordpress.org/support/users/janay/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/janay/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/janay/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/janay/engagements/)
 *   [Favorites](https://wordpress.org/support/users/janay/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 32 total)

1 [2](https://wordpress.org/support/users/janay/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/janay/replies/page/3/?output_format=md) 
[→](https://wordpress.org/support/users/janay/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[VéritéCo Timeline] [Plugin: Verite Timeline] Getting WordPress posts into Timeline](https://wordpress.org/support/topic/plugin-verite-timeline-getting-wordpress-posts-into-timeline/)
 *  [Janay](https://wordpress.org/support/users/janay/)
 * (@janay)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-verite-timeline-getting-wordpress-posts-into-timeline/page/3/#post-2717126)
 * [@jsing](https://wordpress.org/support/users/jsing/) and [@metrowave](https://wordpress.org/support/users/metrowave/)
   
   Happy it did work for you!!! Yes it’s tricky the json api plugin part… I was 
   stuck there too for a while XD [@empireoflight](https://wordpress.org/support/users/empireoflight/)
   Did you success in having past and futur posts of main post in timeline? I’ve
   been so busy with the dance cies and events I had’nt time to look further…
 * Happy Holidays everyone!!!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[VéritéCo Timeline] [Plugin: Verite Timeline] Getting WordPress posts into Timeline](https://wordpress.org/support/topic/plugin-verite-timeline-getting-wordpress-posts-into-timeline/)
 *  [Janay](https://wordpress.org/support/users/janay/)
 * (@janay)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-verite-timeline-getting-wordpress-posts-into-timeline/page/3/#post-2717122)
 * [@metrowave](https://wordpress.org/support/users/metrowave/)
 * Did you try to create a post/page and copied this in it? :
    [timeline height=’
   100%’ font=’Bevan-PotanoSans’ maptype=’toner’ lang=’en’ src=’[https://docs.google.com/spreadsheet/pub?key=0Alu8J1H6boVzdHp1aHBudC1mSlZFWDFKTjg0YlFFOXc&output=html&#8217](https://docs.google.com/spreadsheet/pub?key=0Alu8J1H6boVzdHp1aHBudC1mSlZFWDFKTjg0YlFFOXc&output=html&#8217);
   start_at_slide=’1′ ]
 * Just where you should type some body text for your post/page…
    Janay
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[VéritéCo Timeline] [Plugin: Verite Timeline] Getting WordPress posts into Timeline](https://wordpress.org/support/topic/plugin-verite-timeline-getting-wordpress-posts-into-timeline/)
 *  [Janay](https://wordpress.org/support/users/janay/)
 * (@janay)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/plugin-verite-timeline-getting-wordpress-posts-into-timeline/page/3/#post-2717121)
 * [@jsing](https://wordpress.org/support/users/jsing/)
    Hi, Yes I had the same 
   problem cause I didn’t see I had to activate Jason.
 * In WP, under settings in the left menu you should have a JSON API line (settings).
   When you click on it you should see your controllers. You need to Activate Timeline
   Controller.
    That’s what I have done and then it did work for me.
 * Check again [http://mysite.com/api/timeline/category_posts](http://mysite.com/api/timeline/category_posts)
   with your own site’s name and it should show you a list of results…
    Tell us 
   if it did work Thanks Janay
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[VéritéCo Timeline] [Plugin: VéritéCo Timeline] Wrong Year](https://wordpress.org/support/topic/plugin-veriteco-timeline-wrong-year/)
 *  [Janay](https://wordpress.org/support/users/janay/)
 * (@janay)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-veriteco-timeline-wrong-year/#post-2751751)
 * I had the same problem using JSON from WP posts and for me it was the date format
   in timeline.php which caused the bug. I changed the `date()` to `date_i18n()`
   and everything worked ok for me. Will it work for you?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[VéritéCo Timeline] [Plugin: VéritéCo Timeline] Cannot get Timeline on Single Page](https://wordpress.org/support/topic/plugin-veriteco-timeline-cannot-get-timeline-on-single-page/)
 *  [Janay](https://wordpress.org/support/users/janay/)
 * (@janay)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-veriteco-timeline-cannot-get-timeline-on-single-page/#post-3109703)
 * Hi,
    Follow : [http://wordpress.org/support/topic/plugin-verite-timeline-getting-wordpress-posts-into-timeline?replies=31](http://wordpress.org/support/topic/plugin-verite-timeline-getting-wordpress-posts-into-timeline?replies=31)
 * You need to use `echo do_shortcode...` on template php page in your theme folder.
   If in a Post try your shortcode directly for you it’ll be :
    `[timeline height
   ='100%' font='Bevan-PotanoSans' maptype='toner' lang='en' src='https://docs.google.
   com/spreadsheet/pub?key=0AhS4Wl-OcSJJdFExbktPTGxFLWQ3VFRkZkdCM0ZVZEE&output=html']`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[VéritéCo Timeline] Post link and Tag from custom field](https://wordpress.org/support/topic/post-link-and-tag-from-custom-field/)
 *  Thread Starter [Janay](https://wordpress.org/support/users/janay/)
 * (@janay)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/post-link-and-tag-from-custom-field/#post-3162930)
 * 1) resolved : [http://wordpress.org/support/topic/plugin-verite-timeline-getting-wordpress-posts-into-timeline?replies=31](http://wordpress.org/support/topic/plugin-verite-timeline-getting-wordpress-posts-into-timeline?replies=31)
 * 2) still searching a solution…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[VéritéCo Timeline] JSON file with wordpress](https://wordpress.org/support/topic/json-file-with-wordpress/)
 *  [Janay](https://wordpress.org/support/users/janay/)
 * (@janay)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/json-file-with-wordpress/#post-3171190)
 * Check [http://wordpress.org/support/topic/plugin-verite-timeline-getting-wordpress-posts-into-timeline?replies=22&#8230](http://wordpress.org/support/topic/plugin-verite-timeline-getting-wordpress-posts-into-timeline?replies=22&#8230);
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[VéritéCo Timeline] How make event date in timeline from custom field](https://wordpress.org/support/topic/how-make-event-date-in-timeline-from-custom-field/)
 *  Thread Starter [Janay](https://wordpress.org/support/users/janay/)
 * (@janay)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/how-make-event-date-in-timeline-from-custom-field/#post-3162929)
 * Resolved!
    See further thread
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[VéritéCo Timeline] [Plugin: Verite Timeline] Getting WordPress posts into Timeline](https://wordpress.org/support/topic/plugin-verite-timeline-getting-wordpress-posts-into-timeline/)
 *  [Janay](https://wordpress.org/support/users/janay/)
 * (@janay)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-verite-timeline-getting-wordpress-posts-into-timeline/page/2/#post-2717110)
 * [@kn1g](https://wordpress.org/support/users/kn1g/) and [@empireoflight](https://wordpress.org/support/users/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_meta()` or `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](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.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[VéritéCo Timeline] [Plugin: Verite Timeline] Getting WordPress posts into Timeline](https://wordpress.org/support/topic/plugin-verite-timeline-getting-wordpress-posts-into-timeline/)
 *  [Janay](https://wordpress.org/support/users/janay/)
 * (@janay)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-verite-timeline-getting-wordpress-posts-into-timeline/page/2/#post-2717107)
 * answered for title link:
    `$json['timeline']['date'][$i]['headline'] = '<a href
   ="'.get_permalink($post->ID).'">'.$post->post_title.'</a>';`
 * [@miguel](https://wordpress.org/support/users/miguel/) Peixe
    problems retrieving
   data from Advanced Custom Field checkbox (with multiple checks possible) whatever
   I try `if(is_array($eventtypes)) { foreach ($eventtypes as $key => $eventtype){
   $typelist .= $eventtype . ‘| ‘; } $typelist = substr($typelist, 0, -2);` or implode()
   etc still output : Array ??? Does somedody can help? Janay
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[VéritéCo Timeline] [Plugin: Verite Timeline] Getting WordPress posts into Timeline](https://wordpress.org/support/topic/plugin-verite-timeline-getting-wordpress-posts-into-timeline/)
 *  [Janay](https://wordpress.org/support/users/janay/)
 * (@janay)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-verite-timeline-getting-wordpress-posts-into-timeline/page/2/#post-2717106)
 * Sorry I forgot,
    I wanted the title in timeline to be a link to corresponding
   post, do you know how I could achieve this? Janay
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[VéritéCo Timeline] [Plugin: Verite Timeline] Getting WordPress posts into Timeline](https://wordpress.org/support/topic/plugin-verite-timeline-getting-wordpress-posts-into-timeline/)
 *  [Janay](https://wordpress.org/support/users/janay/)
 * (@janay)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-verite-timeline-getting-wordpress-posts-into-timeline/page/2/#post-2717105)
 * Hi kn1g,
    I’ve made it work for my custom date field now : Thanks a lot to YOU!!!
   But I don’t know how to add my 2 custom text fields : I’ve tried this :
 *     ```
       $json['timeline']['date'][$i]['startDate'] = date_i18n('Y,m,d', strtotime(get_post_meta($post->ID, "_datepicker", true)));
       					$json['timeline']['date'][$i]['endDate'] = date_i18n('Y,m,d', strtotime(get_post_meta($post->ID, "_datepicker", true)));
       					$json['timeline']['date'][$i]['headline'] = $post->post_title;
       					$json['timeline']['date'][$i]['lieu'] = $eventlieu;
       					$json['timeline']['date'][$i]['text'] = $post->post_excerpt;
       					$json['timeline']['date'][$i]['type'] = $eventtype;
       ```
   
 * but ‘lieu’ and ‘type’ doesen’t show. Maybe I should concatenate them with div’s
   in ‘text’. Do you know how I could concatenate them with div’s separating?
    Thanks,
   Janay
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[VéritéCo Timeline] [Plugin: Verite Timeline] Getting WordPress posts into Timeline](https://wordpress.org/support/topic/plugin-verite-timeline-getting-wordpress-posts-into-timeline/)
 *  [Janay](https://wordpress.org/support/users/janay/)
 * (@janay)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-verite-timeline-getting-wordpress-posts-into-timeline/page/2/#post-2717104)
 * Hi kn1g,
    Thanks a lot for your answer. I already have my custom fields and used
   them in template. I’ve tried get_post_meta with json but not BEEFORE the $json[‘
   timeline’] = array(); if I remember ok. It didn’t work out but I’m gonna try 
   your suggestion and let you know. I’ll be interested too to have a main post 
   introducing actual season with past and future posts… let me know. If I found
   something that might help I’ll tell you. Thanks, Janay
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[VéritéCo Timeline] [Plugin: VéritéCo Timeline] Does anyone else have Verite running on a WordPress powered site?](https://wordpress.org/support/topic/plugin-veriteco-timeline-does-anyone-else-have-verite-running-on-a-wordpress-powered-site/)
 *  [Janay](https://wordpress.org/support/users/janay/)
 * (@janay)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-veriteco-timeline-does-anyone-else-have-verite-running-on-a-wordpress-powered-site/#post-3060625)
 * Hi,
    How can I add custom fields to the timeline controller as get_post_meta 
   doesn’t work here :
    - add venue field ‘event_lieu’
    - replace post date with custom ‘_datepicker’ date field
    - have the title as a link to the corresponding post (permalink?)
 * Hope someone could help!
 * Thanks,
    Janay
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[VéritéCo Timeline] [Plugin: Verite Timeline] Getting WordPress posts into Timeline](https://wordpress.org/support/topic/plugin-verite-timeline-getting-wordpress-posts-into-timeline/)
 *  [Janay](https://wordpress.org/support/users/janay/)
 * (@janay)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin-verite-timeline-getting-wordpress-posts-into-timeline/page/2/#post-2717102)
 * Hi,
    How can I add custom fields to the timeline controller as get_post_meta 
   doesn’t work here :
    - add venue field ‘event_lieu’
    - replace post date with custom ‘_datepicker’ date field
    - have the title as a link to the corresponding post (permalink?)
 * Hope someone could help!
 * Thanks,
    Janay

Viewing 15 replies - 1 through 15 (of 32 total)

1 [2](https://wordpress.org/support/users/janay/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/janay/replies/page/3/?output_format=md) 
[→](https://wordpress.org/support/users/janay/replies/page/2/?output_format=md)