Event Calendar WD – Responsive Event Calendar plugin - Version 1.0.18

Version Description

Added: Themes folder
Changed: Related events title style
Added: Apply category color to event title in event page option

Download this release

Release Info

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

Code changes from version 1.0.17 to 1.0.18

css/style.css CHANGED
@@ -1678,7 +1678,6 @@ div[class^="ecwd-page-"].ecwd_calendar .ecwd-week-date.resp{
1678
  .upcoming_events_item .event-title a{
1679
  font-size: 22px;
1680
  font-weight: bold;
1681
- text-transform: uppercase;
1682
  }
1683
  .upcoming_events_item .event-title{
1684
  margin: 0px 0 3px;
1678
  .upcoming_events_item .event-title a{
1679
  font-size: 22px;
1680
  font-weight: bold;
 
1681
  }
1682
  .upcoming_events_item .event-title{
1683
  margin: 0px 0 3px;
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.17
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.18
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.17';
10
  protected $ecwd_page = null;
11
 
12
  private function __construct() {
6
  class ECWD_Admin {
7
 
8
  protected static $instance = null;
9
+ protected $version = '1.0.18';
10
  protected $ecwd_page = null;
11
 
12
  private function __construct() {
ecwd_class.php CHANGED
@@ -6,7 +6,7 @@
6
  */
7
  class ECWD {
8
 
9
- protected $version = '1.0.17';
10
  protected $plugin_name = 'event-calendar-wd';
11
  protected $prefix = 'ecwd';
12
  protected $old_version = '1.0.13';
6
  */
7
  class ECWD {
8
 
9
+ protected $version = '1.0.18';
10
  protected $plugin_name = 'event-calendar-wd';
11
  protected $prefix = 'ecwd';
12
  protected $old_version = '1.0.13';
includes/register-settings.php CHANGED
@@ -132,6 +132,13 @@ function ecwd_register_settings() {
132
  'type' => 'radio',
133
  'default' => 1
134
  ),
 
 
 
 
 
 
 
135
  'category_and_tags' => array(
136
  'id' => 'category_and_tags',
137
  'name' => __( 'Enable Category and Tags', 'ecwd' ),
@@ -327,7 +334,7 @@ function ecwd_checkbox_callback( $args ) {
327
  function ecwd_radio_callback( $args ) {
328
  global $ecwd_options;
329
 
330
- $checked_no = isset( $ecwd_options[ $args['id'] ] ) ? checked( 0, $ecwd_options[ $args['id'] ], false ) : '';
331
 
332
  $checked_yes = isset( $ecwd_options[ $args['id'] ] ) ? checked( 1, $ecwd_options[ $args['id'] ], false ) : ( isset( $args['default'] ) ? checked( 1, $args['default'], false ) : '' );
333
 
132
  'type' => 'radio',
133
  'default' => 1
134
  ),
135
+ 'cat_title_color' => array(
136
+ 'id' => 'cat_title_color',
137
+ 'name' => __( 'Apply category color to event title in event page', 'ecwd' ),
138
+ 'desc' => '',
139
+ 'type' => 'radio',
140
+ 'default' => 0
141
+ ),
142
  'category_and_tags' => array(
143
  'id' => 'category_and_tags',
144
  'name' => __( 'Enable Category and Tags', 'ecwd' ),
334
  function ecwd_radio_callback( $args ) {
335
  global $ecwd_options;
336
 
337
+ $checked_no = isset( $ecwd_options[ $args['id'] ] ) ? checked( 0, $ecwd_options[ $args['id'] ], false ) : ( isset( $args['default'] ) ? checked( 0, $args['default'], false ) : '' );
338
 
339
  $checked_yes = isset( $ecwd_options[ $args['id'] ] ) ? checked( 1, $ecwd_options[ $args['id'] ], false ) : ( isset( $args['default'] ) ? checked( 1, $args['default'], false ) : '' );
340
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: webdorado
3
  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.17
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -130,6 +130,11 @@ After downloading the ZIP file of the Event Calendar WD plugin,
130
 
131
  == Changelog ==
132
 
 
 
 
 
 
133
  = 1.0.17 =
134
  Fixed: Time format issue
135
 
3
  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.3
7
+ Stable tag: 1.0.18
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
130
 
131
  == Changelog ==
132
 
133
+ = 1.0.18 =
134
+ Added: Themes folder
135
+ Changed: Related events title style
136
+ Added: Apply category color to event title in event page option
137
+
138
  = 1.0.17 =
139
  Fixed: Time format issue
140
 
views/single-event.php CHANGED
@@ -118,6 +118,19 @@ $args = array('orderby' => 'name', 'order' => 'ASC', 'fields' => 'all');
118
  $event_tags = wp_get_post_terms($post->ID, 'ecwd_event_tag', $args);
119
  $event_categories = wp_get_post_terms($post->ID, 'ecwd_event_category', $args);
120
 
 
 
 
 
 
 
 
 
 
 
 
 
 
121
  get_header();
122
  ?>
123
  <div id="ecwd-events-content" class="ecwd-events-single hentry">
@@ -131,7 +144,7 @@ get_header();
131
 
132
  <div class="ecwd-event" itemscope itemtype="http://schema.org/Event">
133
  <header class="entry-header">
134
- <?php the_title('<h1 class="ecwd-events-single-event-title summary entry-title">', '</h1>'); ?>
135
  </header>
136
  <div class="event-detalis">
137
 
118
  $event_tags = wp_get_post_terms($post->ID, 'ecwd_event_tag', $args);
119
  $event_categories = wp_get_post_terms($post->ID, 'ecwd_event_category', $args);
120
 
121
+ $event_title_style = '';
122
+ if(isset($ecwd_options['cat_title_color']) && $ecwd_options['cat_title_color']==1) {
123
+ if ( ! empty( $event_categories ) ) {
124
+ if ( isset( $event_categories[0] ) ) {
125
+ $cat = $event_categories[0];
126
+ $metas = get_option( "ecwd_event_category_$cat->term_id" );
127
+ if ( isset( $metas['color'] ) ) {
128
+ $event_title_style = 'style = "color: ' . $metas['color'] . '"';
129
+ }
130
+ }
131
+ }
132
+ }
133
+
134
  get_header();
135
  ?>
136
  <div id="ecwd-events-content" class="ecwd-events-single hentry">
144
 
145
  <div class="ecwd-event" itemscope itemtype="http://schema.org/Event">
146
  <header class="entry-header">
147
+ <?php the_title( '<h1 class="ecwd-events-single-event-title summary entry-title" '.$event_title_style.'>', '</h1>' ); ?>
148
  </header>
149
  <div class="event-detalis">
150