Tagged: avia, event manager, magazine
I’m showing a list of events (form Event Manager) using Avia Magazine.
The problem is that it shows the event title and the publishing date of the event (from WP), not the event date (from the plug-in).
Could you see a way to fix this?
Thank you.
Hi CristianoBottone,
Please send us a temporary admin login so that we can have a closer look. You can post the details in the Private Content section of your reply.
Thanks,
Rikard
Sure Rikard. Thank you.
Hi!
Thank you for the info. Please edit config-templatebuilder > aviashortcodes > magazine.php file, look for this code around line 583:
$output .= "<time class='av-magazine-time updated' {$markupTime}>".$time."</time>";
.. replace it with:
$time = get_post_type($entry->ID) == 'tribe_events' ? tribe_get_start_date( $entry->ID, $display_time = true, get_option('date_format'), null ) : $time;
$output .= "<time class='av-magazine-time updated' {$markupTime}>".$time."</time>";
Best regards,
Ismael
Mmmm done, but I don’t see any change. The page still displays the publishing date.
See here: http://enteparchi.bo.it/aaa_kriesi_test_page/
Best regards.
Hi!
My bad! I thought you’re using the events calendar plugin. I’m sorry but we don’t provide support for third party plugins as stated on our support policy. Please contact the plugin author and ask them the equivalent function of the tribe_get_start_date.
Cheers!
Ismael