Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #561139

    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.

    #561797

    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

    #561866

    Sure Rikard. Thank you.

    #562319

    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

    #563074

    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.

    #563726

    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.