Event Calendar WD – Responsive Event Calendar plugin - Version 1.0.40

Version Description

  • Added: New theme
Download this release

Release Info

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

Code changes from version 1.0.39 to 1.0.40

css/calendar.css CHANGED
@@ -308,3 +308,6 @@ ul.ecwd_list, ul.week-event-list, ul.day-event-list, ul.day4-event-list{
308
  color: #ffffff;
309
  }
310
 
 
 
 
308
  color: #ffffff;
309
  }
310
 
311
+ .calendar-head a {
312
+ color: #fff !important;
313
+ }
css/calendar_grey.css ADDED
@@ -0,0 +1,337 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*blue*/
2
+
3
+ .calendar-head .previous, .calendar-head .next ,
4
+ .calendar-head .current-month,
5
+ .ecwd_calendar_view_tabs ul li a{
6
+ text-shadow:none;
7
+ }
8
+ .ecwd-widget-mini .calendar-head.ecwd_calendar_prev_next{
9
+ border:1px solid #E5E5E5;
10
+ }
11
+ .ecwd_calendar_view_tabs ul li:first-child.ecwd-selected-mode a {
12
+ border-left: 1px solid #EEE;
13
+ }
14
+ .ecwd_calendar_view_tabs ul li.ecwd-selected-mode a {
15
+ border: 1px solid #eeeeee;
16
+ }
17
+ .ecwd_calendar .ecwd_calendar_prev_next{
18
+ box-shadow: none;
19
+ border: 1px solid #E5E5E5;
20
+ border-bottom: 0;
21
+ }
22
+ .ecwd_calendar td {
23
+ border: 1px solid #E5E5E5;
24
+ }
25
+ .cal_blue.ecwd_calendar_container{
26
+ margin:0;
27
+ }
28
+ table.cal_blue.ecwd_calendar_container th > div {
29
+ font-size: 14px;
30
+ }
31
+ .ecwd_calendar_view_tabs ul li{
32
+ border-right: 1px solid #fff;
33
+ border-left: 1px solid #fff;
34
+ }
35
+
36
+ table.cal_blue.ecwd_calendar_container .day-without-date {
37
+ background:#F9F9F9;
38
+ }
39
+ table.cal_blue.ecwd_calendar_container .day-without-date div {
40
+ text-align:center;
41
+ }
42
+ table.cal_blue.ecwd_calendar_container .weekend {
43
+ background: #EDEDED;
44
+ }
45
+
46
+ table.cal_blue.ecwd_calendar_container .normal-day-heading, table.cal_blue.ecwd_calendar_container .weekend-heading{
47
+ background: #e5e5e5 !important;
48
+ }
49
+
50
+
51
+ .ecwd_calendar_view_tabs ul li a{
52
+ color: #555555;
53
+ background:#f5f5f5;
54
+ }
55
+
56
+ .ecwd_calendar_view_tabs ul li a:hover{
57
+ color: #555555;
58
+ background:#fff;
59
+ }
60
+
61
+ .ecwd_calendar_view_tabs ul li.ecwd-selected-mode a{
62
+ background:#ffffff;
63
+ border-bottom: 1px solid rgba(0,0,0,0.2);
64
+ color: #555555;
65
+ }
66
+ .ecwd_calendar_view_tabs ul li a{
67
+ border: 1px solid #F5F5F5;
68
+ }
69
+
70
+ .cal_blue.ecwd_calendar_container .view-buttons a {
71
+ background:#647b9a;
72
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#7D9AC0", endColorstr="#647b9a");
73
+ background: -webkit-gradient(linear, left top, left bottom, from(#7D9AC0), to(#647b9a));
74
+ background: -moz-linear-gradient(top, #7D9AC0, #647b9a);
75
+ border:1px solid #a5b9d3;
76
+ color:#fdfefe;
77
+ font-size: 1.3em;
78
+ }
79
+
80
+ .cal_blue.ecwd_calendar_container .view-buttons a.selected {
81
+ background: #7D9AC0;
82
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#647b9a", endColorstr="#7D9AC0");
83
+ background: -webkit-gradient(linear, left top, left bottom, from(#647b9a), to(#7D9AC0));
84
+ background: -moz-linear-gradient(top, #647b9a, #7D9AC0);
85
+ }
86
+
87
+ .cal_blue.ecwd_calendar_container .calendar-heading {
88
+ text-align:center;
89
+ padding:4px 3px 3px;
90
+ height:3.25em;
91
+ color:#fdfefe;
92
+ }
93
+
94
+ .cal_blue.full .calendar-heading span {
95
+ font-size:2em;
96
+
97
+ }
98
+ .ecwd_filters .ecwd_filter_heading {
99
+ background-color: #f5f5f5;
100
+ color: #585858;
101
+ }
102
+ .ecwd_filters .ecwd_filter_item .ecwd_filter_heading span:after{
103
+ border-color: #585858 transparent transparent transparent;
104
+ }
105
+ .calendar_main .ecwd_show_filters_top span ,
106
+ .calendar_main .ecwd_show_filters span, .calendar_main .ecwd_reset_filters span{
107
+ color: #585858;
108
+ }
109
+
110
+ .calendar_main .ecwd_show_filters_top {
111
+ background: #F5F5F5;
112
+ }
113
+
114
+ .ecwd_calendar .metainfo,.event-organizers a, .event-venue a,
115
+ .event-detalis span, .event-detalis a{
116
+ color: #010101;
117
+ word-break: break-word;
118
+ }
119
+
120
+ table.cal_blue.ecwd_calendar_container select {
121
+
122
+ background: #647b9a;
123
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f3f5f9", endColorstr="#f3f5f9");
124
+ background: -webkit-gradient(linear, left top, left bottom, from(#7D9AC0), to(#647b9a));
125
+ background: -moz-linear-gradient(top, #7D9AC0, #647b9a);
126
+ outline:none;
127
+ }
128
+ .ecwd_calendar_view_tabs .filter-container ul{
129
+ background: #F5F5F5;
130
+ }
131
+ table.cal_blue.ecwd_calendar_container .current-day .open-details {
132
+ background:#7D9AC0;
133
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#7D9AC0", endColorstr="#718bad");
134
+ background: -webkit-gradient(linear, left top, left bottom, from(#7D9AC0), to(#718bad));
135
+ background: -moz-linear-gradient(top, #7D9AC0, #718bad);
136
+ }
137
+
138
+ table.cal_blue.ecwd_calendar_container .close-details {
139
+ color: #262e3a;
140
+ font-size: 0.6em;
141
+ position: absolute;
142
+ right: 7px;
143
+ text-decoration: underline;
144
+ top: 3px;
145
+ }
146
+
147
+ table.cal_blue.ecwd_calendar_container .open-details {
148
+ border:4px solid #647b9a;
149
+ -webkit-box-shadow: 2px 3px 8px rgba(1,2,2,.2);
150
+ -moz-box-shadow: 2px 3px 8px rgba(1,2,2,.2);
151
+ box-shadow: 2px 3px 8px rgba(1,2,2,.2);
152
+ -moz-border-radius: 4px;
153
+ -webkit-border-radius: 4px;
154
+ border-radius: 4px;
155
+ padding:5px 5px 10px 5px;
156
+ }
157
+ table.cal_blue.ecwd_calendar_container .current-day .day-number {
158
+ color: #585858;
159
+ background: #E5E5E5;
160
+ }
161
+ @media only screen and (max-width: 768px){
162
+ .ecwd_calendar td .day-number {
163
+ padding: 0px !important;
164
+ }
165
+ .ecwd-page-full table.cal_blue.ecwd_calendar_container .has-events:after {
166
+
167
+ background-color: #e5e5e5;
168
+ }
169
+
170
+ .ecwd_calendar.ecwd-page-full div.event-details {
171
+ border-bottom: 1px solid #CCC;
172
+ }
173
+ }
174
+
175
+
176
+ .ecwd-widget-mini .event-main-content.no-events{
177
+ padding: 8px 10px;
178
+ border: 1px solid #D5DCE2;
179
+ margin-bottom:1px !important;
180
+ background: #F9F9F9;
181
+ color: #676767;
182
+ }
183
+
184
+ .ecwd-widget-mini .event-container ,
185
+ .ecwd-widget-mini .ecwd_list .event-main-content {
186
+ border: 1px solid #D5DCE2;
187
+ margin-bottom: 1px;
188
+ background: #F9F9F9;
189
+ }
190
+ .ecwd-widget-mini .event-container:last-child {
191
+ border-bottom: 1px solid #D5DCE2 !important;
192
+ }
193
+
194
+ .ecwd_calendar.ecwd-widget-mini .ecwd-events-day-details li{
195
+ height: 100% !important;
196
+ text-indent: 0;
197
+ margin: 0 auto !important;
198
+ border-radius: 0;
199
+ border-bottom: 1px solid #CCC;
200
+ background: #ffffff !important;
201
+ padding:10px 0 !important;
202
+ color: #676767 !important;
203
+ }
204
+
205
+ table.cal_blue.mini .current-day {
206
+ color:#fdfefe;
207
+ background:#E5E5E5;
208
+ }
209
+
210
+ table.cal_blue.mini td ul.events li {
211
+ background-color: #e5e5e5;
212
+ }
213
+
214
+ .ecwd-poster-board .ecwd-poster-item .ecwd-event-details .date span:not(.weekday-block):not(.datenumber){
215
+ color:#ffffff;
216
+ background:#585858;
217
+ }
218
+
219
+
220
+
221
+ .ecwd-poster-board .ecwd-poster-item .post-descr{
222
+ font-size:15px;
223
+ }
224
+ .ecwd-poster-board .ecwd-poster-item .ecwd-event-header h2 a{
225
+ color:#000000
226
+ }
227
+
228
+
229
+
230
+ /*####################################*/
231
+
232
+ .ecwd_calendar .filter-arrow-right,
233
+ .ecwd_calendar .filter-arrow-left{
234
+ color: #555555;
235
+ font-size: 23px;
236
+ background:#f5f5f5;
237
+ }
238
+
239
+ .ecwd_calendar .filter-arrow-right{
240
+ border-left: 1px solid #FFFFFF;
241
+ border-right: 1px solid #FFFFFF;
242
+ }
243
+ .ecwd_calendar .filter-arrow-left{
244
+ border-right: 1px solid #FFFFFF;
245
+ }
246
+
247
+ .calendar-head{
248
+ background: #FFFFFF;
249
+ color:#585858;
250
+ }
251
+
252
+ .calendar-head a{
253
+ color:#585858;
254
+ }
255
+
256
+ .calendar-head .previous,
257
+ .calendar-head .next{
258
+ font-size: 17px;
259
+ }
260
+
261
+ .calendar-head .current-month{
262
+ font-size:28px;
263
+ border-left:1px solid #FFFFFF;
264
+ border-right:1px solid #FFFFFF;
265
+ }
266
+ .calendar-head .current-month div{
267
+ font-size: 16px;
268
+ line-height: 16px;
269
+ }
270
+
271
+ @media only screen and (max-width: 500px){
272
+ .calendar-head .current-month div {
273
+ font-size: 13px;
274
+ line-height: 24px;
275
+ margin-top: -8px;
276
+ }
277
+ }
278
+
279
+ .calendar-head .previous{
280
+ border-right:1px solid #FFFFFF;
281
+ }
282
+
283
+ .calendar-head .next{
284
+ border-left:1px solid #FFFFFF;
285
+ }
286
+
287
+
288
+ .ecwd_calendar td .day-number{
289
+ background: #f5f5f5;
290
+ color: #5C5C5C;
291
+ padding: 2px 0 4px 2px;
292
+ }
293
+
294
+ /*############FILTERS##############*/
295
+
296
+ .ecwd-tag-container .ecwd-dropdown-menu>div:hover{
297
+ border: 1px solid #ddd !important;
298
+ background: #F5F5F5;
299
+ }
300
+
301
+ @media only screen and (max-width: 500px){
302
+ .event_dropdown_cont{
303
+ border-top: 1px solid #D5DCE2;
304
+ display:none;
305
+ padding-top: 6px;
306
+ }
307
+
308
+ div.ecwd-week-date{
309
+ background:#e5e5e5;
310
+ }
311
+
312
+ }
313
+ /*#############LIST,WEEK VIEW###############*/
314
+
315
+ .ecwd_list .ecwd-list-date,.ecwd-day-date, .day-event-list .ecwd-week-date, .day4-event-list .ecwd-week-date, .week-event-list .ecwd-week-date {
316
+ background: #e5e5e5;
317
+ color: #585858;
318
+ }
319
+ ul.ecwd_list, ul.week-event-list, ul.day-event-list, ul.day4-event-list{
320
+ background: #f9f9f9;
321
+ padding:0;
322
+ margin:0;
323
+ }
324
+
325
+ .ecwd-pagination .page{
326
+ color: #585858;
327
+ background: #e5e5e5;
328
+ }
329
+
330
+ .ecwd-search button,.ecwd-search button:hover {
331
+ background: #f5f5f5;
332
+ color: #ababab;
333
+ }
334
+
335
+ .calendar_main .ecwd-search-submit .fa {
336
+ color: #ababab;
337
+ }
css/style.css CHANGED
@@ -1062,7 +1062,6 @@ table.cal_blue.ecwd_calendar_container select {
1062
 
1063
  .calendar-head a{
1064
  display:inline-block;
1065
- color:#fff !important;
1066
  }
1067
 
1068
  .calendar-head .previous,
1062
 
1063
  .calendar-head a{
1064
  display:inline-block;
 
1065
  }
1066
 
1067
  .calendar-head .previous,
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.39
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.40
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.39';
10
  protected $ecwd_page = null;
11
  protected $notices = null;
12
 
@@ -239,7 +239,7 @@ class ECWD_Admin {
239
  public function enqueue_admin_styles() {
240
  wp_enqueue_style($this->prefix . '-calendar-buttons-style', plugins_url('css/admin/mse-buttons.css', __FILE__), '', $this->version, 'all');
241
  if ($this->ecwd_page()) {
242
- wp_enqueue_style($this->prefix . '-main', plugins_url('css/calendar.css', __FILE__), '', $this->version);
243
  wp_enqueue_style('ecwd-admin-css', plugins_url('css/admin/admin.css', __FILE__), array(), $this->version, 'all');
244
  wp_enqueue_style('ecwd-admin-datetimepicker-css', plugins_url('css/admin/jquery.datetimepicker.css', __FILE__), array(), $this->version, 'all');
245
  wp_enqueue_style('ecwd-admin-colorpicker-css', plugins_url('css/admin/evol.colorpicker.css', __FILE__), array(), $this->version, 'all');
6
  class ECWD_Admin {
7
 
8
  protected static $instance = null;
9
+ protected $version = '1.0.40';
10
  protected $ecwd_page = null;
11
  protected $notices = null;
12
 
239
  public function enqueue_admin_styles() {
240
  wp_enqueue_style($this->prefix . '-calendar-buttons-style', plugins_url('css/admin/mse-buttons.css', __FILE__), '', $this->version, 'all');
241
  if ($this->ecwd_page()) {
242
+ //wp_enqueue_style($this->prefix . '-main', plugins_url('css/calendar.css', __FILE__), '', $this->version);
243
  wp_enqueue_style('ecwd-admin-css', plugins_url('css/admin/admin.css', __FILE__), array(), $this->version, 'all');
244
  wp_enqueue_style('ecwd-admin-datetimepicker-css', plugins_url('css/admin/jquery.datetimepicker.css', __FILE__), array(), $this->version, 'all');
245
  wp_enqueue_style('ecwd-admin-colorpicker-css', plugins_url('css/admin/evol.colorpicker.css', __FILE__), array(), $this->version, 'all');
ecwd_class.php CHANGED
@@ -6,7 +6,7 @@
6
  */
7
  class ECWD {
8
 
9
- protected $version = '1.0.39';
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.40';
10
  protected $plugin_name = 'event-calendar-wd';
11
  protected $prefix = 'ecwd';
12
  protected static $instance = null;
includes/ecwd-functions.php CHANGED
@@ -28,11 +28,14 @@ function ecwd_print_calendar($calendar_ids, $display = 'mini', $args = array(),
28
 
29
  $ecwd_calendar_theme = get_post_meta( $ids[0], ECWD_PLUGIN_PREFIX . '_calendar_theme', true );
30
  $css_file = $ids[0] . '_' . $ecwd_calendar_theme;
 
 
31
 
32
- wp_enqueue_style( 'ecwd-calendar-main', plugins_url( '../css/calendar.css', __FILE__ ), '', 1 );
33
-
34
- if ( $ecwd_calendar_theme && file_exists( ECWD_DIR . '/css/themes/' . $css_file . ".css" ) ) {
35
  wp_enqueue_style( 'ecwd-calendar-theme_' . $css_file, plugins_url( '../css/themes/' . $css_file . '.css', __FILE__ ), '', 1 );
 
 
 
36
  }
37
 
38
 
28
 
29
  $ecwd_calendar_theme = get_post_meta( $ids[0], ECWD_PLUGIN_PREFIX . '_calendar_theme', true );
30
  $css_file = $ids[0] . '_' . $ecwd_calendar_theme;
31
+ $ecwd_default_color = $ecwd_calendar_theme && $ecwd_calendar_theme == 'calendar_grey' ? $ecwd_calendar_theme : 'Default';
32
+ //wp_enqueue_style( 'ecwd-calendar-main', plugins_url( '../css/calendar.css', __FILE__ ), '', 1 );
33
 
34
+ /* if ( $ecwd_calendar_theme && file_exists( ECWD_DIR . '/css/themes/' . $css_file . ".css" ) ) {
 
 
35
  wp_enqueue_style( 'ecwd-calendar-theme_' . $css_file, plugins_url( '../css/themes/' . $css_file . '.css', __FILE__ ), '', 1 );
36
+ } */
37
+ if ( $ecwd_default_color && file_exists( ECWD_DIR . '/css/' . $ecwd_default_color . ".css" ) ) {
38
+ wp_enqueue_style( 'ecwd-calendar-main', plugins_url( '../css/' . $ecwd_default_color . '.css', __FILE__ ), '', 1 );
39
  }
40
 
41
 
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, facebook integration, widget
5
  Requires at least: 3.9
6
  Tested up to: 4.4
7
- Stable tag: 1.0.39
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -110,13 +110,14 @@ Portuguese (pt_PT)
110
 
111
  == Screenshots ==
112
 
113
- 1. WordPress Event Calendar WD - Calendar
114
- 2. WordPress Event Calendar WD - Calendar With Filter
115
- 3. WordPress Event Calendar WD - Week View
116
- 4. WordPress Event Calendar WD - Event
117
- 5. WordPress Event Calendar WD - Theme Settings
118
- 6. WordPress Event Calendar WD - Create Event
119
- 7. WordPress Event Calendar WD - Edit Venue
 
120
 
121
 
122
  == Installation ==
@@ -143,6 +144,9 @@ After downloading the ZIP file of the Event Calendar WD plugin,
143
 
144
  == Changelog ==
145
 
 
 
 
146
  = 1.0.39 =
147
  * Fixed: Date issue for php version < 5.3
148
  * Fixed: German translations
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, facebook integration, widget
5
  Requires at least: 3.9
6
  Tested up to: 4.4
7
+ Stable tag: 1.0.40
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
110
 
111
  == Screenshots ==
112
 
113
+ 1. WordPress Event Calendar WD - Grey theme
114
+ 2. WordPress Event Calendar WD - Calendar
115
+ 3. WordPress Event Calendar WD - Calendar With Filter
116
+ 4. WordPress Event Calendar WD - Week View
117
+ 5. WordPress Event Calendar WD - Event
118
+ 6. WordPress Event Calendar WD - Theme Settings
119
+ 7. WordPress Event Calendar WD - Create Event
120
+ 8. WordPress Event Calendar WD - Edit Venue
121
 
122
 
123
  == Installation ==
144
 
145
  == Changelog ==
146
 
147
+ = 1.0.40 =
148
+ * Added: New theme
149
+
150
  = 1.0.39 =
151
  * Fixed: Date issue for php version < 5.3
152
  * Fixed: German translations
views/admin/ecwd-calendar-meta.php CHANGED
@@ -12,6 +12,9 @@ $ecwd_calendar_default_year = get_post_meta($post->ID, ECWD_PLUGIN_PREFIX.'_cale
12
  $ecwd_calendar_default_month = get_post_meta($post->ID, ECWD_PLUGIN_PREFIX.'_calendar_default_month', true);
13
  $ecwd_calendar_theme = get_post_meta($post->ID, ECWD_PLUGIN_PREFIX.'_calendar_theme', true);
14
  $ecwd_calendar_12_hour_time_format = get_post_meta($post->ID, ECWD_PLUGIN_PREFIX.'_calendar_12_hour_time_format', true);
 
 
 
15
  ?>
16
 
17
  <table class="form-table">
@@ -96,7 +99,14 @@ $ecwd_calendar_12_hour_time_format = get_post_meta($post->ID, ECWD_PLUGIN_PREFIX
96
  <tr>
97
  <th scope="row"><?php _e('Theme', 'ecwd'); ?></th>
98
  <td>
99
- <a href="<?php echo admin_url('admin.php?page=ecwd_themes');?>"><?php _e('Default', 'ecwd');?></a> <sup style="color: #ba281e;">pro</sup>
 
 
 
 
 
 
 
100
  </td>
101
  </tr>
102
  </table>
12
  $ecwd_calendar_default_month = get_post_meta($post->ID, ECWD_PLUGIN_PREFIX.'_calendar_default_month', true);
13
  $ecwd_calendar_theme = get_post_meta($post->ID, ECWD_PLUGIN_PREFIX.'_calendar_theme', true);
14
  $ecwd_calendar_12_hour_time_format = get_post_meta($post->ID, ECWD_PLUGIN_PREFIX.'_calendar_12_hour_time_format', true);
15
+ $ecwd_calendar_default_theme_color = isset($_GET['post']) ? 'calendar' : 'calendar_grey';
16
+ $ecwd_calendar_default_theme_color = (isset($ecwd_calendar_theme) && $ecwd_calendar_theme != '') ? $ecwd_calendar_theme : $ecwd_calendar_default_theme_color;
17
+
18
  ?>
19
 
20
  <table class="form-table">
99
  <tr>
100
  <th scope="row"><?php _e('Theme', 'ecwd'); ?></th>
101
  <td>
102
+ <select name="ecwd_calendar_theme">
103
+ <option value="<?php echo 'calendar'; ?>" <?php echo $ecwd_calendar_default_theme_color == "calendar" ? 'selected="selected"' : ''; ?> >Default Blue</option>
104
+ <option value="<?php echo 'calendar_grey'; ?>" <?php echo !isset($ecwd_calendar_theme) || $ecwd_calendar_default_theme_color == "calendar_grey" ? 'selected="selected"' : ''; ?> >Grey</option>
105
+ </select>
106
+ <p class="description">
107
+ <a href="https://web-dorado.com/products/wordpress-event-calendar-wd.html" target="_blank"><?php _e('Upgrade to Pro for more themes.', 'ecwd'); ?></a>
108
+ </p>
109
+ <!--<a href="<?php //echo admin_url('admin.php?page=ecwd_themes');?>"><?php //_e('Default', 'ecwd');?></a> <sup style="color: #ba281e;">pro</sup>-->
110
  </td>
111
  </tr>
112
  </table>