Version Description
- Added: Calendar start date option
Download this release
Release Info
Developer | webdorado |
Plugin | Event Calendar WD – Responsive Event Calendar plugin |
Version | 1.0.67 |
Comparing to | |
See all releases |
Code changes from version 1.0.65 to 1.0.67
- css/admin/featured_plugins.css +2 -1
- css/images/featured/ecommerce.png +0 -0
- ecwd.php +1 -1
- ecwd_admin_class.php +1 -1
- ecwd_class.php +1 -1
- includes/ecwd-shortcodes.php +14 -1
- includes/register-settings.php +1 -1
- js/admin/editor-buttons.js +23 -0
- readme.txt +5 -2
- views/admin/ecwd-featured-plugins.php +11 -1
css/admin/featured_plugins.css
CHANGED
@@ -41,7 +41,7 @@
|
|
41 |
}
|
42 |
|
43 |
#main_featured_plugins_page #featured-plugins-list li.form-maker .product {background:url(../images/featured/form.png) left center no-repeat;}
|
44 |
-
#main_featured_plugins_page #featured-plugins-list li.
|
45 |
#main_featured_plugins_page #featured-plugins-list li.instagram-wd .product {background:url(../images/featured/instagram_feed.png) left center no-repeat;}
|
46 |
#main_featured_plugins_page #featured-plugins-list li.spider-calendar .product {background:url(../images/featured/spiderCalendar.png) left center no-repeat;}
|
47 |
#main_featured_plugins_page #featured-plugins-list li.catalog .product {background:url(../images/featured/catalog.png) left center no-repeat;}
|
@@ -56,6 +56,7 @@
|
|
56 |
#main_featured_plugins_page #featured-plugins-list li.contact_form_bulder .product {background:url(../images/featured/contact.builder.png) left center no-repeat;}
|
57 |
#main_featured_plugins_page #featured-plugins-list li.random_post .product {background:url(../images/featured/random.post.png) left center no-repeat;}
|
58 |
#main_featured_plugins_page #featured-plugins-list li.google-maps .product {background:url(../images/featured/google-maps.png) left center no-repeat;}
|
|
|
59 |
#main_featured_plugins_page #featured-plugins-list li.slider_wd .product {background:url(../images/featured/slider.png) left center no-repeat;}
|
60 |
#main_featured_plugins_page #featured-plugins-list li.folder_menu .product {background:url(../images/featured/folder.menu.png) left center no-repeat;}
|
61 |
|
41 |
}
|
42 |
|
43 |
#main_featured_plugins_page #featured-plugins-list li.form-maker .product {background:url(../images/featured/form.png) left center no-repeat;}
|
44 |
+
#main_featured_plugins_page #featured-plugins-list li.faq-wd .product {background:url(../images/featured/faq_wd.png) left center no-repeat;}
|
45 |
#main_featured_plugins_page #featured-plugins-list li.instagram-wd .product {background:url(../images/featured/instagram_feed.png) left center no-repeat;}
|
46 |
#main_featured_plugins_page #featured-plugins-list li.spider-calendar .product {background:url(../images/featured/spiderCalendar.png) left center no-repeat;}
|
47 |
#main_featured_plugins_page #featured-plugins-list li.catalog .product {background:url(../images/featured/catalog.png) left center no-repeat;}
|
56 |
#main_featured_plugins_page #featured-plugins-list li.contact_form_bulder .product {background:url(../images/featured/contact.builder.png) left center no-repeat;}
|
57 |
#main_featured_plugins_page #featured-plugins-list li.random_post .product {background:url(../images/featured/random.post.png) left center no-repeat;}
|
58 |
#main_featured_plugins_page #featured-plugins-list li.google-maps .product {background:url(../images/featured/google-maps.png) left center no-repeat;}
|
59 |
+
#main_featured_plugins_page #featured-plugins-list li.ecommerce-wd .product {background:url(../images/featured/ecommerce.png) left center no-repeat;}
|
60 |
#main_featured_plugins_page #featured-plugins-list li.slider_wd .product {background:url(../images/featured/slider.png) left center no-repeat;}
|
61 |
#main_featured_plugins_page #featured-plugins-list li.folder_menu .product {background:url(../images/featured/folder.menu.png) left center no-repeat;}
|
62 |
|
css/images/featured/ecommerce.png
ADDED
Binary file
|
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.
|
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.67
|
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.
|
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.67';
|
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.
|
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.67';
|
10 |
protected $plugin_name = 'event-calendar-wd';
|
11 |
protected $prefix = 'ecwd';
|
12 |
protected static $instance = null;
|
includes/ecwd-shortcodes.php
CHANGED
@@ -16,7 +16,8 @@ function ecwd_shortcode($attr) {
|
|
16 |
'event_search' => 'yes',
|
17 |
'display' => 'full',
|
18 |
'displays' => null,
|
19 |
-
'filters' => null
|
|
|
20 |
), $attr, ECWD_PLUGIN_PREFIX.'_calendar'));
|
21 |
|
22 |
// If no ID is specified then return
|
@@ -24,6 +25,18 @@ function ecwd_shortcode($attr) {
|
|
24 |
return;
|
25 |
}
|
26 |
$args = array('displays'=>$displays, 'filters'=>$filters, 'page_items'=>$page_items, 'event_search'=>$event_search);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
$calendar_ids = explode(',', str_replace(' ', '', $id));
|
28 |
$result = ecwd_print_calendar($calendar_ids, $display, $args);
|
29 |
return $result;
|
16 |
'event_search' => 'yes',
|
17 |
'display' => 'full',
|
18 |
'displays' => null,
|
19 |
+
'filters' => null,
|
20 |
+
'calendar_start_date' => null
|
21 |
), $attr, ECWD_PLUGIN_PREFIX.'_calendar'));
|
22 |
|
23 |
// If no ID is specified then return
|
25 |
return;
|
26 |
}
|
27 |
$args = array('displays'=>$displays, 'filters'=>$filters, 'page_items'=>$page_items, 'event_search'=>$event_search);
|
28 |
+
|
29 |
+
if($calendar_start_date !== null){
|
30 |
+
$calendar_start_date = strtotime($calendar_start_date);
|
31 |
+
if($calendar_start_date === false || $calendar_start_date === -1){
|
32 |
+
$calendar_start_date = null;
|
33 |
+
}
|
34 |
+
}
|
35 |
+
|
36 |
+
if($calendar_start_date !== null){
|
37 |
+
$args['date'] = date('Y-m-d',$calendar_start_date);
|
38 |
+
}
|
39 |
+
|
40 |
$calendar_ids = explode(',', str_replace(' ', '', $id));
|
41 |
$result = ecwd_print_calendar($calendar_ids, $display, $args);
|
42 |
return $result;
|
includes/register-settings.php
CHANGED
@@ -300,7 +300,7 @@ function ecwd_register_settings() {
|
|
300 |
'name' => __('Get key', 'ecwd'),
|
301 |
'desc' => '',
|
302 |
'type' => 'link',
|
303 |
-
'href' => 'https://console.developers.google.com/flows/enableapi?apiid=maps_backend&keyType=CLIENT_SIDE&reusekey=true',
|
304 |
'target' => '_blank'
|
305 |
),
|
306 |
'gmap_key' => array(
|
300 |
'name' => __('Get key', 'ecwd'),
|
301 |
'desc' => '',
|
302 |
'type' => 'link',
|
303 |
+
'href' => 'https://console.developers.google.com/flows/enableapi?apiid=maps_backend,geocoding_backend,directions_backend,distance_matrix_backend,elevation_backend,places_backend&keyType=CLIENT_SIDE&reusekey=true',
|
304 |
'target' => '_blank'
|
305 |
),
|
306 |
'gmap_key' => array(
|
js/admin/editor-buttons.js
CHANGED
@@ -56,6 +56,10 @@
|
|
56 |
if (v.page_items)
|
57 |
page_items = v.page_items;
|
58 |
|
|
|
|
|
|
|
|
|
59 |
var display = 'month';
|
60 |
if (v.display && v.display != 'full' && v.display != 'mini')
|
61 |
display = v.display;
|
@@ -264,6 +268,19 @@
|
|
264 |
value: page_items,
|
265 |
tooltip: 'Events per page in list view'
|
266 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
267 |
{
|
268 |
type: 'checkbox',
|
269 |
name: 'event_search',
|
@@ -343,6 +360,10 @@
|
|
343 |
//check for footer
|
344 |
if (typeof data.page_items != 'undefined' && data.page_items.length)
|
345 |
shortcode_str += ' page_items="' + data.page_items + '"';
|
|
|
|
|
|
|
|
|
346 |
if (typeof data.event_search != 'undefined' && data.event_search == true)
|
347 |
shortcode_str += ' event_search="yes"';
|
348 |
else
|
@@ -400,6 +421,7 @@
|
|
400 |
header: '',
|
401 |
footer: '',
|
402 |
page_items: '5',
|
|
|
403 |
event_search: 'yes',
|
404 |
display: 'month',
|
405 |
displays: '',
|
@@ -430,6 +452,7 @@
|
|
430 |
header: getAttr(title, 'header'),
|
431 |
footer: getAttr(title, 'footer'),
|
432 |
page_items: getAttr(title, 'page_items'),
|
|
|
433 |
event_search: getAttr(title, 'event_search'),
|
434 |
display: getAttr(title, 'display'),
|
435 |
displays: getAttr(title, 'displays'),
|
56 |
if (v.page_items)
|
57 |
page_items = v.page_items;
|
58 |
|
59 |
+
var calendar_start_date = '';
|
60 |
+
if (v.calendar_start_date)
|
61 |
+
calendar_start_date = v.calendar_start_date;
|
62 |
+
|
63 |
var display = 'month';
|
64 |
if (v.display && v.display != 'full' && v.display != 'mini')
|
65 |
display = v.display;
|
268 |
value: page_items,
|
269 |
tooltip: 'Events per page in list view'
|
270 |
},
|
271 |
+
{
|
272 |
+
type: 'textbox',
|
273 |
+
name: 'calendar_start_date',
|
274 |
+
label: 'Calendar start date',
|
275 |
+
value: calendar_start_date,
|
276 |
+
tooltip: ''
|
277 |
+
},
|
278 |
+
{
|
279 |
+
type: 'container',
|
280 |
+
name: 'href1',
|
281 |
+
style: '',
|
282 |
+
html: '<span style="float:right;font-style:italic;font-size:13px;">Date format Y-m(2016-05) or empty for current date</span>'
|
283 |
+
},
|
284 |
{
|
285 |
type: 'checkbox',
|
286 |
name: 'event_search',
|
360 |
//check for footer
|
361 |
if (typeof data.page_items != 'undefined' && data.page_items.length)
|
362 |
shortcode_str += ' page_items="' + data.page_items + '"';
|
363 |
+
|
364 |
+
if (typeof data.calendar_start_date != 'undefined' && data.calendar_start_date.length)
|
365 |
+
shortcode_str += ' calendar_start_date="' + data.calendar_start_date + '"';
|
366 |
+
|
367 |
if (typeof data.event_search != 'undefined' && data.event_search == true)
|
368 |
shortcode_str += ' event_search="yes"';
|
369 |
else
|
421 |
header: '',
|
422 |
footer: '',
|
423 |
page_items: '5',
|
424 |
+
calendar_start_date:'',
|
425 |
event_search: 'yes',
|
426 |
display: 'month',
|
427 |
displays: '',
|
452 |
header: getAttr(title, 'header'),
|
453 |
footer: getAttr(title, 'footer'),
|
454 |
page_items: getAttr(title, 'page_items'),
|
455 |
+
calendar_start_date: getAttr(title, 'calendar_start_date'),
|
456 |
event_search: getAttr(title, 'event_search'),
|
457 |
display: getAttr(title, 'display'),
|
458 |
displays: getAttr(title, 'displays'),
|
readme.txt
CHANGED
@@ -4,11 +4,11 @@ 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.5
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
-
|
12 |
|
13 |
== Description ==
|
14 |
|
@@ -155,6 +155,9 @@ After downloading the ZIP file of the Event Calendar WD plugin,
|
|
155 |
|
156 |
== Changelog ==
|
157 |
|
|
|
|
|
|
|
158 |
= 1.0.65 =
|
159 |
* Added: Google Maps API Key
|
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.5
|
7 |
+
Stable tag: 1.0.67
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
+
Calendar Event WD plugin allows organizing and publishin your events in an easy and elegant way.
|
12 |
|
13 |
== Description ==
|
14 |
|
155 |
|
156 |
== Changelog ==
|
157 |
|
158 |
+
= 1.0.67 =
|
159 |
+
* Added: Calendar start date option
|
160 |
+
|
161 |
= 1.0.65 =
|
162 |
* Added: Google Maps API Key
|
163 |
|
views/admin/ecwd-featured-plugins.php
CHANGED
@@ -16,6 +16,16 @@
|
|
16 |
</div>
|
17 |
<form method="post">
|
18 |
<ul id="featured-plugins-list">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
<li class="photo-gallery ">
|
20 |
<div class="product"></div>
|
21 |
<div class="title">
|
@@ -36,7 +46,7 @@
|
|
36 |
</div>
|
37 |
<a target="_blank" href="https://web-dorado.com/products/wordpress-form.html" class="download">Download plugin ►</a>
|
38 |
</li>
|
39 |
-
<li class="
|
40 |
<div class="product"></div>
|
41 |
<div class="title">
|
42 |
<strong class="heading">FAQ WD</strong>
|
16 |
</div>
|
17 |
<form method="post">
|
18 |
<ul id="featured-plugins-list">
|
19 |
+
<li class="ecommerce-wd">
|
20 |
+
<div class="product"></div>
|
21 |
+
<div class="title">
|
22 |
+
<strong class="heading">Ecommerce</strong>
|
23 |
+
</div>
|
24 |
+
<div class="description">
|
25 |
+
<p>Ecommerce WD is a highly-functional, user friendly WordPress Ecommerce plugin, which is perfect for developing online stores for any level of complexity.</p>
|
26 |
+
</div>
|
27 |
+
<a target="_blank" href="https://web-dorado.com/products/wordpress-ecommerce.html" class="download">Download plugin ►</a>
|
28 |
+
</li>
|
29 |
<li class="photo-gallery ">
|
30 |
<div class="product"></div>
|
31 |
<div class="title">
|
46 |
</div>
|
47 |
<a target="_blank" href="https://web-dorado.com/products/wordpress-form.html" class="download">Download plugin ►</a>
|
48 |
</li>
|
49 |
+
<li class="faq-wd">
|
50 |
<div class="product"></div>
|
51 |
<div class="title">
|
52 |
<strong class="heading">FAQ WD</strong>
|