Version Description
- Initial workaround for styling issues for the block in the new full-site editor
Download this release
Release Info
Developer | brianhogg |
Plugin | The Events Calendar Shortcode |
Version | 2.5.2 |
Comparing to | |
See all releases |
Code changes from version 2.5.1 to 2.5.2
- block/styles/index.scss +227 -3
- changelog.txt +133 -0
- readme.txt +7 -98
- static/ecs-block.css +1 -1
- the-events-calendar-shortcode.php +2 -2
block/styles/index.scss
CHANGED
@@ -1,3 +1,227 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
|
2 |
// Header
|
3 |
.ecs-block-header {
|
@@ -124,10 +348,10 @@
|
|
124 |
max-height: 30px;
|
125 |
font-family: sans-serif;
|
126 |
font-size: 18px;
|
127 |
-
}
|
128 |
|
129 |
-
|
130 |
-
|
|
|
131 |
}
|
132 |
|
133 |
.select__menu {
|
1 |
+
/* temporary fix for emotion styling issue with FSE */
|
2 |
+
.ecs-select {
|
3 |
+
> span {
|
4 |
+
display: none;
|
5 |
+
}
|
6 |
+
|
7 |
+
.select__menu {
|
8 |
+
border: 1px solid #eaeaea;
|
9 |
+
cursor: pointer;
|
10 |
+
|
11 |
+
.select__option.select__option--is-focused {
|
12 |
+
background-color: #deebff;
|
13 |
+
color: black;
|
14 |
+
}
|
15 |
+
|
16 |
+
.select__menu-notice.select__menu-notice--no-options {
|
17 |
+
padding: 8px;
|
18 |
+
text-align: center;
|
19 |
+
color: hsl(0,0%,50%);
|
20 |
+
}
|
21 |
+
}
|
22 |
+
|
23 |
+
.ecs-select {
|
24 |
+
position: relative;
|
25 |
+
box-sizing: border-box;
|
26 |
+
}
|
27 |
+
|
28 |
+
.select__control {
|
29 |
+
-webkit-align-items: center;
|
30 |
+
-webkit-box-align: center;
|
31 |
+
-ms-flex-align: center;
|
32 |
+
align-items: center;
|
33 |
+
background-color: hsl(0,0%,100%);
|
34 |
+
border-color: hsl(0,0%,80%);
|
35 |
+
border-radius: 4px;
|
36 |
+
border-style: solid;
|
37 |
+
border-width: 1px;
|
38 |
+
cursor: default;
|
39 |
+
display: -webkit-box;
|
40 |
+
display: -webkit-flex;
|
41 |
+
display: -ms-flexbox;
|
42 |
+
display: flex;
|
43 |
+
-webkit-flex-wrap: wrap;
|
44 |
+
-ms-flex-wrap: wrap;
|
45 |
+
flex-wrap: wrap;
|
46 |
+
-webkit-box-pack: justify;
|
47 |
+
-webkit-justify-content: space-between;
|
48 |
+
-ms-flex-pack: justify;
|
49 |
+
justify-content: space-between;
|
50 |
+
min-height: 38px;
|
51 |
+
outline: 0 !important;
|
52 |
+
position: relative;
|
53 |
+
-webkit-transition: all 100ms;
|
54 |
+
transition: all 100ms;
|
55 |
+
box-sizing: border-box;
|
56 |
+
|
57 |
+
.select__value-container {
|
58 |
+
-webkit-align-items: center;
|
59 |
+
-webkit-box-align: center;
|
60 |
+
-ms-flex-align: center;
|
61 |
+
align-items: center;
|
62 |
+
display: -webkit-box;
|
63 |
+
display: -webkit-flex;
|
64 |
+
display: -ms-flexbox;
|
65 |
+
display: flex;
|
66 |
+
-webkit-flex: 1;
|
67 |
+
-ms-flex: 1;
|
68 |
+
flex: 1;
|
69 |
+
-webkit-flex-wrap: wrap;
|
70 |
+
-ms-flex-wrap: wrap;
|
71 |
+
flex-wrap: wrap;
|
72 |
+
padding: 2px 8px;
|
73 |
+
-webkit-overflow-scrolling: touch;
|
74 |
+
position: relative;
|
75 |
+
overflow: hidden;
|
76 |
+
box-sizing: border-box;
|
77 |
+
|
78 |
+
.select__single-value {
|
79 |
+
color: hsl(0,0%,20%);
|
80 |
+
margin-left: 2px;
|
81 |
+
margin-right: 2px;
|
82 |
+
max-width: calc(100% - 8px);
|
83 |
+
overflow: hidden;
|
84 |
+
position: absolute;
|
85 |
+
text-overflow: ellipsis;
|
86 |
+
white-space: nowrap;
|
87 |
+
top: 50%;
|
88 |
+
-webkit-transform: translateY(-50%);
|
89 |
+
-ms-transform: translateY(-50%);
|
90 |
+
transform: translateY(-50%);
|
91 |
+
box-sizing: border-box;
|
92 |
+
}
|
93 |
+
|
94 |
+
.select__placeholder {
|
95 |
+
color: hsl(0,0%,50%);
|
96 |
+
margin-left: 2px;
|
97 |
+
margin-right: 2px;
|
98 |
+
position: absolute;
|
99 |
+
top: 50%;
|
100 |
+
-webkit-transform: translateY(-50%);
|
101 |
+
-ms-transform: translateY(-50%);
|
102 |
+
transform: translateY(-50%);
|
103 |
+
box-sizing: border-box;
|
104 |
+
}
|
105 |
+
|
106 |
+
.select__multi-value {
|
107 |
+
background-color: #ebf5ff;
|
108 |
+
border-radius: 2px;
|
109 |
+
display: -webkit-box;
|
110 |
+
display: -webkit-flex;
|
111 |
+
display: -ms-flexbox;
|
112 |
+
display: flex;
|
113 |
+
margin: 2px;
|
114 |
+
min-width: 0;
|
115 |
+
box-sizing: border-box;
|
116 |
+
|
117 |
+
.select__multi-value__label {
|
118 |
+
border-radius: 2px;
|
119 |
+
color: hsl(0,0%,20%);
|
120 |
+
font-size: 85%;
|
121 |
+
overflow: hidden;
|
122 |
+
padding: 3px;
|
123 |
+
padding-left: 6px;
|
124 |
+
text-overflow: ellipsis;
|
125 |
+
white-space: nowrap;
|
126 |
+
box-sizing: border-box;
|
127 |
+
}
|
128 |
+
|
129 |
+
.select__multi-value__remove {
|
130 |
+
-webkit-align-items: center;
|
131 |
+
-webkit-box-align: center;
|
132 |
+
-ms-flex-align: center;
|
133 |
+
align-items: center;
|
134 |
+
border-radius: 2px;
|
135 |
+
display: -webkit-box;
|
136 |
+
display: -webkit-flex;
|
137 |
+
display: -ms-flexbox;
|
138 |
+
display: flex;
|
139 |
+
padding-left: 4px;
|
140 |
+
padding-right: 4px;
|
141 |
+
box-sizing: border-box;
|
142 |
+
|
143 |
+
svg {
|
144 |
+
display: inline-block;
|
145 |
+
fill: currentColor;
|
146 |
+
line-height: 1;
|
147 |
+
stroke: currentColor;
|
148 |
+
stroke-width: 0;
|
149 |
+
}
|
150 |
+
}
|
151 |
+
}
|
152 |
+
}
|
153 |
+
}
|
154 |
+
|
155 |
+
.select__indicators {
|
156 |
+
-webkit-align-items: center;
|
157 |
+
-webkit-box-align: center;
|
158 |
+
-ms-flex-align: center;
|
159 |
+
align-items: center;
|
160 |
+
-webkit-align-self: stretch;
|
161 |
+
-ms-flex-item-align: stretch;
|
162 |
+
align-self: stretch;
|
163 |
+
display: -webkit-box;
|
164 |
+
display: -webkit-flex;
|
165 |
+
display: -ms-flexbox;
|
166 |
+
display: flex;
|
167 |
+
-webkit-flex-shrink: 0;
|
168 |
+
-ms-flex-negative: 0;
|
169 |
+
flex-shrink: 0;
|
170 |
+
box-sizing: border-box;
|
171 |
+
|
172 |
+
.select__indicator-separator {
|
173 |
+
-webkit-align-self: stretch;
|
174 |
+
-ms-flex-item-align: stretch;
|
175 |
+
align-self: stretch;
|
176 |
+
background-color: hsl(0,0%,80%);
|
177 |
+
margin-bottom: 8px;
|
178 |
+
margin-top: 8px;
|
179 |
+
width: 1px;
|
180 |
+
box-sizing: border-box;
|
181 |
+
}
|
182 |
+
|
183 |
+
.select__indicator.select__clear-indicator {
|
184 |
+
color: hsl(0,0%,80%);
|
185 |
+
display: -webkit-box;
|
186 |
+
display: -webkit-flex;
|
187 |
+
display: -ms-flexbox;
|
188 |
+
display: flex;
|
189 |
+
padding: 8px;
|
190 |
+
-webkit-transition: color 150ms;
|
191 |
+
transition: color 150ms;
|
192 |
+
box-sizing: border-box;
|
193 |
+
|
194 |
+
svg {
|
195 |
+
display: inline-block;
|
196 |
+
fill: currentColor;
|
197 |
+
line-height: 1;
|
198 |
+
stroke: currentColor;
|
199 |
+
stroke-width: 0;
|
200 |
+
}
|
201 |
+
}
|
202 |
+
|
203 |
+
.select__indicator.select__dropdown-indicator {
|
204 |
+
color: hsl(0,0%,80%);
|
205 |
+
display: -webkit-box;
|
206 |
+
display: -webkit-flex;
|
207 |
+
display: -ms-flexbox;
|
208 |
+
display: flex;
|
209 |
+
padding: 8px;
|
210 |
+
-webkit-transition: color 150ms;
|
211 |
+
transition: color 150ms;
|
212 |
+
box-sizing: border-box;
|
213 |
+
|
214 |
+
svg {
|
215 |
+
display: inline-block;
|
216 |
+
fill: currentColor;
|
217 |
+
line-height: 1;
|
218 |
+
stroke: currentColor;
|
219 |
+
stroke-width: 0;
|
220 |
+
}
|
221 |
+
}
|
222 |
+
}
|
223 |
+
}
|
224 |
+
|
225 |
|
226 |
// Header
|
227 |
.ecs-block-header {
|
348 |
max-height: 30px;
|
349 |
font-family: sans-serif;
|
350 |
font-size: 18px;
|
|
|
351 |
|
352 |
+
.select__value-container {
|
353 |
+
padding: 0 8px;
|
354 |
+
}
|
355 |
}
|
356 |
|
357 |
.select__menu {
|
changelog.txt
ADDED
@@ -0,0 +1,133 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
= 2.5.2 =
|
2 |
+
* Initial workaround for styling issues for the block in the new full-site editor
|
3 |
+
|
4 |
+
= 2.5.1 =
|
5 |
+
* Fixes missing categories in the block if many categories available on the site
|
6 |
+
|
7 |
+
= 2.5 =
|
8 |
+
* Adding div when there are no events found, to avoid display issues on some themes
|
9 |
+
|
10 |
+
= 2.4 =
|
11 |
+
* Updating block script dependencies
|
12 |
+
|
13 |
+
= 2.3.1 =
|
14 |
+
* Adds link to full documentation and short walk-through video
|
15 |
+
* Developers: Adds additional param to the ecs_start_tag filter with the number of events
|
16 |
+
|
17 |
+
= 2.3 =
|
18 |
+
* Fix for using order='DESC' to order events in descending order by event date, with the latest version of The Events Calendar (by Modern Tribe)
|
19 |
+
|
20 |
+
= 2.2.1 =
|
21 |
+
* Adds block description
|
22 |
+
|
23 |
+
= 2.2 =
|
24 |
+
* Compatibility fixes with Divi
|
25 |
+
|
26 |
+
= 2.1 =
|
27 |
+
* Disables the new WP editor block if Cornerstone page builder is active due to incompatibilities
|
28 |
+
|
29 |
+
= 2.0.2 =
|
30 |
+
* Additional check if wp_set_script_translations exists (not with the Gutenberg plugin)
|
31 |
+
|
32 |
+
= 2.0.1 =
|
33 |
+
* Tweaks to handling of default values in the block
|
34 |
+
|
35 |
+
= 2.0 =
|
36 |
+
* Adds a block in addition to the shortcode that can be used with the new WordPress editor (as of version 5.0) or Gutenberg plugin
|
37 |
+
|
38 |
+
= 1.10.1 =
|
39 |
+
* Fixing error with very old versions of PHP
|
40 |
+
|
41 |
+
= 1.10 =
|
42 |
+
* Fix for multi-word category names not working with the "cat" option
|
43 |
+
* Option to show "powered by" link
|
44 |
+
|
45 |
+
= 1.9 =
|
46 |
+
* Adds check for minimum WordPress and PHP version
|
47 |
+
* Adds a link to a short tutorial video
|
48 |
+
* Changes first example shortcode so it's easier to copy/paste
|
49 |
+
|
50 |
+
= 1.8 =
|
51 |
+
* Adds new orderby='title' option
|
52 |
+
* Fixes resetting the WordPress global query instead of just the post data
|
53 |
+
|
54 |
+
= 1.7.3 =
|
55 |
+
* Hide the "at" when using venue='true' and an event has no venue
|
56 |
+
* Adds additional WordPress filters to hide certain events
|
57 |
+
|
58 |
+
= 1.7.2 =
|
59 |
+
* Adds the ability to use schema='false' in the shortcode to hide the schema output
|
60 |
+
|
61 |
+
= 1.7.1 =
|
62 |
+
* Fix for month option where there's an all-day event the first day of the next month
|
63 |
+
* Fix for "There are no events" string not being translated automatically into other languages
|
64 |
+
|
65 |
+
= 1.7 =
|
66 |
+
* Adds structured data to the shortcode output (great for SEO and people finding your events)
|
67 |
+
|
68 |
+
= 1.6.1 =
|
69 |
+
* Added ecs-featured-event class if event is featured
|
70 |
+
* Internal changes to filtering by one or more categories
|
71 |
+
|
72 |
+
= 1.6 =
|
73 |
+
* Changes default ordering by the start date, use orderby="enddate" for previous default ordering
|
74 |
+
|
75 |
+
= 1.5.3 =
|
76 |
+
* Fixes translation of the "View all events" link into other languages
|
77 |
+
* Adds orderby parameter to order by start date, but still show events until the end date has passed
|
78 |
+
|
79 |
+
= 1.5.2 =
|
80 |
+
* Adds 'next' option for showing the next month of events
|
81 |
+
|
82 |
+
= 1.5.1 =
|
83 |
+
* Adds thumbsize option (ie. medium, large, thumbnail, full)
|
84 |
+
|
85 |
+
= 1.5 =
|
86 |
+
* Adds ability to translate the plugin into local languages
|
87 |
+
* Additional description of options
|
88 |
+
|
89 |
+
= 1.4.2 =
|
90 |
+
* Additional filter for changing the link for an event
|
91 |
+
* Adds category CSS classes for each event, so you can format each category differently
|
92 |
+
|
93 |
+
= 1.4.1 =
|
94 |
+
* Additional filters for formatting a single event
|
95 |
+
|
96 |
+
= 1.4 =
|
97 |
+
* Checks for whether The Events Calendar is installed
|
98 |
+
* Additional filters
|
99 |
+
* Improved design of shortcode help page
|
100 |
+
|
101 |
+
= 1.3 =
|
102 |
+
* Fixes issue with "viewall" showing the events twice
|
103 |
+
* Fixes time zone issue by using current_time() instead of date()
|
104 |
+
* Hides events that are marked 'hide from listing'
|
105 |
+
* Switches to tribe_get_events() to get the events
|
106 |
+
* Removes the ... from the end of the excerpt if less than the excerpt length
|
107 |
+
* Adds date_thumb option
|
108 |
+
* Adds additional filters
|
109 |
+
|
110 |
+
= 1.2 =
|
111 |
+
* Updates author/description (Event Calendar Newsletter / Brian Hogg Consulting)
|
112 |
+
|
113 |
+
= 1.0.11 =
|
114 |
+
Add Link to Thumbnail
|
115 |
+
merge pull request from d4mation -Replaced extracted variables with $atts as using extract was deprecated
|
116 |
+
=1.0.10 =
|
117 |
+
Minor Error Change - fix name and slug
|
118 |
+
= 1.0.9 =
|
119 |
+
Minor Error Change - Multiple Categories
|
120 |
+
= 1.0.8 =
|
121 |
+
Add options : multi-categories - Thanks to sujin2f
|
122 |
+
= 1.0.7 =
|
123 |
+
Add options : contentorder, month, past, key - Thanks to sujin2f
|
124 |
+
= 1.0.6 =
|
125 |
+
Fix missing ul
|
126 |
+
= 1.0.5 =
|
127 |
+
* Add excerpt and thumbnail - Thanks to ankitpokhrel
|
128 |
+
= 1.0.2 =
|
129 |
+
* Add venue to shortcode - Thanks to ankitpokhrel
|
130 |
+
= 1.0.1 =
|
131 |
+
* Fix Firefox browser compatibility issue
|
132 |
+
= 1 =
|
133 |
+
* Initial Release
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: event, events, calendar, shortcode, modern tribe
|
|
4 |
Requires at least: 4.1
|
5 |
Requires PHP: 5.3
|
6 |
Tested up to: 5.9
|
7 |
-
Stable tag: 2.5.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -180,6 +180,9 @@ The [pro version of the plugin](https://eventcalendarnewsletter.com/the-events-c
|
|
180 |
|
181 |
== Upgrade Notice ==
|
182 |
|
|
|
|
|
|
|
183 |
= 2.5.1 =
|
184 |
* Fixes missing categories in the block if many categories available on the site
|
185 |
|
@@ -194,6 +197,9 @@ Adds link to full documentation
|
|
194 |
|
195 |
== Changelog ==
|
196 |
|
|
|
|
|
|
|
197 |
= 2.5.1 =
|
198 |
* Fixes missing categories in the block if many categories available on the site
|
199 |
|
@@ -227,100 +233,3 @@ Adds link to full documentation
|
|
227 |
|
228 |
= 2.0 =
|
229 |
* Adds a block in addition to the shortcode that can be used with the new WordPress editor (as of version 5.0) or Gutenberg plugin
|
230 |
-
|
231 |
-
= 1.10.1 =
|
232 |
-
* Fixing error with very old versions of PHP
|
233 |
-
|
234 |
-
= 1.10 =
|
235 |
-
* Fix for multi-word category names not working with the "cat" option
|
236 |
-
* Option to show "powered by" link
|
237 |
-
|
238 |
-
= 1.9 =
|
239 |
-
* Adds check for minimum WordPress and PHP version
|
240 |
-
* Adds a link to a short tutorial video
|
241 |
-
* Changes first example shortcode so it's easier to copy/paste
|
242 |
-
|
243 |
-
= 1.8 =
|
244 |
-
* Adds new orderby='title' option
|
245 |
-
* Fixes resetting the WordPress global query instead of just the post data
|
246 |
-
|
247 |
-
= 1.7.3 =
|
248 |
-
* Hide the "at" when using venue='true' and an event has no venue
|
249 |
-
* Adds additional WordPress filters to hide certain events
|
250 |
-
|
251 |
-
= 1.7.2 =
|
252 |
-
* Adds the ability to use schema='false' in the shortcode to hide the schema output
|
253 |
-
|
254 |
-
= 1.7.1 =
|
255 |
-
* Fix for month option where there's an all-day event the first day of the next month
|
256 |
-
* Fix for "There are no events" string not being translated automatically into other languages
|
257 |
-
|
258 |
-
= 1.7 =
|
259 |
-
* Adds structured data to the shortcode output (great for SEO and people finding your events)
|
260 |
-
|
261 |
-
= 1.6.1 =
|
262 |
-
* Added ecs-featured-event class if event is featured
|
263 |
-
* Internal changes to filtering by one or more categories
|
264 |
-
|
265 |
-
= 1.6 =
|
266 |
-
* Changes default ordering by the start date, use orderby="enddate" for previous default ordering
|
267 |
-
|
268 |
-
= 1.5.3 =
|
269 |
-
* Fixes translation of the "View all events" link into other languages
|
270 |
-
* Adds orderby parameter to order by start date, but still show events until the end date has passed
|
271 |
-
|
272 |
-
= 1.5.2 =
|
273 |
-
* Adds 'next' option for showing the next month of events
|
274 |
-
|
275 |
-
= 1.5.1 =
|
276 |
-
* Adds thumbsize option (ie. medium, large, thumbnail, full)
|
277 |
-
|
278 |
-
= 1.5 =
|
279 |
-
* Adds ability to translate the plugin into local languages
|
280 |
-
* Additional description of options
|
281 |
-
|
282 |
-
= 1.4.2 =
|
283 |
-
* Additional filter for changing the link for an event
|
284 |
-
* Adds category CSS classes for each event, so you can format each category differently
|
285 |
-
|
286 |
-
= 1.4.1 =
|
287 |
-
* Additional filters for formatting a single event
|
288 |
-
|
289 |
-
= 1.4 =
|
290 |
-
* Checks for whether The Events Calendar is installed
|
291 |
-
* Additional filters
|
292 |
-
* Improved design of shortcode help page
|
293 |
-
|
294 |
-
= 1.3 =
|
295 |
-
* Fixes issue with "viewall" showing the events twice
|
296 |
-
* Fixes time zone issue by using current_time() instead of date()
|
297 |
-
* Hides events that are marked 'hide from listing'
|
298 |
-
* Switches to tribe_get_events() to get the events
|
299 |
-
* Removes the ... from the end of the excerpt if less than the excerpt length
|
300 |
-
* Adds date_thumb option
|
301 |
-
* Adds additional filters
|
302 |
-
|
303 |
-
= 1.2 =
|
304 |
-
* Updates author/description (Event Calendar Newsletter / Brian Hogg Consulting)
|
305 |
-
|
306 |
-
= 1.0.11 =
|
307 |
-
Add Link to Thumbnail
|
308 |
-
merge pull request from d4mation -Replaced extracted variables with $atts as using extract was deprecated
|
309 |
-
=1.0.10 =
|
310 |
-
Minor Error Change - fix name and slug
|
311 |
-
= 1.0.9 =
|
312 |
-
Minor Error Change - Multiple Categories
|
313 |
-
= 1.0.8 =
|
314 |
-
Add options : multi-categories - Thanks to sujin2f
|
315 |
-
= 1.0.7 =
|
316 |
-
Add options : contentorder, month, past, key - Thanks to sujin2f
|
317 |
-
= 1.0.6 =
|
318 |
-
Fix missing ul
|
319 |
-
= 1.0.5 =
|
320 |
-
* Add excerpt and thumbnail - Thanks to ankitpokhrel
|
321 |
-
= 1.0.2 =
|
322 |
-
* Add venue to shortcode - Thanks to ankitpokhrel
|
323 |
-
= 1.0.1 =
|
324 |
-
* Fix Firefox browser compatibility issue
|
325 |
-
= 1 =
|
326 |
-
* Initial Release
|
4 |
Requires at least: 4.1
|
5 |
Requires PHP: 5.3
|
6 |
Tested up to: 5.9
|
7 |
+
Stable tag: 2.5.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
180 |
|
181 |
== Upgrade Notice ==
|
182 |
|
183 |
+
= 2.5.2 =
|
184 |
+
* Initial workaround for styling issues for the block in the new full-site editor
|
185 |
+
|
186 |
= 2.5.1 =
|
187 |
* Fixes missing categories in the block if many categories available on the site
|
188 |
|
197 |
|
198 |
== Changelog ==
|
199 |
|
200 |
+
= 2.5.2 =
|
201 |
+
* Initial workaround for styling issues for the block in the new full-site editor
|
202 |
+
|
203 |
= 2.5.1 =
|
204 |
* Fixes missing categories in the block if many categories available on the site
|
205 |
|
233 |
|
234 |
= 2.0 =
|
235 |
* Adds a block in addition to the shortcode that can be used with the new WordPress editor (as of version 5.0) or Gutenberg plugin
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static/ecs-block.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.ecs-block-header{text-align:center}.ecs-block-header h3{margin:0}.ecs-block-edit{padding:10px 15px;font-family:sans-serif;font-size:18px}.ecs-block-edit h4{margin:0}.ecs-settings-row{display:flex;padding:18px 0;border-bottom:1px solid #e5e5e5}.ecs-settings-row.mobile{flex-direction:column}.ecs-settings-row.mobile>*{margin-bottom:8px}.ecs-settings-row.mobile .ecs-remove-col{align-self:center;margin-bottom:0}.ecs-settings-row>*{padding:0 10px}.ecs-settings-row .ecs-selector-col{flex:3;display:flex;align-items:center}.ecs-settings-row .ecs-setting-col{flex:4}.ecs-settings-row .ecs-remove-col{flex:1;display:flex;align-items:center;justify-content:flex-end}.ecs-setting-add{display:flex;padding:18px 0}.ecs-setting-add>.ecs-select{flex:3;padding:0 10px}.ecs-setting-add>.ecs-flex-fill{flex:5;padding:0 10px}.ecs-setting-add.mobile>.ecs-flex-fill{display:none}.ecs-setting-text-field{display:flex;flex-direction:column}.ecs-setting-text-field label{font-size:13px}.ecs-setting-help{line-height:1.1;font-size:16px;margin-top:10px}.ecs-key-value{display:flex}.ecs-key-value :first-child{margin-right:10px}.ecs-key-value>div{flex:1}.ecs-select{flex-grow:1}.ecs-select.multi .select__control{max-height:none}.ecs-select .select__control{max-height:30px;font-family:sans-serif;font-size:18px}.ecs-select .select__value-container{padding:0 8px}.ecs-select .select__menu{opacity:1;z-index:99999;margin-top:0;border-radius:0}.ecs-select .select__option{padding:1px 12px}.ecs-select .select__option--is-disabled.select__option--is-selected{display:none}.ecs-select .select__multi-value{background-color:#ebf5ff;background-color:rgba(0,126,255,.08);border-radius:2px;border:1px solid #c2e0ff;border:1px solid rgba(0,126,255,.24);color:#007eff;font-size:.9em;line-height:1.4;margin-left:5px;margin-top:5px;vertical-align:top}.ecs-settings-month{display:flex;flex-direction:column}.ecs-settings-month .ecs-setting-year-month{display:flex;align-items:center}.ecs-settings-month .ecs-setting-year-month .ecs-setting-text-field input{width:60px}.ecs-settings-month .ecs-setting-year-month .ecs-month-divider{width:10px;height:19px;margin:0 10px;border-bottom:1px solid #000}.ecs-settings-thumb{display:flex;flex-direction:column}.ecs-settings-thumb .ecs-settings-thumb-width-height{display:flex;align-items:center}.ecs-settings-thumb .ecs-settings-thumb-width-height .ecs-setting-text-field input{width:60px}.ecs-settings-thumb .ecs-settings-thumb-width-height .ecs-thumb-divider{width:10px;height:19px;margin:0 10px}.ecs-settings-thumb .ecs-settings-thumb-width-height .ecs-thumb-divider em{white-space:nowrap}.ecs-settings-thumb .ecs-setting-help,.ecs-settings-thumb .ecs-settings-thumb-size{margin-top:5px}
|
1 |
+
.ecs-select>span{display:none}.ecs-select .select__menu{border:1px solid #eaeaea;cursor:pointer}.ecs-select .select__menu .select__option.select__option--is-focused{background-color:#deebff;color:#000}.ecs-select .select__menu .select__menu-notice.select__menu-notice--no-options{padding:8px;text-align:center;color:grey}.ecs-select .ecs-select{position:relative;box-sizing:border-box}.ecs-select .select__control{align-items:center;background-color:#fff;border-radius:4px;border:1px solid #ccc;cursor:default;display:flex;flex-wrap:wrap;justify-content:space-between;min-height:38px;outline:0!important;position:relative;transition:all .1s;box-sizing:border-box}.ecs-select .select__control .select__value-container{align-items:center;display:flex;flex:1;flex-wrap:wrap;padding:2px 8px;-webkit-overflow-scrolling:touch;position:relative;overflow:hidden;box-sizing:border-box}.ecs-select .select__control .select__value-container .select__single-value{color:#333;margin-left:2px;margin-right:2px;max-width:calc(100% - 8px);overflow:hidden;position:absolute;text-overflow:ellipsis;white-space:nowrap;top:50%;transform:translateY(-50%);box-sizing:border-box}.ecs-select .select__control .select__value-container .select__placeholder{color:grey;margin-left:2px;margin-right:2px;position:absolute;top:50%;transform:translateY(-50%);box-sizing:border-box}.ecs-select .select__control .select__value-container .select__multi-value{background-color:#ebf5ff;border-radius:2px;display:flex;margin:2px;min-width:0;box-sizing:border-box}.ecs-select .select__control .select__value-container .select__multi-value .select__multi-value__label{border-radius:2px;color:#333;font-size:85%;overflow:hidden;padding:3px 3px 3px 6px;text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box}.ecs-select .select__control .select__value-container .select__multi-value .select__multi-value__remove{align-items:center;border-radius:2px;display:flex;padding-left:4px;padding-right:4px;box-sizing:border-box}.ecs-select .select__control .select__value-container .select__multi-value .select__multi-value__remove svg{display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0}.ecs-select .select__indicators{align-items:center;align-self:stretch;display:flex;flex-shrink:0;box-sizing:border-box}.ecs-select .select__indicators .select__indicator-separator{align-self:stretch;background-color:#ccc;margin-bottom:8px;margin-top:8px;width:1px;box-sizing:border-box}.ecs-select .select__indicators .select__indicator.select__clear-indicator{color:#ccc;display:flex;padding:8px;transition:color .15s;box-sizing:border-box}.ecs-select .select__indicators .select__indicator.select__clear-indicator svg{display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0}.ecs-select .select__indicators .select__indicator.select__dropdown-indicator{color:#ccc;display:flex;padding:8px;transition:color .15s;box-sizing:border-box}.ecs-select .select__indicators .select__indicator.select__dropdown-indicator svg{display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0}.ecs-block-header{text-align:center}.ecs-block-header h3{margin:0}.ecs-block-edit{padding:10px 15px;font-family:sans-serif;font-size:18px}.ecs-block-edit h4{margin:0}.ecs-settings-row{display:flex;padding:18px 0;border-bottom:1px solid #e5e5e5}.ecs-settings-row.mobile{flex-direction:column}.ecs-settings-row.mobile>*{margin-bottom:8px}.ecs-settings-row.mobile .ecs-remove-col{align-self:center;margin-bottom:0}.ecs-settings-row>*{padding:0 10px}.ecs-settings-row .ecs-selector-col{flex:3;display:flex;align-items:center}.ecs-settings-row .ecs-setting-col{flex:4}.ecs-settings-row .ecs-remove-col{flex:1;display:flex;align-items:center;justify-content:flex-end}.ecs-setting-add{display:flex;padding:18px 0}.ecs-setting-add>.ecs-select{flex:3;padding:0 10px}.ecs-setting-add>.ecs-flex-fill{flex:5;padding:0 10px}.ecs-setting-add.mobile>.ecs-flex-fill{display:none}.ecs-setting-text-field{display:flex;flex-direction:column}.ecs-setting-text-field label{font-size:13px}.ecs-setting-help{line-height:1.1;font-size:16px;margin-top:10px}.ecs-key-value{display:flex}.ecs-key-value :first-child{margin-right:10px}.ecs-key-value>div{flex:1}.ecs-select{flex-grow:1}.ecs-select.multi .select__control{max-height:none}.ecs-select .select__control{max-height:30px;font-family:sans-serif;font-size:18px}.ecs-select .select__control .select__value-container{padding:0 8px}.ecs-select .select__menu{opacity:1;z-index:99999;margin-top:0;border-radius:0}.ecs-select .select__option{padding:1px 12px}.ecs-select .select__option--is-disabled.select__option--is-selected{display:none}.ecs-select .select__multi-value{background-color:#ebf5ff;background-color:rgba(0,126,255,.08);border-radius:2px;border:1px solid #c2e0ff;border:1px solid rgba(0,126,255,.24);color:#007eff;font-size:.9em;line-height:1.4;margin-left:5px;margin-top:5px;vertical-align:top}.ecs-settings-month{display:flex;flex-direction:column}.ecs-settings-month .ecs-setting-year-month{display:flex;align-items:center}.ecs-settings-month .ecs-setting-year-month .ecs-setting-text-field input{width:60px}.ecs-settings-month .ecs-setting-year-month .ecs-month-divider{width:10px;height:19px;margin:0 10px;border-bottom:1px solid #000}.ecs-settings-thumb{display:flex;flex-direction:column}.ecs-settings-thumb .ecs-settings-thumb-width-height{display:flex;align-items:center}.ecs-settings-thumb .ecs-settings-thumb-width-height .ecs-setting-text-field input{width:60px}.ecs-settings-thumb .ecs-settings-thumb-width-height .ecs-thumb-divider{width:10px;height:19px;margin:0 10px}.ecs-settings-thumb .ecs-settings-thumb-width-height .ecs-thumb-divider em{white-space:nowrap}.ecs-settings-thumb .ecs-setting-help,.ecs-settings-thumb .ecs-settings-thumb-size{margin-top:5px}
|
the-events-calendar-shortcode.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: The Events Calendar Shortcode & Block
|
4 |
Plugin URI: https://eventcalendarnewsletter.com/the-events-calendar-shortcode/
|
5 |
Description: An addon to add shortcode and new editor block functionality for The Events Calendar Plugin by Modern Tribe.
|
6 |
-
Version: 2.5.
|
7 |
Author: Event Calendar Newsletter
|
8 |
Author URI: https://eventcalendarnewsletter.com/the-events-calendar-shortcode
|
9 |
Contributors: brianhogg
|
@@ -56,7 +56,7 @@ class Events_Calendar_Shortcode
|
|
56 |
*
|
57 |
* @since 1.0.0
|
58 |
*/
|
59 |
-
const VERSION = '2.5.
|
60 |
|
61 |
private $admin_page = null;
|
62 |
|
3 |
Plugin Name: The Events Calendar Shortcode & Block
|
4 |
Plugin URI: https://eventcalendarnewsletter.com/the-events-calendar-shortcode/
|
5 |
Description: An addon to add shortcode and new editor block functionality for The Events Calendar Plugin by Modern Tribe.
|
6 |
+
Version: 2.5.2
|
7 |
Author: Event Calendar Newsletter
|
8 |
Author URI: https://eventcalendarnewsletter.com/the-events-calendar-shortcode
|
9 |
Contributors: brianhogg
|
56 |
*
|
57 |
* @since 1.0.0
|
58 |
*/
|
59 |
+
const VERSION = '2.5.2';
|
60 |
|
61 |
private $admin_page = null;
|
62 |
|