• This Plugins has problems with Multilanguage installations. It don’t shows everywhere the translation of the event. With this patch you can fix that issue:

    Index: trunk/eventpost.php
    ===================================================================
    --- trunk/eventpost.php (Revision 3652097)
    +++ trunk/eventpost.php (Arbeitskopie)
    @@ -1021,7 +1021,7 @@
    $rich_data = array(
    '@context'=>'https://schema.org',
    '@type'=>'event',
    - 'name'=>$event->post_title,
    + 'name'=>get_the_title($event->ID),
    'datePublished'=>str_replace(' ', 'T', $event->post_date_gmt).$gmt_offset,
    'dateModified'=>str_replace(' ', 'T', $event->post_modified_gmt).$gmt_offset,
    'startDate'=>$event->time_start ? date($time_format, $event->time_start) : null,
    @@ -1830,7 +1830,7 @@
    $this->get_post_color($event->ID, $this->settings['default_color'],true),
    $event->permalink,
    $thumbnail == true ? '<span class="event_thumbnail_wrap">' . get_the_post_thumbnail($event->root_ID, !empty($thumbnail_size) ? $thumbnail_size : 'thumbnail', array('class' => 'attachment-thumbnail wp-post-image event_thumbnail')) . '</span>' : '',
    - $event->post_title,
    + get_the_title($event->ID),
    $event->post_type == 'product' ? $text_price : '',
    $this->get_singledate($event, '', $context),
    $this->get_singlecat($event, '', $context),
    @@ -2645,8 +2645,8 @@
    }
    $ret.='<li>'
    // Translators: %s is the event title
    - . '<a href="' . $event->permalink . '" title="'.esc_attr(sprintf(__('View event: %s', 'event-post'), $event->post_title)).'">'
    - . '<h4>' . $event->post_title . '</h4>'
    + . '<a href="' . $event->permalink . '" title="'.esc_attr(sprintf(__('View event: %s', 'event-post'), get_the_title($event->ID))).'">'
    + . '<h4>' . get_the_title($event->ID) . '</h4>'
    . '<span class="event_price">' . $price . '</span>'
    .$this->get_single($event)
    . (!empty($thumbnail) ? '<span class="event_thumbnail_wrap">' . get_the_post_thumbnail($event->ID, $thumbnail) . '</span>' : '')
    @@ -3334,7 +3334,7 @@
    'BEGIN:VEVENT',
    'CREATED:'.$this->ics_date(strtotime($event->post_date)).'Z',
    'LAST-MODIFIED:'.$this->ics_date(strtotime($event->post_modified)).'Z',
    - 'SUMMARY:'.$event->post_title,
    + 'SUMMARY:'.get_the_title($event->ID),
    'UID:'.md5(site_url()."_eventpost_".$event->ID),
    'LOCATION:'.str_replace(',','\,',$event->address),
    'DTSTAMP:'.$this->ics_date($event->time_start).(!empty($vtz)?'':'Z'),
    Index: trunk/inc/export/ics.php
    ===================================================================
    --- trunk/inc/export/ics.php (Revision 3652097)
    +++ trunk/inc/export/ics.php (Arbeitskopie)
    @@ -59,7 +59,7 @@
    // Event
    array_push($props,
    'BEGIN:VEVENT',
    - 'SUMMARY:'.stripslashes($event->post_title),
    + 'SUMMARY:'.stripslashes(get_the_title($event->ID)),
    'UID:'.$event->permalink,
    'LOCATION:'.stripslashes($event->address),
    'DTSTAMP:'.$date_start.(!empty($timezone_string)?'':'Z'),

You must be logged in to reply to this topic.