Version Description
Changed: Calendar Add-ons page
Download this release
Release Info
Developer | webdorado |
Plugin | Event Calendar WD – Responsive Event Calendar plugin |
Version | 1.0.11 |
Comparing to | |
See all releases |
Code changes from version 1.0.10 to 1.0.11
- assets/add-ons-icon.png +0 -0
- assets/import_export.png +0 -0
- css/style.css +1 -0
- ecwd.php +1 -1
- ecwd_admin_class.php +25 -17
- ecwd_class.php +1 -1
- includes/ecwd-cpt-class.php +4 -20
- js/admin/admin.js +16 -2
- readme.txt +10 -5
- views/admin/ecwd-calendar-meta.php +1 -1
assets/add-ons-icon.png
ADDED
Binary file
|
assets/import_export.png
ADDED
Binary file
|
css/style.css
CHANGED
@@ -2199,6 +2199,7 @@ a.ecwd-google-plus{
|
|
2199 |
font-size: 20px !important;
|
2200 |
height: 40px;
|
2201 |
line-height: 38px !important;
|
|
|
2202 |
}
|
2203 |
|
2204 |
.ecwd-calendar-more-event .ecwd-modal ul.events li {
|
2199 |
font-size: 20px !important;
|
2200 |
height: 40px;
|
2201 |
line-height: 38px !important;
|
2202 |
+
padding: 0;
|
2203 |
}
|
2204 |
|
2205 |
.ecwd-calendar-more-event .ecwd-modal ul.events li {
|
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.11
|
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 |
|
12 |
private function __construct() {
|
@@ -79,18 +79,8 @@ class ECWD_Admin {
|
|
79 |
'display_admin_page'
|
80 |
)
|
81 |
);
|
82 |
-
|
83 |
-
|
84 |
-
$this,
|
85 |
-
'display_addons_page'
|
86 |
-
)
|
87 |
-
);
|
88 |
-
$this->ecwd_page[] = add_submenu_page(
|
89 |
-
'edit.php?post_type=ecwd_calendar', __( 'Themes', 'ecwd' ), __( 'Themes', 'ecwd' ), 'manage_options', $this->prefix . '_themes', array(
|
90 |
-
$this,
|
91 |
-
'display_themes_page'
|
92 |
-
)
|
93 |
-
);
|
94 |
$this->ecwd_page[] = add_submenu_page(
|
95 |
'edit.php?post_type=ecwd_calendar', __( 'Licensing', 'ecwd' ), __( 'Licensing', 'ecwd' ), 'manage_options', $this->prefix . '_licensing', array(
|
96 |
$this,
|
@@ -109,7 +99,18 @@ class ECWD_Admin {
|
|
109 |
'display_featured_themes'
|
110 |
)
|
111 |
);
|
112 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
113 |
|
114 |
}
|
115 |
|
@@ -137,23 +138,30 @@ class ECWD_Admin {
|
|
137 |
'icon' => '',
|
138 |
'image' => plugins_url( 'assets/upcoming_events.png', __FILE__ ),
|
139 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
140 |
'fb' => array(
|
141 |
'name' => 'ECWD Facebook Integration',
|
142 |
-
'url' => '
|
143 |
'description' => 'This addon integrates ECWD with your Facebook page and gives functionality to import events or just display events without importing.',
|
144 |
'icon' => '',
|
145 |
'image' => plugins_url( 'assets/add_fb.jpg', __FILE__ ),
|
146 |
),
|
147 |
'gcal' => array(
|
148 |
'name' => 'ECWD Google Calendar Integration',
|
149 |
-
'url' => '
|
150 |
'description' => 'This addon integrates ECWD with your Google Calendar and gives functionality to import events or just display events without importing.',
|
151 |
'icon' => '',
|
152 |
'image' => plugins_url( 'assets/add_gcal.jpg', __FILE__ ),
|
153 |
),
|
154 |
'ical' => array(
|
155 |
'name' => 'ECWD iCAL Integration',
|
156 |
-
'url' => '
|
157 |
'description' => 'This addon integrates ECWD with your iCAL Calendar and gives functionality to import events or just display events without importing.',
|
158 |
'icon' => '',
|
159 |
'image' => plugins_url( 'assets/add_ical.jpg', __FILE__ )
|
6 |
class ECWD_Admin {
|
7 |
|
8 |
protected static $instance = null;
|
9 |
+
protected $version = '1.0.11';
|
10 |
protected $ecwd_page = null;
|
11 |
|
12 |
private function __construct() {
|
79 |
'display_admin_page'
|
80 |
)
|
81 |
);
|
82 |
+
|
83 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
$this->ecwd_page[] = add_submenu_page(
|
85 |
'edit.php?post_type=ecwd_calendar', __( 'Licensing', 'ecwd' ), __( 'Licensing', 'ecwd' ), 'manage_options', $this->prefix . '_licensing', array(
|
86 |
$this,
|
99 |
'display_featured_themes'
|
100 |
)
|
101 |
);
|
102 |
+
$this->ecwd_page[] = add_menu_page(
|
103 |
+
__( 'Calendar Add-ons', 'ecwd' ), __( 'Calendar Add-ons', 'ecwd' ), 'manage_options', $this->prefix . '_addons', array(
|
104 |
+
$this,
|
105 |
+
'display_addons_page'
|
106 |
+
),plugins_url( '/assets/add-ons-icon.png', ECWD_MAIN_FILE ), '26,12'
|
107 |
+
);
|
108 |
+
$this->ecwd_page[] = add_menu_page(
|
109 |
+
__( 'Calendar Themes', 'ecwd' ), __( 'Calendar Themes', 'ecwd' ), 'manage_options', $this->prefix . '_themes', array(
|
110 |
+
$this,
|
111 |
+
'display_themes_page'
|
112 |
+
),plugins_url( '/assets/themes-icon.png', ECWD_MAIN_FILE ), '26,18'
|
113 |
+
);
|
114 |
|
115 |
}
|
116 |
|
138 |
'icon' => '',
|
139 |
'image' => plugins_url( 'assets/upcoming_events.png', __FILE__ ),
|
140 |
),
|
141 |
+
'import_export' => array(
|
142 |
+
'name' => 'ECWD Import/Export',
|
143 |
+
'url' => 'https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/import-export.html',
|
144 |
+
'description' => 'The following data of the Event Calendar WD can be exported and imported: Events, Categories, Venues,Organizers and Tags. The exported/imported data will be in CSV format, which can be further edited, modified and imported',
|
145 |
+
'icon' => '',
|
146 |
+
'image' => plugins_url( 'assets/import_export.png', __FILE__ )
|
147 |
+
),
|
148 |
'fb' => array(
|
149 |
'name' => 'ECWD Facebook Integration',
|
150 |
+
'url' => 'https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/facebook-integration.html',
|
151 |
'description' => 'This addon integrates ECWD with your Facebook page and gives functionality to import events or just display events without importing.',
|
152 |
'icon' => '',
|
153 |
'image' => plugins_url( 'assets/add_fb.jpg', __FILE__ ),
|
154 |
),
|
155 |
'gcal' => array(
|
156 |
'name' => 'ECWD Google Calendar Integration',
|
157 |
+
'url' => 'https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/google-calendar-integration.html',
|
158 |
'description' => 'This addon integrates ECWD with your Google Calendar and gives functionality to import events or just display events without importing.',
|
159 |
'icon' => '',
|
160 |
'image' => plugins_url( 'assets/add_gcal.jpg', __FILE__ ),
|
161 |
),
|
162 |
'ical' => array(
|
163 |
'name' => 'ECWD iCAL Integration',
|
164 |
+
'url' => 'https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/ical-integration.html',
|
165 |
'description' => 'This addon integrates ECWD with your iCAL Calendar and gives functionality to import events or just display events without importing.',
|
166 |
'icon' => '',
|
167 |
'image' => plugins_url( 'assets/add_ical.jpg', __FILE__ )
|
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 $old_version = '1.4.11';
|
6 |
*/
|
7 |
class ECWD {
|
8 |
|
9 |
+
protected $version = '1.0.11';
|
10 |
protected $plugin_name = 'event-calendar-wd';
|
11 |
protected $prefix = 'ecwd';
|
12 |
protected $old_version = '1.4.11';
|
includes/ecwd-cpt-class.php
CHANGED
@@ -232,6 +232,7 @@ class ECWD_Cpt {
|
|
232 |
'publicly_queryable' => true,
|
233 |
'show_ui' => true,
|
234 |
'show_in_menu' => true,
|
|
|
235 |
'query_var' => true,
|
236 |
'capability_type' => 'post',
|
237 |
'has_archive' => false,
|
@@ -268,7 +269,7 @@ class ECWD_Cpt {
|
|
268 |
'publicly_queryable' => true,
|
269 |
'show_ui' => true,
|
270 |
'show_in_menu' => true,
|
271 |
-
|
272 |
'query_var' => true,
|
273 |
'capability_type' => 'post',
|
274 |
'taxonomies' => array(),
|
@@ -306,7 +307,7 @@ class ECWD_Cpt {
|
|
306 |
'publicly_queryable' => true,
|
307 |
'show_ui' => true,
|
308 |
'show_in_menu' => true,
|
309 |
-
|
310 |
'query_var' => true,
|
311 |
'capability_type' => 'post',
|
312 |
'taxonomies' => array(
|
@@ -352,7 +353,7 @@ class ECWD_Cpt {
|
|
352 |
'publicly_queryable' => true,
|
353 |
'show_ui' => true,
|
354 |
'show_in_menu' => true,
|
355 |
-
|
356 |
'query_var' => true,
|
357 |
'capability_type' => 'post',
|
358 |
'taxonomies' => array(),
|
@@ -634,23 +635,6 @@ class ECWD_Cpt {
|
|
634 |
$ip_addr = $_SERVER['REMOTE_ADDR'];
|
635 |
$long = '';
|
636 |
$lat = '';
|
637 |
-
if ( ini_get( 'allow_url_fopen' ) ) {
|
638 |
-
if ( $ip_addr == '127.0.0.1' ) {
|
639 |
-
$ip_addr = '37.157.218.77';
|
640 |
-
}
|
641 |
-
|
642 |
-
$url = 'http://www.geoplugin.net/php.gp?ip=' . $ip_addr;
|
643 |
-
if ( false === $geoplugin = get_transient( ECWD_PLUGIN_PREFIX . '_ip_' . $ip_addr ) ) {
|
644 |
-
$geoplugin = unserialize( file_get_contents( 'http://www.geoplugin.net/php.gp?ip=' . $ip_addr ) );
|
645 |
-
set_transient( ECWD_PLUGIN_PREFIX . '_ip_' . $ip_addr, $geoplugin, 12 * 60 * 60 );
|
646 |
-
}
|
647 |
-
|
648 |
-
|
649 |
-
if ( $geoplugin['geoplugin_latitude'] && $geoplugin['geoplugin_longitude'] ) {
|
650 |
-
$lat = $geoplugin['geoplugin_latitude'];
|
651 |
-
$long = $geoplugin['geoplugin_longitude'];
|
652 |
-
}
|
653 |
-
}
|
654 |
$args = array(
|
655 |
'post_type' => ECWD_PLUGIN_PREFIX . '_venue',
|
656 |
'post_status' => 'publish',
|
232 |
'publicly_queryable' => true,
|
233 |
'show_ui' => true,
|
234 |
'show_in_menu' => true,
|
235 |
+
'menu_position' =>'26,11',
|
236 |
'query_var' => true,
|
237 |
'capability_type' => 'post',
|
238 |
'has_archive' => false,
|
269 |
'publicly_queryable' => true,
|
270 |
'show_ui' => true,
|
271 |
'show_in_menu' => true,
|
272 |
+
'menu_position' =>'26,13',
|
273 |
'query_var' => true,
|
274 |
'capability_type' => 'post',
|
275 |
'taxonomies' => array(),
|
307 |
'publicly_queryable' => true,
|
308 |
'show_ui' => true,
|
309 |
'show_in_menu' => true,
|
310 |
+
'menu_position' =>'26,14',
|
311 |
'query_var' => true,
|
312 |
'capability_type' => 'post',
|
313 |
'taxonomies' => array(
|
353 |
'publicly_queryable' => true,
|
354 |
'show_ui' => true,
|
355 |
'show_in_menu' => true,
|
356 |
+
'menu_position' =>'26,15',
|
357 |
'query_var' => true,
|
358 |
'capability_type' => 'post',
|
359 |
'taxonomies' => array(),
|
635 |
$ip_addr = $_SERVER['REMOTE_ADDR'];
|
636 |
$long = '';
|
637 |
$lat = '';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
638 |
$args = array(
|
639 |
'post_type' => ECWD_PLUGIN_PREFIX . '_venue',
|
640 |
'post_status' => 'publish',
|
js/admin/admin.js
CHANGED
@@ -381,18 +381,32 @@ function initialize() {
|
|
381 |
geocoder = new google.maps.Geocoder();
|
382 |
|
383 |
var lat_long = document.getElementById('ecwd_lat_long').value.split(',');
|
384 |
-
var
|
|
|
|
|
|
|
|
|
|
|
|
|
385 |
var ecwd_zoom = parseInt(document.getElementById('ecwd_map_zoom').value);
|
386 |
var ecwd_marker = parseInt(document.getElementById('ecwd_marker').value);
|
|
|
387 |
var mapOptions = {
|
388 |
zoom: ecwd_zoom,
|
389 |
center: myLatlng,
|
390 |
scrollwheel: false
|
391 |
};
|
392 |
|
393 |
-
|
394 |
mapOptions);
|
395 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
396 |
|
397 |
var input = document.getElementById('ecwd_event_location');
|
398 |
|
381 |
geocoder = new google.maps.Geocoder();
|
382 |
|
383 |
var lat_long = document.getElementById('ecwd_lat_long').value.split(',');
|
384 |
+
var lat_long_available = false;
|
385 |
+
if(lat_long[0]) {
|
386 |
+
var myLatlng = new google.maps.LatLng(parseFloat(lat_long[0]), parseFloat(lat_long[1]));
|
387 |
+
lat_long_available = true;
|
388 |
+
}else{
|
389 |
+
var myLatlng = new google.maps.LatLng(53.65914, 0.072050);
|
390 |
+
}
|
391 |
var ecwd_zoom = parseInt(document.getElementById('ecwd_map_zoom').value);
|
392 |
var ecwd_marker = parseInt(document.getElementById('ecwd_marker').value);
|
393 |
+
|
394 |
var mapOptions = {
|
395 |
zoom: ecwd_zoom,
|
396 |
center: myLatlng,
|
397 |
scrollwheel: false
|
398 |
};
|
399 |
|
400 |
+
map = new google.maps.Map(document.getElementById('map-canvas'),
|
401 |
mapOptions);
|
402 |
|
403 |
+
if (!lat_long_available && navigator.geolocation) {
|
404 |
+
navigator.geolocation.getCurrentPosition(function (position) {
|
405 |
+
initialLocation = new google.maps.LatLng(position.coords.latitude, position.coords.longitude);
|
406 |
+
map.setCenter(initialLocation);
|
407 |
+
});
|
408 |
+
}
|
409 |
+
|
410 |
|
411 |
var input = document.getElementById('ecwd_event_location');
|
412 |
|
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.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -45,9 +45,11 @@ Upgrade to [WordPress Event Calendar Pro](http://web-dorado.com/products/wordpre
|
|
45 |
= Event Calendar WD Add-ons: =
|
46 |
[Filter Add-on](https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/filter.html)
|
47 |
[Countdown](https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/countdown.html)
|
48 |
-
[Upcoming Events](https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/upcoming-events.html)
|
49 |
-
|
50 |
-
|
|
|
|
|
51 |
|
52 |
[WordPress Event Calendar WD](http://web-dorado.com/products/wordpress-event-calendar-wd.html)
|
53 |
[Demo](http://wpdemo.web-dorado.com/event-calendar-wd/)
|
@@ -126,7 +128,10 @@ After downloading the ZIP file of the Event Calendar WD plugin,
|
|
126 |
5. Click "Activate Plugin" button for activating the Event Calendar WD.
|
127 |
6. If the installation does not succeed, please contact us at [info@web-dorado.com](mailto:info@web-dorado.com).
|
128 |
|
129 |
-
== Changelog ==
|
|
|
|
|
|
|
130 |
|
131 |
= 1.0.10 =
|
132 |
Added: Organizers and venues archive page order option
|
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.11
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
45 |
= Event Calendar WD Add-ons: =
|
46 |
[Filter Add-on](https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/filter.html)
|
47 |
[Countdown](https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/countdown.html)
|
48 |
+
[Upcoming Events](https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/upcoming-events.html)
|
49 |
+
[Google Calendar Integration](https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/google-calendar-integration.html)
|
50 |
+
[iCal Integration](https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/ical-integration.html)
|
51 |
+
[Facebook Integration](https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/facebook-integration.html)
|
52 |
+
[Import/Export](https://web-dorado.com/products/wordpress-event-calendar-wd/add-ons/import-export.html)
|
53 |
|
54 |
[WordPress Event Calendar WD](http://web-dorado.com/products/wordpress-event-calendar-wd.html)
|
55 |
[Demo](http://wpdemo.web-dorado.com/event-calendar-wd/)
|
128 |
5. Click "Activate Plugin" button for activating the Event Calendar WD.
|
129 |
6. If the installation does not succeed, please contact us at [info@web-dorado.com](mailto:info@web-dorado.com).
|
130 |
|
131 |
+
== Changelog ==
|
132 |
+
|
133 |
+
= 1.0.11 =
|
134 |
+
Changed: Calendar Add-ons page
|
135 |
|
136 |
= 1.0.10 =
|
137 |
Added: Organizers and venues archive page order option
|
views/admin/ecwd-calendar-meta.php
CHANGED
@@ -107,7 +107,7 @@ $ecwd_calendar_12_hour_time_format = get_post_meta($post->ID, ECWD_PLUGIN_PREFIX
|
|
107 |
<tr>
|
108 |
<th scope="row"><?php _e('Theme', 'ecwd'); ?></th>
|
109 |
<td>
|
110 |
-
<a href="<?php echo admin_url('
|
111 |
</td>
|
112 |
</tr>
|
113 |
</table>
|
107 |
<tr>
|
108 |
<th scope="row"><?php _e('Theme', 'ecwd'); ?></th>
|
109 |
<td>
|
110 |
+
<a href="<?php echo admin_url('admin.php?page=ecwd_themes');?>"><?php _e('Default', 'ecwd');?></a> <sup style="color: #ba281e;">pro</sup>
|
111 |
</td>
|
112 |
</tr>
|
113 |
</table>
|