Event Calendar WD – Responsive Event Calendar plugin - Version 1.0.71

Version Description

  • Added: Enable sidebar in event page option
Download this release

Release Info

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

Code changes from version 1.0.70 to 1.0.71

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.70
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.71
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.70';
10
  protected $ecwd_page = null;
11
  protected $notices = null;
12
 
6
  class ECWD_Admin {
7
 
8
  protected static $instance = null;
9
+ protected $version = '1.0.71';
10
  protected $ecwd_page = null;
11
  protected $notices = null;
12
 
ecwd_class.php CHANGED
@@ -6,7 +6,7 @@
6
  */
7
  class ECWD {
8
 
9
- protected $version = '1.0.70';
10
  protected $plugin_name = 'event-calendar-wd';
11
  protected $prefix = 'ecwd';
12
  protected static $instance = null;
6
  */
7
  class ECWD {
8
 
9
+ protected $version = '1.0.71';
10
  protected $plugin_name = 'event-calendar-wd';
11
  protected $prefix = 'ecwd';
12
  protected static $instance = null;
includes/register-settings.php CHANGED
@@ -259,6 +259,12 @@ function ecwd_register_settings() {
259
  'type' => 'radio',
260
  'default' => 1
261
  ),
 
 
 
 
 
 
262
  ),
263
  'category_archive' => array(
264
  'category_archive_slug' => array(
259
  'type' => 'radio',
260
  'default' => 1
261
  ),
262
+ 'enable_sidebar_in_event' => array(
263
+ 'id' => 'enable_sidebar_in_event',
264
+ 'name' => __('Enable sidebar in event page', 'ecwd'),
265
+ 'desc' => __('', 'ecwd'),
266
+ 'type' => 'checkbox'
267
+ ),
268
  ),
269
  'category_archive' => array(
270
  'category_archive_slug' => array(
js/ecwd_popup.js CHANGED
@@ -3,7 +3,7 @@
3
  //default params
4
  var default_options = {
5
  button: '',
6
- title: 'Modal Title',
7
  body_id: '',
8
  body_class: '',
9
  container_class: '',
3
  //default params
4
  var default_options = {
5
  button: '',
6
+ title: 'Event Details',
7
  body_id: '',
8
  body_class: '',
9
  container_class: '',
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://web-dorado.com/products/wordpress-event-calendar-wd.html
4
  Tags: calendar, date, event, event calendar, events, events calendar, meeting, organizer, recurring, reservation, responsive, schedule
5
  Requires at least: 3.9
6
  Tested up to: 4.6
7
- Stable tag: 1.0.70
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -155,6 +155,9 @@ After downloading the ZIP file of the Event Calendar WD plugin,
155
 
156
  == Changelog ==
157
 
 
 
 
158
  = 1.0.70 =
159
  * Fixed: Bug on Google Maps
160
 
4
  Tags: calendar, date, event, event calendar, events, events calendar, meeting, organizer, recurring, reservation, responsive, schedule
5
  Requires at least: 3.9
6
  Tested up to: 4.6
7
+ Stable tag: 1.0.71
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
155
 
156
  == Changelog ==
157
 
158
+ = 1.0.71 =
159
+ * Added: Enable sidebar in event page option
160
+
161
  = 1.0.70 =
162
  * Fixed: Bug on Google Maps
163
 
views/ecwd-organizer-content.php CHANGED
@@ -82,7 +82,7 @@ $events = $d->get_event_days($events, 1, date('Y-m-d'), $max_date);
82
  $events = $d->events_unique($events);
83
 
84
 
85
- echo $content;
86
  ?>
87
 
88
  <div class="ecwd-organizer">
82
  $events = $d->events_unique($events);
83
 
84
 
85
+ echo wpautop($content);
86
  ?>
87
 
88
  <div class="ecwd-organizer">
views/ecwd-venue-content.php CHANGED
@@ -91,7 +91,7 @@ $events = $d->get_event_days($events, 1, date('Y-m-d'), $max_date);
91
  $events = $d->events_unique($events);
92
  ?>
93
  <?php
94
- echo $content;
95
  ?>
96
 
97
  <div class="ecwd-venue">
91
  $events = $d->events_unique($events);
92
  ?>
93
  <?php
94
+ echo wpautop($content);
95
  ?>
96
 
97
  <div class="ecwd-venue">
views/related_events.php CHANGED
@@ -62,7 +62,7 @@ if (count($events) > 0) {
62
  }
63
  ?>
64
  </div>
65
- <div class="upcoming_events_item-content"><?php echo( $ecwd_event['post']->post_content ? $ecwd_event['post']->post_content : 'No additional details for this event.' ); ?> </div>
66
  </div>
67
  </li>
68
  <?php
62
  }
63
  ?>
64
  </div>
65
+ <div class="upcoming_events_item-content"><?php echo( $ecwd_event['post']->post_content ? wpautop($ecwd_event['post']->post_content) : 'No additional details for this event.' ); ?> </div>
66
  </div>
67
  </li>
68
  <?php
views/single-event.php CHANGED
@@ -135,7 +135,7 @@ if (isset($ecwd_options['cat_title_color']) && $ecwd_options['cat_title_color']
135
 
136
  get_header();
137
  ?>
138
- <div id="ecwd-events-content" class="ecwd-events-single hentry">
139
 
140
 
141
  <?php
@@ -336,7 +336,7 @@ get_header();
336
  ?>
337
  </div>
338
  <!-- Content -->
339
- <div>
340
  <?php the_content(); ?>
341
  </div>
342
  <!-- End Content -->
@@ -498,8 +498,8 @@ get_header();
498
  ecwd_js_init_call = new ecwd_js_init();
499
  }</script>
500
  <?php
501
- if (defined('ECWD_TEHEME') && ECWD_TEHEME == 'twentyfourteen') {
502
- get_sidebar();
503
  }
504
  get_footer();
505
  ?>
135
 
136
  get_header();
137
  ?>
138
+ <div id="ecwd-events-content" class="ecwd-events-single hentry site-content">
139
 
140
 
141
  <?php
336
  ?>
337
  </div>
338
  <!-- Content -->
339
+ <div class="entry-content">
340
  <?php the_content(); ?>
341
  </div>
342
  <!-- End Content -->
498
  ecwd_js_init_call = new ecwd_js_init();
499
  }</script>
500
  <?php
501
+ if(isset($ecwd_options['enable_sidebar_in_event']) && $ecwd_options['enable_sidebar_in_event'] == '1'){
502
+ get_sidebar();
503
  }
504
  get_footer();
505
  ?>