Version Description
- Added: Visible event count per day
- Fixed: Weekly repeating events
Download this release
Release Info
| Developer | webdorado |
| Plugin | |
| Version | 1.0.91 |
| Comparing to | |
| See all releases | |
Code changes from version 1.0.90 to 1.0.91
- css/admin/admin.css +24 -7
- css/images/WD-logo.png +0 -0
- ecwd.php +2 -2
- ecwd_admin_class.php +24 -15
- ecwd_class.php +1 -1
- includes/calendar-class.php +5 -2
- includes/register-settings.php +8 -0
- readme.txt +5 -1
css/admin/admin.css
CHANGED
|
@@ -754,8 +754,8 @@ body.wp-admin.post-type-ecwd_event #posts-filter .alignleft.actions a.button{
|
|
| 754 |
color: #6e7990;
|
| 755 |
font-size: 14px;
|
| 756 |
font-weight: bold;
|
| 757 |
-
line-height:
|
| 758 |
-
padding:
|
| 759 |
vertical-align: middle;
|
| 760 |
width: 98%;
|
| 761 |
}
|
|
@@ -763,10 +763,12 @@ body.wp-admin.post-type-ecwd_event #posts-filter .alignleft.actions a.button{
|
|
| 763 |
float: left;
|
| 764 |
}
|
| 765 |
.ecwd_topic.wd_topic .wd_help_topic a {
|
| 766 |
-
color: #
|
|
|
|
|
|
|
| 767 |
}
|
| 768 |
.ecwd_topic.wd_topic .wd_help_topic a:hover {
|
| 769 |
-
color: #
|
| 770 |
}
|
| 771 |
.ecwd_topic.wd_topic .wd_support {
|
| 772 |
float: right;
|
|
@@ -781,12 +783,27 @@ body.wp-admin.post-type-ecwd_event #posts-filter .alignleft.actions a.button{
|
|
| 781 |
}
|
| 782 |
.ecwd_topic.wd_topic .wd_pro {
|
| 783 |
float: right;
|
| 784 |
-
|
| 785 |
-
padding: 0 10px;
|
| 786 |
}
|
| 787 |
.ecwd_topic.wd_topic .wd_pro a {
|
| 788 |
border: none;
|
| 789 |
box-shadow: none !important;
|
| 790 |
-
color: #FFFFFF;
|
| 791 |
text-decoration: none;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 792 |
}
|
| 754 |
color: #6e7990;
|
| 755 |
font-size: 14px;
|
| 756 |
font-weight: bold;
|
| 757 |
+
line-height: 44px;
|
| 758 |
+
padding: 0 0 0 15px;
|
| 759 |
vertical-align: middle;
|
| 760 |
width: 98%;
|
| 761 |
}
|
| 763 |
float: left;
|
| 764 |
}
|
| 765 |
.ecwd_topic.wd_topic .wd_help_topic a {
|
| 766 |
+
color: #e54b26;
|
| 767 |
+
border-bottom: 1px solid #edbeb7;
|
| 768 |
+
text-decoration: none;
|
| 769 |
}
|
| 770 |
.ecwd_topic.wd_topic .wd_help_topic a:hover {
|
| 771 |
+
color: #e54b26;
|
| 772 |
}
|
| 773 |
.ecwd_topic.wd_topic .wd_support {
|
| 774 |
float: right;
|
| 783 |
}
|
| 784 |
.ecwd_topic.wd_topic .wd_pro {
|
| 785 |
float: right;
|
| 786 |
+
padding: 0;
|
|
|
|
| 787 |
}
|
| 788 |
.ecwd_topic.wd_topic .wd_pro a {
|
| 789 |
border: none;
|
| 790 |
box-shadow: none !important;
|
|
|
|
| 791 |
text-decoration: none;
|
| 792 |
+
}
|
| 793 |
+
.ecwd_topic.wd_topic .wd_pro img {
|
| 794 |
+
border: none;
|
| 795 |
+
display: inline-block;
|
| 796 |
+
vertical-align: middle;
|
| 797 |
+
}
|
| 798 |
+
.ecwd_topic.wd_topic .wd_pro a,
|
| 799 |
+
.ecwd_topic.wd_topic .wd_pro a:active,
|
| 800 |
+
.ecwd_topic.wd_topic .wd_pro a:visited,
|
| 801 |
+
.ecwd_topic.wd_topic .wd_pro a:hover {
|
| 802 |
+
background-color: #D8D8D8;
|
| 803 |
+
color: #175c8b;
|
| 804 |
+
display: inline-block;
|
| 805 |
+
font-size: 11px;
|
| 806 |
+
font-weight: bold;
|
| 807 |
+
padding: 0 10px;
|
| 808 |
+
vertical-align: middle;
|
| 809 |
}
|
css/images/WD-logo.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
|
|
@@ -24,7 +24,7 @@ if (!defined('ECWD_URL')) {
|
|
| 24 |
}
|
| 25 |
|
| 26 |
if (!defined('ECWD_VERSION')) {
|
| 27 |
-
define('ECWD_VERSION', "1.0.
|
| 28 |
}
|
| 29 |
|
| 30 |
if (!defined('ECWD_PLUGIN_MAIN_FILE')) {
|
| 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.91
|
| 7 |
* Author: WebDorado
|
| 8 |
* Author URI: http://web-dorado.com
|
| 9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
| 24 |
}
|
| 25 |
|
| 26 |
if (!defined('ECWD_VERSION')) {
|
| 27 |
+
define('ECWD_VERSION', "1.0.91");
|
| 28 |
}
|
| 29 |
|
| 30 |
if (!defined('ECWD_PLUGIN_MAIN_FILE')) {
|
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 |
|
|
@@ -733,38 +733,47 @@ class ECWD_Admin {
|
|
| 733 |
$is_free = true;
|
| 734 |
$support_forum_link = "https://wordpress.org/support/plugin/event-calendar-wd";
|
| 735 |
$support_icon = ECWD_URL . "/css/images/i_support.png";
|
| 736 |
-
|
| 737 |
-
|
| 738 |
|
|
|
|
| 739 |
<div class="update-nag wd_topic ecwd_topic">
|
| 740 |
-
|
|
|
|
|
|
|
|
|
|
| 741 |
<?php echo sprintf(__('This section allows you to %s.', $prefix), $help_text); ?>
|
| 742 |
-
|
| 743 |
<?php _e('Read More in User Manual', $prefix); ?>
|
| 744 |
</a>
|
| 745 |
</span>
|
| 746 |
-
|
|
|
|
| 747 |
if ($is_free) {
|
| 748 |
$text = strtoupper(__('Upgrade to paid version', $prefix));
|
| 749 |
?>
|
| 750 |
-
<
|
| 751 |
-
|
| 752 |
-
|
| 753 |
-
|
| 754 |
-
|
|
|
|
| 755 |
<?php
|
| 756 |
}
|
| 757 |
-
|
| 758 |
-
|
|
|
|
| 759 |
<a target="_blank" href="<?php echo $support_forum_link; ?>">
|
| 760 |
-
<img src="<?php echo $support_icon; ?>"/>
|
| 761 |
<?php _e('Support Forum', $prefix); ?>
|
| 762 |
</a>
|
| 763 |
</span>
|
|
|
|
|
|
|
|
|
|
| 764 |
</div>
|
| 765 |
|
| 766 |
<?php
|
| 767 |
-
|
| 768 |
|
| 769 |
|
| 770 |
public static function ecwd_freemius(){
|
| 6 |
class ECWD_Admin {
|
| 7 |
|
| 8 |
protected static $instance = null;
|
| 9 |
+
protected $version = '1.0.91';
|
| 10 |
protected $ecwd_page = null;
|
| 11 |
protected $notices = null;
|
| 12 |
|
| 733 |
$is_free = true;
|
| 734 |
$support_forum_link = "https://wordpress.org/support/plugin/event-calendar-wd";
|
| 735 |
$support_icon = ECWD_URL . "/css/images/i_support.png";
|
| 736 |
+
$pro_icon = ECWD_URL . '/css/images/WD-logo.png';
|
|
|
|
| 737 |
|
| 738 |
+
?>
|
| 739 |
<div class="update-nag wd_topic ecwd_topic">
|
| 740 |
+
<?php
|
| 741 |
+
if ($help_text) {
|
| 742 |
+
?>
|
| 743 |
+
<span class="wd_help_topic">
|
| 744 |
<?php echo sprintf(__('This section allows you to %s.', $prefix), $help_text); ?>
|
| 745 |
+
<a target="_blank" href="<?php echo $user_guide_link; ?>">
|
| 746 |
<?php _e('Read More in User Manual', $prefix); ?>
|
| 747 |
</a>
|
| 748 |
</span>
|
| 749 |
+
<?php
|
| 750 |
+
}
|
| 751 |
if ($is_free) {
|
| 752 |
$text = strtoupper(__('Upgrade to paid version', $prefix));
|
| 753 |
?>
|
| 754 |
+
<div class="wd_pro">
|
| 755 |
+
<a target="_blank" href="<?php echo $pro_link; ?>">
|
| 756 |
+
<img width="50px" alt="web-dorado.com" title="<?php echo $text; ?>" src="<?php echo $pro_icon; ?>" />
|
| 757 |
+
<span><?php echo $text; ?></span>
|
| 758 |
+
</a>
|
| 759 |
+
</div>
|
| 760 |
<?php
|
| 761 |
}
|
| 762 |
+
if (FALSE) {
|
| 763 |
+
?>
|
| 764 |
+
<span class="wd_support">
|
| 765 |
<a target="_blank" href="<?php echo $support_forum_link; ?>">
|
| 766 |
+
<img src="<?php echo $support_icon; ?>" />
|
| 767 |
<?php _e('Support Forum', $prefix); ?>
|
| 768 |
</a>
|
| 769 |
</span>
|
| 770 |
+
<?php
|
| 771 |
+
}
|
| 772 |
+
?>
|
| 773 |
</div>
|
| 774 |
|
| 775 |
<?php
|
| 776 |
+
}
|
| 777 |
|
| 778 |
|
| 779 |
public static function ecwd_freemius(){
|
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.91';
|
| 10 |
protected $plugin_name = 'event-calendar-wd';
|
| 11 |
protected $prefix = 'ecwd';
|
| 12 |
protected static $instance = null;
|
includes/calendar-class.php
CHANGED
|
@@ -862,6 +862,9 @@
|
|
| 862 |
} else {
|
| 863 |
$tag = 'td';
|
| 864 |
}
|
|
|
|
|
|
|
|
|
|
| 865 |
if ($day != '') {
|
| 866 |
$bgColor = '';
|
| 867 |
$cellevents = array();
|
|
@@ -973,7 +976,7 @@
|
|
| 973 |
$eventcontent = '';
|
| 974 |
foreach ($cellevents as $i => $cellevent) {
|
| 975 |
$li_class = '';
|
| 976 |
-
if ($i >
|
| 977 |
$li_class = 'inmore';
|
| 978 |
}
|
| 979 |
//var_dump($cellevent);
|
|
@@ -1126,7 +1129,7 @@
|
|
| 1126 |
// }
|
| 1127 |
}
|
| 1128 |
$content .= apply_filters('format_content', $eventcontent);
|
| 1129 |
-
if ($i >
|
| 1130 |
$content .= '<li class="ecwd-calendar-more-event">
|
| 1131 |
<span class="ecwd-calendar-event-add">
|
| 1132 |
<span class="more_events_link">' . __('More events', 'ecwd') . '</span>
|
| 862 |
} else {
|
| 863 |
$tag = 'td';
|
| 864 |
}
|
| 865 |
+
|
| 866 |
+
$month_view_events_count = (isset($ecwd_options['event_count_per_cell'])) ? intval($ecwd_options['event_count_per_cell']) : 3;
|
| 867 |
+
|
| 868 |
if ($day != '') {
|
| 869 |
$bgColor = '';
|
| 870 |
$cellevents = array();
|
| 976 |
$eventcontent = '';
|
| 977 |
foreach ($cellevents as $i => $cellevent) {
|
| 978 |
$li_class = '';
|
| 979 |
+
if ($i > ($month_view_events_count - 1) && $this->displaytype !== 'mini') {
|
| 980 |
$li_class = 'inmore';
|
| 981 |
}
|
| 982 |
//var_dump($cellevent);
|
| 1129 |
// }
|
| 1130 |
}
|
| 1131 |
$content .= apply_filters('format_content', $eventcontent);
|
| 1132 |
+
if ($i > ($month_view_events_count - 1) && $this->displaytype !== 'mini') {
|
| 1133 |
$content .= '<li class="ecwd-calendar-more-event">
|
| 1134 |
<span class="ecwd-calendar-event-add">
|
| 1135 |
<span class="more_events_link">' . __('More events', 'ecwd') . '</span>
|
includes/register-settings.php
CHANGED
|
@@ -177,6 +177,14 @@ function ecwd_register_settings() {
|
|
| 177 |
),
|
| 178 |
),
|
| 179 |
'events' => array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 180 |
'events_archive_page_order' => array(
|
| 181 |
'id' => 'events_archive_page_order',
|
| 182 |
'name' => __('Order of events archive page', 'ecwd'),
|
| 177 |
),
|
| 178 |
),
|
| 179 |
'events' => array(
|
| 180 |
+
'event_count_per_cell' => array(
|
| 181 |
+
'id' => 'event_count_per_cell',
|
| 182 |
+
'name' => __('Visible event count per day', 'ecwd'),
|
| 183 |
+
'desc' => __('The count of visible events per day in "month view".', 'ecwd'),
|
| 184 |
+
'size' => 'medium-text',
|
| 185 |
+
'type' => 'text',
|
| 186 |
+
'default' => '3'
|
| 187 |
+
),
|
| 188 |
'events_archive_page_order' => array(
|
| 189 |
'id' => 'events_archive_page_order',
|
| 190 |
'name' => __('Order of events archive page', 'ecwd'),
|
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.7
|
| 7 |
-
Stable tag: 1.0.
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
|
@@ -245,6 +245,10 @@ After downloading the ZIP file of the Event Calendar WD plugin,
|
|
| 245 |
|
| 246 |
== Changelog ==
|
| 247 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 248 |
= 1.0.90 =
|
| 249 |
* Fixed: Helper bar
|
| 250 |
* Fixed: events archive page
|
| 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.7
|
| 7 |
+
Stable tag: 1.0.91
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
| 245 |
|
| 246 |
== Changelog ==
|
| 247 |
|
| 248 |
+
= 1.0.91 =
|
| 249 |
+
* Added: Visible event count per day
|
| 250 |
+
* Fixed: Weekly repeating events
|
| 251 |
+
|
| 252 |
= 1.0.90 =
|
| 253 |
* Fixed: Helper bar
|
| 254 |
* Fixed: events archive page
|
