Event Calendar WD – Responsive Event Calendar plugin - Version 1.0.2

Version Description

Fixed: Minor bugs

Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Event Calendar WD – Responsive Event Calendar plugin
Version 1.0.2
Comparing to
See all releases

Code changes from version 1.0.1 to 1.0.2

css/style.css CHANGED
@@ -488,7 +488,7 @@ table.cal_blue.mini {
488
  text-overflow: ellipsis;
489
  overflow: hidden;
490
  padding-left: 2px;
491
- box-sizing: border-box;
492
  }
493
 
494
  .ecwd-widget-mini .event-main-content{
@@ -745,7 +745,7 @@ div.ecwd-page-full td.has-events {
745
  margin-bottom:2px;
746
  }
747
  .ecwd-poster-board .ecwd-poster-item .ecwd-poster-img img{
748
- width: 100%;
749
  height:auto;
750
  }
751
 
@@ -1300,7 +1300,7 @@ div[class^="ecwd-page-"].ecwd_calendar .ecwd-week-date.resp{
1300
  .ecwd_calendar .day-event-list .ecwd-list-img-container img,
1301
  .ecwd_calendar .ecwd_list .ecwd-list-img-container img{
1302
  margin-top: 1px;
1303
- width: 100%;
1304
  height: auto;
1305
  }
1306
 
@@ -1357,8 +1357,8 @@ div[class^="ecwd-page-"].ecwd_calendar .ecwd-week-date.resp{
1357
  .ecwd-widget-mini .day4-event-list .ecwd-list-date-cont,
1358
  .ecwd-widget-mini .day-event-list .ecwd-list-date-cont,
1359
  .ecwd-widget-mini .week-event-list .ecwd-list-date-cont{
1360
- width: 100%;
1361
- padding-bottom: 5px;
1362
  }
1363
 
1364
  .event-container{
@@ -1594,7 +1594,7 @@ div[class^="ecwd-page-"].ecwd_calendar .ecwd-week-date.resp{
1594
  margin: 0 !important;
1595
  padding: 0 !important;
1596
  max-height:300px;
1597
- overflow-y: auto;
1598
  }
1599
  .upcoming_events_item-img img{
1600
  margin: 0px auto 13px;
@@ -2037,25 +2037,25 @@ a.ecwd-google-plus{
2037
  .ecwd-search input[type="text"]:focus:-ms-input-placeholder {color: #1FA67A}
2038
  .calendar_main .fa,
2039
  .calendar_main + .ecwd_add_event .fa {
2040
- display: inline-block;
2041
- font: normal normal normal 14px/1 FontAwesome;
2042
- font-size: inherit;
2043
- text-rendering: auto;
2044
- -webkit-font-smoothing: antialiased;
2045
- -moz-osx-font-smoothing: grayscale;
2046
- transform: translate(0, 0);
2047
- text-indent: 0px;
2048
- position: absolute;
2049
- top: 12px;
2050
- font-size: 18px;
2051
- left: 13px;
2052
- line-height: 19px;
2053
- color: #676767;
2054
  }
2055
  .calendar_main .ecwd-search-submit .fa{
2056
- top: 17px;
2057
- left: 17px;
2058
- color: #ffffff;
2059
  }
2060
 
2061
  .ecwd-search button,.ecwd-search button:hover {
@@ -2073,7 +2073,7 @@ a.ecwd-google-plus{
2073
  cursor: pointer;
2074
  -webkit-appearance: inherit;
2075
  border-radius: 0;
2076
-
2077
  }
2078
 
2079
  .ecwd-event-cat-icon{
@@ -2124,12 +2124,12 @@ a.ecwd-google-plus{
2124
  border-bottom: 1px solid #CFD7DE;
2125
  }
2126
  .ecwd-modal h4 {
2127
- margin: 0 !important;
2128
- text-align: center;
2129
- color: #737373;
2130
- font-size: 20px !important;
2131
- height: 40px;
2132
- line-height: 38px !important;
2133
  }
2134
 
2135
  .ecwd-calendar-more-event .ecwd-modal ul.events li {
@@ -2207,13 +2207,13 @@ a.ecwd-google-plus{
2207
  padding: 8px 0px;
2208
  font-size: 14px;
2209
  }
2210
-
2211
  .ecwd-search input[type="text"]{
2212
- height: 38px !important;
2213
  }
2214
-
2215
  .calendar_main .ecwd-search-submit .fa {
2216
- top: 11px;
2217
  }
2218
 
2219
  .month-name{
488
  text-overflow: ellipsis;
489
  overflow: hidden;
490
  padding-left: 2px;
491
+ box-sizing: border-box;
492
  }
493
 
494
  .ecwd-widget-mini .event-main-content{
745
  margin-bottom:2px;
746
  }
747
  .ecwd-poster-board .ecwd-poster-item .ecwd-poster-img img{
748
+ max-width: 100%;
749
  height:auto;
750
  }
751
 
1300
  .ecwd_calendar .day-event-list .ecwd-list-img-container img,
1301
  .ecwd_calendar .ecwd_list .ecwd-list-img-container img{
1302
  margin-top: 1px;
1303
+ max-width: 100%;
1304
  height: auto;
1305
  }
1306
 
1357
  .ecwd-widget-mini .day4-event-list .ecwd-list-date-cont,
1358
  .ecwd-widget-mini .day-event-list .ecwd-list-date-cont,
1359
  .ecwd-widget-mini .week-event-list .ecwd-list-date-cont{
1360
+ width: 100%;
1361
+ padding-bottom: 5px;
1362
  }
1363
 
1364
  .event-container{
1594
  margin: 0 !important;
1595
  padding: 0 !important;
1596
  max-height:300px;
1597
+ overflow-y: auto;
1598
  }
1599
  .upcoming_events_item-img img{
1600
  margin: 0px auto 13px;
2037
  .ecwd-search input[type="text"]:focus:-ms-input-placeholder {color: #1FA67A}
2038
  .calendar_main .fa,
2039
  .calendar_main + .ecwd_add_event .fa {
2040
+ display: inline-block;
2041
+ font: normal normal normal 14px/1 FontAwesome;
2042
+ font-size: inherit;
2043
+ text-rendering: auto;
2044
+ -webkit-font-smoothing: antialiased;
2045
+ -moz-osx-font-smoothing: grayscale;
2046
+ transform: translate(0, 0);
2047
+ text-indent: 0px;
2048
+ position: absolute;
2049
+ top: 12px;
2050
+ font-size: 18px;
2051
+ left: 13px;
2052
+ line-height: 19px;
2053
+ color: #676767;
2054
  }
2055
  .calendar_main .ecwd-search-submit .fa{
2056
+ top: 17px;
2057
+ left: 17px;
2058
+ color: #ffffff;
2059
  }
2060
 
2061
  .ecwd-search button,.ecwd-search button:hover {
2073
  cursor: pointer;
2074
  -webkit-appearance: inherit;
2075
  border-radius: 0;
2076
+
2077
  }
2078
 
2079
  .ecwd-event-cat-icon{
2124
  border-bottom: 1px solid #CFD7DE;
2125
  }
2126
  .ecwd-modal h4 {
2127
+ margin: 0 !important;
2128
+ text-align: center;
2129
+ color: #737373;
2130
+ font-size: 20px !important;
2131
+ height: 40px;
2132
+ line-height: 38px !important;
2133
  }
2134
 
2135
  .ecwd-calendar-more-event .ecwd-modal ul.events li {
2207
  padding: 8px 0px;
2208
  font-size: 14px;
2209
  }
2210
+
2211
  .ecwd-search input[type="text"]{
2212
+ height: 38px !important;
2213
  }
2214
+
2215
  .calendar_main .ecwd-search-submit .fa {
2216
+ top: 11px;
2217
  }
2218
 
2219
  .month-name{
ecwd.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Event Calendar WD
4
  * Plugin URI: https://web-dorado.com/products/wordpress-event-calendar-wd.html
5
  * Description: Event Calendar WD is an easy event management and planning tool with advanced features.
6
- * Version: 1.0.1
7
  * Author: WebDorado
8
  * Author URI: http://web-dorado.com
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
3
  * Plugin Name: Event Calendar WD
4
  * Plugin URI: https://web-dorado.com/products/wordpress-event-calendar-wd.html
5
  * Description: Event Calendar WD is an easy event management and planning tool with advanced features.
6
+ * Version: 1.0.2
7
  * Author: WebDorado
8
  * Author URI: http://web-dorado.com
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
ecwd_admin_class.php CHANGED
@@ -6,7 +6,7 @@
6
  class ECWD_Admin {
7
 
8
  protected static $instance = null;
9
- protected $version = '1.0.1';
10
  protected $ecwd_page = null;
11
 
12
  private function __construct() {
6
  class ECWD_Admin {
7
 
8
  protected static $instance = null;
9
+ protected $version = '1.0.2';
10
  protected $ecwd_page = null;
11
 
12
  private function __construct() {
ecwd_class.php CHANGED
@@ -7,7 +7,7 @@
7
 
8
  class ECWD {
9
 
10
- protected $version = '1.0.1';
11
  protected $plugin_name = 'event-calendar-wd';
12
  protected $prefix = 'ecwd';
13
  protected $old_version = '1.4.11';
7
 
8
  class ECWD {
9
 
10
+ protected $version = '1.0.2';
11
  protected $plugin_name = 'event-calendar-wd';
12
  protected $prefix = 'ecwd';
13
  protected $old_version = '1.4.11';
includes/calendar-class.php CHANGED
@@ -1206,7 +1206,7 @@ class Calendar {
1206
  if ( $cellevent['details'] != '' || has_post_thumbnail( $cellevent['id'] ) ) {
1207
  $eventcontent .= '<div class="ecwd-detalis" itemprop="description">';
1208
  if ( get_the_post_thumbnail( $cellevent['id'] ) ) {
1209
- $eventcontent .= get_the_post_thumbnail( $cellevent['id'] );
1210
  } elseif ( $image['image'] != null ) {
1211
  $eventcontent .= '<img src="' . $image['image'] . '" />';
1212
  $cellevent['details'] = $image['content'];
1206
  if ( $cellevent['details'] != '' || has_post_thumbnail( $cellevent['id'] ) ) {
1207
  $eventcontent .= '<div class="ecwd-detalis" itemprop="description">';
1208
  if ( get_the_post_thumbnail( $cellevent['id'] ) ) {
1209
+ $eventcontent .= get_the_post_thumbnail( $cellevent['id'], 'thumbnail' );
1210
  } elseif ( $image['image'] != null ) {
1211
  $eventcontent .= '<img src="' . $image['image'] . '" />';
1212
  $cellevent['details'] = $image['content'];
includes/ecwd-display-class.php CHANGED
@@ -356,15 +356,13 @@ class ECWD_Display {
356
  $organizers = array();
357
  $organizersIDs = array();
358
  if ( $metas && isset( $metas[ ECWD_PLUGIN_PREFIX . '_event_organizers' ][0] ) ) {
359
-
360
- if ( is_serialized( $metas[ ECWD_PLUGIN_PREFIX . '_event_organizers' ][0] ) ) {
361
- $organizers_ids = unserialize( $metas[ ECWD_PLUGIN_PREFIX . '_event_organizers' ][0] );
362
  }elseif(is_array($metas[ ECWD_PLUGIN_PREFIX . '_event_organizers' ][0] )){
363
  $organizers_ids = $metas[ ECWD_PLUGIN_PREFIX . '_event_organizers' ][0];
364
  }else{
365
  $organizers_ids = array();
366
  }
367
-
368
  foreach ( $organizers_ids as $organizer_id ) {
369
  if ( $organizer_id ) {
370
  $opost = get_post( $organizer_id );
356
  $organizers = array();
357
  $organizersIDs = array();
358
  if ( $metas && isset( $metas[ ECWD_PLUGIN_PREFIX . '_event_organizers' ][0] ) ) {
359
+ if ( is_serialized( $metas[ ECWD_PLUGIN_PREFIX . '_event_organizers' ][0] ) ) {
360
+ $organizers_ids = unserialize( $metas[ ECWD_PLUGIN_PREFIX . '_event_organizers' ][0] );
 
361
  }elseif(is_array($metas[ ECWD_PLUGIN_PREFIX . '_event_organizers' ][0] )){
362
  $organizers_ids = $metas[ ECWD_PLUGIN_PREFIX . '_event_organizers' ][0];
363
  }else{
364
  $organizers_ids = array();
365
  }
 
366
  foreach ( $organizers_ids as $organizer_id ) {
367
  if ( $organizer_id ) {
368
  $opost = get_post( $organizer_id );
includes/ecwd-functions.php CHANGED
@@ -264,7 +264,7 @@ function replaceFirstImages( $content ) {
264
 
265
  add_filter( 'post_thumbnail_html', 'ecwd_post_thumbnail', 10, 5 );
266
  function ecwd_post_thumbnail( $html, $post_id, $post_thumbnail_id, $size, $attr ) {
267
- if (is_single() && get_post_type($post_id) == ECWD_PLUGIN_PREFIX . '_event' ) {
268
  $html='<br /><br />';
269
  }
270
  return $html;
264
 
265
  add_filter( 'post_thumbnail_html', 'ecwd_post_thumbnail', 10, 5 );
266
  function ecwd_post_thumbnail( $html, $post_id, $post_thumbnail_id, $size, $attr ) {
267
+ if (is_singular(ECWD_PLUGIN_PREFIX . '_event') && get_post_type($post_id) == ECWD_PLUGIN_PREFIX . '_event' ) {
268
  $html='<br /><br />';
269
  }
270
  return $html;
js/admin/editor-buttons.js CHANGED
@@ -178,7 +178,9 @@
178
  var calendars = '';
179
  console.log(ecwd_plugin.ecwd_calendars.length);
180
  if (ecwd_plugin.ecwd_calendars.length !== 0) {
181
- id = ecwd_plugin.ecwd_calendars[0]['value'];
 
 
182
  calendars = {//add id select
183
  type: 'listbox',
184
  name: 'id',
178
  var calendars = '';
179
  console.log(ecwd_plugin.ecwd_calendars.length);
180
  if (ecwd_plugin.ecwd_calendars.length !== 0) {
181
+ if(id==0) {
182
+ id = ecwd_plugin.ecwd_calendars[0]['value'];
183
+ }
184
  calendars = {//add id select
185
  type: 'listbox',
186
  name: 'id',
js/scripts.js CHANGED
@@ -22,6 +22,7 @@
22
  showFilterSliderArrow();
23
  createSearchForm();
24
  upcomingEventsSlider();
 
25
  }, 1);
26
 
27
  if ($('.ecwd_map_div').length > 0) {
@@ -285,15 +286,16 @@
285
 
286
  function doMasonry() {
287
  var $container = $('.ecwd-poster-board');
288
- $container.imagesLoaded(function () {
289
- $container.masonry({
290
- itemSelector: '.ecwd-poster-item'
 
 
291
  });
292
- });
293
 
294
  }
295
 
296
-
297
  function showFilterSliderArrow() {
298
  var li_position, li_width, last_child;
299
  $(".calendar_main:not([class^='ecwd_widget'] .calendar_main) .ecwd_calendar_view_tabs").each(function (key, element) {
22
  showFilterSliderArrow();
23
  createSearchForm();
24
  upcomingEventsSlider();
25
+ doMasonry();
26
  }, 1);
27
 
28
  if ($('.ecwd_map_div').length > 0) {
286
 
287
  function doMasonry() {
288
  var $container = $('.ecwd-poster-board');
289
+ if($container.length && $('.ecwd-poster-board').find('.ecwd-poster-item').length>0) {
290
+ $container.imagesLoaded(function () {
291
+ $container.masonry({
292
+ itemSelector: '.ecwd-poster-item'
293
+ });
294
  });
295
+ }
296
 
297
  }
298
 
 
299
  function showFilterSliderArrow() {
300
  var li_position, li_width, last_child;
301
  $(".calendar_main:not([class^='ecwd_widget'] .calendar_main) .ecwd_calendar_view_tabs").each(function (key, element) {
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://web-dorado.com/products/wordpress-event-calendar-wd.html
4
  Tags: calendar, calendars, event, event calendar, event manager, events calendar, calendar widget, event registration, event management,events, agenda, holiday calendar , scheduling, free calendar, Calender, upcoming events , event widget , event list, calendar localization, Organizer, editorial calendar, Interactive Calendar, news calendar, meeting , appointment, event tracking, event organizer, upcoming events widget, event page, event bookings, recurring, recurring events, conference, date, dates, schedule, times, venue, AJAX, responsive, shortcode, seminar, summit
5
  Requires at least: 3.9
6
  Tested up to: 4.2
7
- Stable tag: 1.0.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -13,6 +13,7 @@ Organize and publish your events in an easy and elegant way using Event Calendar
13
  == Description ==
14
 
15
  [WordPress Event Calendar WD](http://web-dorado.com/products/wordpress-event-calendar-wd.html)
 
16
  [User Guide](https://web-dorado.com/wordpress-event-calendar-wd/installing.html)
17
  [Support Forum](https://web-dorado.com/forum/wordpress-event-calendar-wd.html)
18
 
@@ -110,6 +111,9 @@ After downloading the ZIP file of the Event Calendar WD plugin,
110
 
111
  == Changelog ==
112
 
 
 
 
113
  = 1.0.1 =
114
  Fixed: Bug in Week view
115
  Fixed: Permalink bug
4
  Tags: calendar, calendars, event, event calendar, event manager, events calendar, calendar widget, event registration, event management,events, agenda, holiday calendar , scheduling, free calendar, Calender, upcoming events , event widget , event list, calendar localization, Organizer, editorial calendar, Interactive Calendar, news calendar, meeting , appointment, event tracking, event organizer, upcoming events widget, event page, event bookings, recurring, recurring events, conference, date, dates, schedule, times, venue, AJAX, responsive, shortcode, seminar, summit
5
  Requires at least: 3.9
6
  Tested up to: 4.2
7
+ Stable tag: 1.0.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
13
  == Description ==
14
 
15
  [WordPress Event Calendar WD](http://web-dorado.com/products/wordpress-event-calendar-wd.html)
16
+ [Demo](http://wpdemo.web-dorado.com/event-calendar-wd/)
17
  [User Guide](https://web-dorado.com/wordpress-event-calendar-wd/installing.html)
18
  [Support Forum](https://web-dorado.com/forum/wordpress-event-calendar-wd.html)
19
 
111
 
112
  == Changelog ==
113
 
114
+ = 1.0.2 =
115
+ Fixed: Minor bugs
116
+
117
  = 1.0.1 =
118
  Fixed: Bug in Week view
119
  Fixed: Permalink bug