Modern Events Calendar Lite - Version 3.5.2

Version Description

  • Fixed: Slider view
Download this release

Release Info

Developer webnus
Plugin Icon 128x128 Modern Events Calendar Lite
Version 3.5.2
Comparing to
See all releases

Code changes from version 3.5.1 to 3.5.2

app/skins/slider/render.php CHANGED
@@ -68,29 +68,29 @@ $event_colorskin = (isset($styling['mec_colorskin']) or isset($styling['color'])
68
  $speakers = json_encode($speakers);
69
  }
70
  ?>
71
- <script type="application/ld+json">
72
- {
73
- "@context" : "http://schema.org",
74
- "@type" : "Event",
75
- "startDate" : "<?php echo !empty( $event->data->meta['mec_date']['start']['date'] ) ? $event->data->meta['mec_date']['start']['date'] : '' ; ?>",
76
- "endDate" : "<?php echo !empty( $event->data->meta['mec_date']['end']['date'] ) ? $event->data->meta['mec_date']['end']['date'] : '' ; ?>",
77
- "location" :
78
- {
79
- "@type" : "Place",
80
- "name" : "<?php echo (isset($location['name']) ? $location['name'] : ''); ?>",
81
- "image" : "<?php echo (isset($location['thumbnail']) ? esc_url($location['thumbnail'] ) : '');; ?>",
82
- "address" : "<?php echo (isset($location['address']) ? $location['address'] : ''); ?>"
83
- },
84
- "performer": <?php echo $speakers; ?>,
85
- "description" : "<?php echo esc_html(preg_replace('/<p>\\s*?(<a .*?><img.*?><\\/a>|<img.*?>)?\\s*<\\/p>/s', '<div class="figure">$1</div>', $event->data->post->post_content)); ?>",
86
- "image" : "<?php echo !empty($event->data->featured_image['full']) ? esc_html($event->data->featured_image['full']) : '' ; ?>",
87
- "name" : "<?php esc_html_e($event->data->title); ?>",
88
- "url" : "<?php echo $this->main->get_event_date_permalink($event->data->permalink, $event->date['start']['date']); ?>"
89
- }
90
- </script>
91
  <?php if($this->style == 't1'): ?>
92
  <article data-style="<?php echo $label_style; ?>" class="mec-event-article mec-clear <?php echo $this->get_event_classes($event); ?>">
93
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
94
  <div class="mec-slider-t1-img" style="background: url(<?php echo $src; ?> );"></div>
95
 
96
  <div class="mec-slider-t1-content mec-event-grid-modern">
68
  $speakers = json_encode($speakers);
69
  }
70
  ?>
71
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72
  <?php if($this->style == 't1'): ?>
73
  <article data-style="<?php echo $label_style; ?>" class="mec-event-article mec-clear <?php echo $this->get_event_classes($event); ?>">
74
+ <script type="application/ld+json">
75
+ {
76
+ "@context" : "http://schema.org",
77
+ "@type" : "Event",
78
+ "startDate" : "<?php echo !empty( $event->data->meta['mec_date']['start']['date'] ) ? $event->data->meta['mec_date']['start']['date'] : '' ; ?>",
79
+ "endDate" : "<?php echo !empty( $event->data->meta['mec_date']['end']['date'] ) ? $event->data->meta['mec_date']['end']['date'] : '' ; ?>",
80
+ "location" :
81
+ {
82
+ "@type" : "Place",
83
+ "name" : "<?php echo (isset($location['name']) ? $location['name'] : ''); ?>",
84
+ "image" : "<?php echo (isset($location['thumbnail']) ? esc_url($location['thumbnail'] ) : '');; ?>",
85
+ "address" : "<?php echo (isset($location['address']) ? $location['address'] : ''); ?>"
86
+ },
87
+ "performer": <?php echo $speakers; ?>,
88
+ "description" : "<?php echo esc_html(preg_replace('/<p>\\s*?(<a .*?><img.*?><\\/a>|<img.*?>)?\\s*<\\/p>/s', '<div class="figure">$1</div>', $event->data->post->post_content)); ?>",
89
+ "image" : "<?php echo !empty($event->data->featured_image['full']) ? esc_html($event->data->featured_image['full']) : '' ; ?>",
90
+ "name" : "<?php esc_html_e($event->data->title); ?>",
91
+ "url" : "<?php echo $this->main->get_event_date_permalink($event->data->permalink, $event->date['start']['date']); ?>"
92
+ }
93
+ </script>
94
  <div class="mec-slider-t1-img" style="background: url(<?php echo $src; ?> );"></div>
95
 
96
  <div class="mec-slider-t1-content mec-event-grid-modern">
changelog.txt CHANGED
@@ -1,4 +1,7 @@
1
- v 3.5.120 March 2019
 
 
 
2
  - Fixed: Issue in saving settings
3
  - Fixed: Issue in disable google font
4
  - Fixed: Issue in frontend event submission of custom days event
1
+ v 3.5.221 March 2019
2
+ - Fixed: Slider view
3
+
4
+ v 3.5.1 – 20 March 2019
5
  - Fixed: Issue in saving settings
6
  - Fixed: Issue in disable google font
7
  - Fixed: Issue in frontend event submission of custom days event
modern-events-calendar-lite.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin URI: http://webnus.net/modern-events-calendar/
5
  Description: An awesome plugin for events calendar
6
  Author: Webnus Team
7
- Version: 3.5.1
8
  Text Domain: modern-events-calendar-lite
9
  Domain Path: /languages
10
  Author URI: http://webnus.net
@@ -31,7 +31,7 @@ if(!defined('MECEXEC'))
31
  define('MEC_BASENAME', plugin_basename(__FILE__)); // modern-events-calendar/mec.php
32
 
33
  /** Plugin Version **/
34
- define('MEC_VERSION', '3.5.1');
35
 
36
  /** Include Webnus MEC class if not included before **/
37
  if(!class_exists('MEC')) require_once MEC_ABSPATH.'mec-init.php';
4
  Plugin URI: http://webnus.net/modern-events-calendar/
5
  Description: An awesome plugin for events calendar
6
  Author: Webnus Team
7
+ Version: 3.5.2
8
  Text Domain: modern-events-calendar-lite
9
  Domain Path: /languages
10
  Author URI: http://webnus.net
31
  define('MEC_BASENAME', plugin_basename(__FILE__)); // modern-events-calendar/mec.php
32
 
33
  /** Plugin Version **/
34
+ define('MEC_VERSION', '3.5.2');
35
 
36
  /** Include Webnus MEC class if not included before **/
37
  if(!class_exists('MEC')) require_once MEC_ABSPATH.'mec-init.php';
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://webnus.net
4
  Tags: Event, Events, Calendar, Booking, Schedule, Organizer, Venue
5
  Requires at least: 4.0.0
6
  Tested up to: 5.1.1
7
- Stable tag: 3.5.1
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -192,6 +192,9 @@ You can see [plugin documentation here](https://webnus.net/dox/modern-events-cal
192
 
193
  == Changelog ==
194
 
 
 
 
195
  = 3.5.1 =
196
  - Fixed: Issue in saving settings
197
  - Fixed: Issue in disable google font
4
  Tags: Event, Events, Calendar, Booking, Schedule, Organizer, Venue
5
  Requires at least: 4.0.0
6
  Tested up to: 5.1.1
7
+ Stable tag: 3.5.2
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
10
 
192
 
193
  == Changelog ==
194
 
195
+ = 3.5.2 =
196
+ - Fixed: Slider view
197
+
198
  = 3.5.1 =
199
  - Fixed: Issue in saving settings
200
  - Fixed: Issue in disable google font