Changeset 2211998
- Timestamp:
- 12/14/2019 08:57:49 AM (6 years ago)
- Location:
- events-as-posts
- Files:
-
- 12 deleted
- 6 edited
- 15 copied
-
tags/0.1 (deleted)
-
tags/0.2 (deleted)
-
tags/0.3 (deleted)
-
tags/0.4 (deleted)
-
tags/0.5 (deleted)
-
tags/0.5.1 (deleted)
-
tags/0.5.2 (deleted)
-
tags/0.5.3 (deleted)
-
tags/0.5.4 (deleted)
-
tags/0.5.5 (deleted)
-
tags/0.5.6 (deleted)
-
tags/0.5.7/readme.txt (modified) (1 diff)
-
tags/0.5.8/readme.txt (modified) (1 diff)
-
tags/0.5.9 (copied) (copied from events-as-posts/trunk)
-
tags/0.5.9/css (copied) (copied from events-as-posts/trunk/css)
-
tags/0.5.9/eap-functions.php (copied) (copied from events-as-posts/trunk/eap-functions.php) (5 diffs)
-
tags/0.5.9/eap-settings.php (copied) (copied from events-as-posts/trunk/eap-settings.php)
-
tags/0.5.9/event-content.php (copied) (copied from events-as-posts/trunk/event-content.php)
-
tags/0.5.9/event-meta.php (copied) (copied from events-as-posts/trunk/event-meta.php)
-
tags/0.5.9/event-post-type.php (copied) (copied from events-as-posts/trunk/event-post-type.php) (1 diff)
-
tags/0.5.9/events-as-posts.php (copied) (copied from events-as-posts/trunk/events-as-posts.php) (2 diffs)
-
tags/0.5.9/inc (deleted)
-
tags/0.5.9/index.php (copied) (copied from events-as-posts/trunk/index.php)
-
tags/0.5.9/js (copied) (copied from events-as-posts/trunk/js)
-
tags/0.5.9/languages (copied) (copied from events-as-posts/trunk/languages)
-
tags/0.5.9/readme.txt (copied) (copied from events-as-posts/trunk/readme.txt) (2 diffs)
-
tags/0.5.9/settings (copied) (copied from events-as-posts/trunk/settings)
-
tags/0.5.9/settings/eap-display-settings.php (copied) (copied from events-as-posts/trunk/settings/eap-display-settings.php)
-
tags/0.5.9/uninstall.php (copied) (copied from events-as-posts/trunk/uninstall.php)
-
trunk/eap-functions.php (modified) (5 diffs)
-
trunk/event-post-type.php (modified) (1 diff)
-
trunk/events-as-posts.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
events-as-posts/tags/0.5.7/readme.txt
r2096074 r2211998 75 75 76 76 = 0.5.7 — 27 of May, 2019 = 77 * Cleaned up code that displays the styles, and correct a wrong option name in setting's page 78 79 = 0.5.6 — 27 of May, 2019 = 80 * Removed front-end and admin stylesheets to improve performance 81 82 = 0.5.4 / 0.5.5 — 25 of May, 2019 = 83 * Updated the code that displays the event location to remove white spaces appearing before the commas 84 85 = 0.5.3 — 23 of November, 2018 = 86 * Fixed an error appearing when installing the plugin for the first time 87 88 = 0.5.2 — 6 of November, 2018 = 89 * Added option to display calendar icon and clock icon before date and time 90 91 = 0.5.1 — 5 of November, 2018 = 92 * Added custom css option 93 94 = 0.5 — 4 of November, 2018 = 95 * Added date and time format options 96 * Added date and time custom format meta keys to use with other plugins 97 * General improvements in the plugin and the code 98 99 = 0.4 — 5 of October, 2018 = 100 * Added 'Country' and 'Additional information' fields 101 * Added 'Display categories' option for list of events 102 * Improved settings page and removed options for colors ( apart from background color ) in style tab 103 104 = 0.3 — 3 of October, 2018 = 105 * Added 'Read more link' option for list of events 106 * Added admin stylesheet 107 * Improved location fields when adding or editing an event 108 109 = 0.2.1 — 2 of October, 2018 = 110 * Display all the future or all the past events independently of posts per page in 'Settings' -> 'Reading' 111 112 = 0.2 — 2 of October, 2018 = 113 * Added event's 'Until' date ( if present ) in 'Date' column in 'Events' -> 'All events' 114 * List of events responsive 77 * Cleaned up code that displays the styles, and correct a wrong option name in setting's page. 115 78 116 79 = 0.1 — 15 of September, 2018 = 117 * First release 80 * First release. -
events-as-posts/tags/0.5.8/readme.txt
r2096400 r2211998 75 75 76 76 = 0.5.8 — 28 of May, 2019 = 77 * Added front-end stylesheet again, but now can be disabled using [wp_deregister_style()](https://developer.wordpress.org/reference/functions/wp_deregister_style/) in case you don't want to use the plugin default styles 77 * Added front-end stylesheet again, but now can be disabled using [wp_deregister_style()](https://developer.wordpress.org/reference/functions/wp_deregister_style/) in case you don't want to use the plugin default styles. 78 78 79 79 = 0.5.7 — 27 of May, 2019 = 80 * Cleaned up code that displays the styles, and correct a wrong option name in setting's page 81 82 = 0.5.6 — 27 of May, 2019 = 83 * Removed front-end and admin stylesheets to improve performance 84 85 = 0.5.4 / 0.5.5 — 25 of May, 2019 = 86 * Updated the code that displays the event location to remove white spaces appearing before the commas 87 88 = 0.5.3 — 23 of November, 2018 = 89 * Fixed an error appearing when installing the plugin for the first time 90 91 = 0.5.2 — 6 of November, 2018 = 92 * Added option to display calendar icon and clock icon before date and time 93 94 = 0.5.1 — 5 of November, 2018 = 95 * Added custom css option 96 97 = 0.5 — 4 of November, 2018 = 98 * Added date and time format options 99 * Added date and time custom format meta keys to use with other plugins 100 * General improvements in the plugin and the code 101 102 = 0.4 — 5 of October, 2018 = 103 * Added 'Country' and 'Additional information' fields 104 * Added 'Display categories' option for list of events 105 * Improved settings page and removed options for colors ( apart from background color ) in style tab 106 107 = 0.3 — 3 of October, 2018 = 108 * Added 'Read more link' option for list of events 109 * Added admin stylesheet 110 * Improved location fields when adding or editing an event 111 112 = 0.2.1 — 2 of October, 2018 = 113 * Display all the future or all the past events independently of posts per page in 'Settings' -> 'Reading' 114 115 = 0.2 — 2 of October, 2018 = 116 * Added event's 'Until' date ( if present ) in 'Date' column in 'Events' -> 'All events' 117 * List of events responsive 80 * Cleaned up code that displays the styles, and correct a wrong option name in setting's page. 118 81 119 82 = 0.1 — 15 of September, 2018 = 120 * First release 83 * First release. -
events-as-posts/tags/0.5.9/eap-functions.php
r2096400 r2211998 22 22 $bg_color = ( isset( $setting['bg_color'] ) && ! empty ( $setting['bg_color'] ) ) ? $setting['bg_color'] : 'initial'; 23 23 $event_bg_color = ( isset( $setting['event_bg_color'] ) && ! empty ( $setting['event_bg_color'] ) ) ? $setting['event_bg_color'] : 'initial'; 24 24 25 25 $css = null; 26 26 27 27 $css .= ".eap__event { padding: 1em; background: $event_bg_color; }"; 28 28 29 29 if ( $setting['layout'] == 1 || ! isset( $setting['layout'] ) ) { 30 30 31 31 $css .= ".eap__list { display: -ms-grid; display: grid; grid-template-columns: 1fr; grid-gap: 1.6em; background: $bg_color; }" . 32 32 ".eap__title { margin: 0 0 .6em !important;}" . … … 34 34 35 35 } elseif ( $setting['layout'] == 2 ) { 36 36 37 37 $css .= ".eap__list { display: -ms-grid; display: grid; grid-gap: 1.6em; background: $bg_color; }" . 38 38 ".eap__title { margin: .6em 0 .6em; }" . … … 40 40 41 41 } elseif ( $setting['layout'] == 3 ) { 42 42 43 43 $css .= ".eap__list { display: -ms-grid; display: grid; grid-gap: 1.6em; background: $bg_color; }" . 44 44 ".eap__title { margin: .6em 0 .6em; }" . 45 45 "@media screen and (min-width: 576px) { .eap__list { grid-template-columns: repeat(3, 1fr); } }"; 46 46 } 47 47 48 48 if ( isset( $setting['custom_css'] ) && ! empty ( $setting['custom_css'] ) ) { 49 49 $css .= htmlentities( $setting['custom_css'] ); … … 109 109 'category_name' => $category, 110 110 'meta_query' => array( 111 'key' => 'eap_from_day', 112 'value' => $date, 113 'compare' => '>=' 111 'relation' => 'OR', 112 array( 113 'key' => 'eap_from_day', 114 'value' => $date, 115 'compare' => '>=' 116 ), 117 array( 118 'key' => 'eap_until_day', 119 'value' => $date, 120 'compare' => '>=' 121 ) 114 122 ), 115 123 ); … … 170 178 'category_name' => $category, 171 179 'meta_query' => array( 172 'key' => 'eap_from_day', 173 'value' => $date, 174 'compare' => '<' 180 'relation' => 'AND', 181 array( 182 'key' => 'eap_from_day', 183 'value' => $date, 184 'compare' => '<' 185 ), 186 array( 187 'key' => 'eap_until_day', 188 'value' => $date, 189 'compare' => '<' 190 ) 175 191 ), 176 192 ); -
events-as-posts/tags/0.5.9/event-post-type.php
r2096028 r2211998 40 40 'menu_icon' => 'dashicons-calendar-alt', 41 41 'taxonomies' => array( 'category' ), 42 'show_in_rest' => true 42 43 ); 43 44 -
events-as-posts/tags/0.5.9/events-as-posts.php
r2096400 r2211998 4 4 Plugin URI: https://wordpress.org/plugins/events-as-posts/ 5 5 Description: A simple plugin that allows you to post events on your site 6 Version: 0.5. 86 Version: 0.5.9 7 7 Author: Ambrogio Piredda 8 8 Author URI: https://profiles.wordpress.org/orbam7819 … … 36 36 if ( ! defined( 'EAP_VERSION' ) ) { 37 37 38 define('EAP_VERSION', '0.5. 8');38 define('EAP_VERSION', '0.5.9'); 39 39 } 40 40 -
events-as-posts/tags/0.5.9/readme.txt
r2096400 r2211998 6 6 Tags: event, events, event list, agenda 7 7 Requires at least: 4.8 8 Tested up to: 5. 29 Stable tag: 0.5. 88 Tested up to: 5.3 9 Stable tag: 0.5.9 10 10 Requires PHP: 5.4 11 11 License: GPLv2 or later 12 12 License URI: https://www.gnu.org/licenses/gpl-2.0.html 13 13 14 A simple plugin that allows you to post events on your site 14 A simple plugin that allows you to post events on your site. 15 15 16 16 == Description == … … 74 74 == Changelog == 75 75 76 = 0.5.9 — 14 of December, 2019 = 77 * Added Gutenberg support to event post type, and fixed issue with events disappearing on future and past event lists depending on until day field settings. 78 76 79 = 0.5.8 — 28 of May, 2019 = 77 * Added front-end stylesheet again, but now can be disabled using [wp_deregister_style()](https://developer.wordpress.org/reference/functions/wp_deregister_style/) in case you don't want to use the plugin default styles 80 * Added front-end stylesheet again, but now can be disabled using [wp_deregister_style()](https://developer.wordpress.org/reference/functions/wp_deregister_style/) in case you don't want to use the plugin default styles. 78 81 79 82 = 0.5.7 — 27 of May, 2019 = 80 * Cleaned up code that displays the styles, and correct a wrong option name in setting's page 83 * Cleaned up code that displays the styles, and correct a wrong option name in setting's page. 81 84 82 85 = 0.5.6 — 27 of May, 2019 = 83 * Removed front-end and admin stylesheets to improve performance 86 * Removed front-end and admin stylesheets to improve performance. 84 87 85 88 = 0.5.4 / 0.5.5 — 25 of May, 2019 = 86 * Updated the code that displays the event location to remove white spaces appearing before the commas 89 * Updated the code that displays the event location to remove white spaces appearing before the commas. 87 90 88 91 = 0.5.3 — 23 of November, 2018 = 89 * Fixed an error appearing when installing the plugin for the first time 92 * Fixed an error appearing when installing the plugin for the first time. 90 93 91 94 = 0.5.2 — 6 of November, 2018 = 92 * Added option to display calendar icon and clock icon before date and time 95 * Added option to display calendar icon and clock icon before date and time. 93 96 94 97 = 0.5.1 — 5 of November, 2018 = 95 * Added custom css option 98 * Added custom css option. 96 99 97 100 = 0.5 — 4 of November, 2018 = 98 * Added date and time format options 99 * Added date and time custom format meta keys to use with other plugins 100 * General improvements in the plugin and the code 101 * Added date and time format options. 102 * Added date and time custom format meta keys to use with other plugins. 103 * General improvements in the plugin and the code. 101 104 102 105 = 0.4 — 5 of October, 2018 = 103 * Added 'Country' and 'Additional information' fields 104 * Added 'Display categories' option for list of events 105 * Improved settings page and removed options for colors ( apart from background color ) in style tab 106 * Added 'Country' and 'Additional information' fields. 107 * Added 'Display categories' option for list of events. 108 * Improved settings page and removed options for colors ( apart from background color ) in style tab. 106 109 107 110 = 0.3 — 3 of October, 2018 = 108 * Added 'Read more link' option for list of events 109 * Added admin stylesheet 110 * Improved location fields when adding or editing an event 111 * Added 'Read more link' option for list of events. 112 * Added admin stylesheet. 113 * Improved location fields when adding or editing an event. 111 114 112 115 = 0.2.1 — 2 of October, 2018 = 113 * Display all the future or all the past events independently of posts per page in 'Settings' -> 'Reading' 116 * Display all the future or all the past events independently of posts per page in 'Settings' -> 'Reading'. 114 117 115 118 = 0.2 — 2 of October, 2018 = 116 * Added event's 'Until' date ( if present ) in 'Date' column in 'Events' -> 'All events' 117 * List of events responsive 119 * Added event's 'Until' date ( if present ) in 'Date' column in 'Events' -> 'All events'. 120 * List of events responsive. 118 121 119 122 = 0.1 — 15 of September, 2018 = 120 * First release 123 * First release. -
events-as-posts/trunk/eap-functions.php
r2096400 r2211998 22 22 $bg_color = ( isset( $setting['bg_color'] ) && ! empty ( $setting['bg_color'] ) ) ? $setting['bg_color'] : 'initial'; 23 23 $event_bg_color = ( isset( $setting['event_bg_color'] ) && ! empty ( $setting['event_bg_color'] ) ) ? $setting['event_bg_color'] : 'initial'; 24 24 25 25 $css = null; 26 26 27 27 $css .= ".eap__event { padding: 1em; background: $event_bg_color; }"; 28 28 29 29 if ( $setting['layout'] == 1 || ! isset( $setting['layout'] ) ) { 30 30 31 31 $css .= ".eap__list { display: -ms-grid; display: grid; grid-template-columns: 1fr; grid-gap: 1.6em; background: $bg_color; }" . 32 32 ".eap__title { margin: 0 0 .6em !important;}" . … … 34 34 35 35 } elseif ( $setting['layout'] == 2 ) { 36 36 37 37 $css .= ".eap__list { display: -ms-grid; display: grid; grid-gap: 1.6em; background: $bg_color; }" . 38 38 ".eap__title { margin: .6em 0 .6em; }" . … … 40 40 41 41 } elseif ( $setting['layout'] == 3 ) { 42 42 43 43 $css .= ".eap__list { display: -ms-grid; display: grid; grid-gap: 1.6em; background: $bg_color; }" . 44 44 ".eap__title { margin: .6em 0 .6em; }" . 45 45 "@media screen and (min-width: 576px) { .eap__list { grid-template-columns: repeat(3, 1fr); } }"; 46 46 } 47 47 48 48 if ( isset( $setting['custom_css'] ) && ! empty ( $setting['custom_css'] ) ) { 49 49 $css .= htmlentities( $setting['custom_css'] ); … … 109 109 'category_name' => $category, 110 110 'meta_query' => array( 111 'key' => 'eap_from_day', 112 'value' => $date, 113 'compare' => '>=' 111 'relation' => 'OR', 112 array( 113 'key' => 'eap_from_day', 114 'value' => $date, 115 'compare' => '>=' 116 ), 117 array( 118 'key' => 'eap_until_day', 119 'value' => $date, 120 'compare' => '>=' 121 ) 114 122 ), 115 123 ); … … 170 178 'category_name' => $category, 171 179 'meta_query' => array( 172 'key' => 'eap_from_day', 173 'value' => $date, 174 'compare' => '<' 180 'relation' => 'AND', 181 array( 182 'key' => 'eap_from_day', 183 'value' => $date, 184 'compare' => '<' 185 ), 186 array( 187 'key' => 'eap_until_day', 188 'value' => $date, 189 'compare' => '<' 190 ) 175 191 ), 176 192 ); -
events-as-posts/trunk/event-post-type.php
r2096028 r2211998 40 40 'menu_icon' => 'dashicons-calendar-alt', 41 41 'taxonomies' => array( 'category' ), 42 'show_in_rest' => true 42 43 ); 43 44 -
events-as-posts/trunk/events-as-posts.php
r2096400 r2211998 4 4 Plugin URI: https://wordpress.org/plugins/events-as-posts/ 5 5 Description: A simple plugin that allows you to post events on your site 6 Version: 0.5. 86 Version: 0.5.9 7 7 Author: Ambrogio Piredda 8 8 Author URI: https://profiles.wordpress.org/orbam7819 … … 36 36 if ( ! defined( 'EAP_VERSION' ) ) { 37 37 38 define('EAP_VERSION', '0.5. 8');38 define('EAP_VERSION', '0.5.9'); 39 39 } 40 40 -
events-as-posts/trunk/readme.txt
r2096400 r2211998 6 6 Tags: event, events, event list, agenda 7 7 Requires at least: 4.8 8 Tested up to: 5. 29 Stable tag: 0.5. 88 Tested up to: 5.3 9 Stable tag: 0.5.9 10 10 Requires PHP: 5.4 11 11 License: GPLv2 or later 12 12 License URI: https://www.gnu.org/licenses/gpl-2.0.html 13 13 14 A simple plugin that allows you to post events on your site 14 A simple plugin that allows you to post events on your site. 15 15 16 16 == Description == … … 74 74 == Changelog == 75 75 76 = 0.5.9 — 14 of December, 2019 = 77 * Added Gutenberg support to event post type, and fixed issue with events disappearing on future and past event lists depending on until day field settings. 78 76 79 = 0.5.8 — 28 of May, 2019 = 77 * Added front-end stylesheet again, but now can be disabled using [wp_deregister_style()](https://developer.wordpress.org/reference/functions/wp_deregister_style/) in case you don't want to use the plugin default styles 80 * Added front-end stylesheet again, but now can be disabled using [wp_deregister_style()](https://developer.wordpress.org/reference/functions/wp_deregister_style/) in case you don't want to use the plugin default styles. 78 81 79 82 = 0.5.7 — 27 of May, 2019 = 80 * Cleaned up code that displays the styles, and correct a wrong option name in setting's page 83 * Cleaned up code that displays the styles, and correct a wrong option name in setting's page. 81 84 82 85 = 0.5.6 — 27 of May, 2019 = 83 * Removed front-end and admin stylesheets to improve performance 86 * Removed front-end and admin stylesheets to improve performance. 84 87 85 88 = 0.5.4 / 0.5.5 — 25 of May, 2019 = 86 * Updated the code that displays the event location to remove white spaces appearing before the commas 89 * Updated the code that displays the event location to remove white spaces appearing before the commas. 87 90 88 91 = 0.5.3 — 23 of November, 2018 = 89 * Fixed an error appearing when installing the plugin for the first time 92 * Fixed an error appearing when installing the plugin for the first time. 90 93 91 94 = 0.5.2 — 6 of November, 2018 = 92 * Added option to display calendar icon and clock icon before date and time 95 * Added option to display calendar icon and clock icon before date and time. 93 96 94 97 = 0.5.1 — 5 of November, 2018 = 95 * Added custom css option 98 * Added custom css option. 96 99 97 100 = 0.5 — 4 of November, 2018 = 98 * Added date and time format options 99 * Added date and time custom format meta keys to use with other plugins 100 * General improvements in the plugin and the code 101 * Added date and time format options. 102 * Added date and time custom format meta keys to use with other plugins. 103 * General improvements in the plugin and the code. 101 104 102 105 = 0.4 — 5 of October, 2018 = 103 * Added 'Country' and 'Additional information' fields 104 * Added 'Display categories' option for list of events 105 * Improved settings page and removed options for colors ( apart from background color ) in style tab 106 * Added 'Country' and 'Additional information' fields. 107 * Added 'Display categories' option for list of events. 108 * Improved settings page and removed options for colors ( apart from background color ) in style tab. 106 109 107 110 = 0.3 — 3 of October, 2018 = 108 * Added 'Read more link' option for list of events 109 * Added admin stylesheet 110 * Improved location fields when adding or editing an event 111 * Added 'Read more link' option for list of events. 112 * Added admin stylesheet. 113 * Improved location fields when adding or editing an event. 111 114 112 115 = 0.2.1 — 2 of October, 2018 = 113 * Display all the future or all the past events independently of posts per page in 'Settings' -> 'Reading' 116 * Display all the future or all the past events independently of posts per page in 'Settings' -> 'Reading'. 114 117 115 118 = 0.2 — 2 of October, 2018 = 116 * Added event's 'Until' date ( if present ) in 'Date' column in 'Events' -> 'All events' 117 * List of events responsive 119 * Added event's 'Until' date ( if present ) in 'Date' column in 'Events' -> 'All events'. 120 * List of events responsive. 118 121 119 122 = 0.1 — 15 of September, 2018 = 120 * First release 123 * First release.
Note: See TracChangeset
for help on using the changeset viewer.