Skip to main content

Timeline for List events by month

Current License: CC BY-SA 4.0

7 events
when toggle format what by license comment
Aug 16, 2021 at 12:26 comment added Stevo I want to thank the author for this, i have been stuck on this for a few days and this solution is perfect what i needed, thank you!
Oct 16, 2018 at 11:58 comment added user2971921 you made my day!
Oct 16, 2018 at 11:57 vote accept user2971921
Oct 16, 2018 at 10:16 comment added djboris @user2971921 Yes, you can easily add whatever content you want. The $event variable will hold the WP_Post object, so you can use all of its attributes and methods. And to access the ACF fields, just add the second parameter to the ACF function the_field( 'acf_field', $post->ID ).
Oct 16, 2018 at 10:13 history edited djboris CC BY-SA 4.0
Edited to match the OP comment
Oct 16, 2018 at 10:07 comment added user2971921 Perfect! What about showing the custom fields? Let's suppose I'd like to display a custom field by ACF instead of $event->post_title inside of the $events foreach loop.
Oct 16, 2018 at 9:20 history answered djboris CC BY-SA 4.0