Event Calendar WD – Responsive Event Calendar plugin - Version 1.1.24

Version Description

  • New: Integration with 10Web Builder plugin
  • New: Separate section for 10Web Plugins
  • Fixed: PHP 5.3 compatibility issue
Download this release

Release Info

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

Code changes from version 1.1.23 to 1.1.24

changelog.txt CHANGED
@@ -1,3 +1,8 @@
 
 
 
 
 
1
  = 1.1.23 =
2
  * Fixed: Gutenberg compatibility issue
3
 
1
+ = 1.1.24 =
2
+ * New: Integration with 10web Builder
3
+ * New: Separate section for 10Web Plugins
4
+ * Fixed: PHP 5.3 compatibility
5
+
6
  = 1.1.23 =
7
  * Fixed: Gutenberg compatibility issue
8
 
css/elementor_style.css ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @font-face {
2
+ font-family: 'twbb-icons';
3
+ src: url('fonts/twbb-icons.eot');
4
+ src: url('fonts/twbb-icons.eot') format('embedded-opentype'),
5
+ url('fonts/twbb-icons.ttf') format('truetype'),
6
+ url('fonts/twbb-icons.woff') format('woff'),
7
+ url('fonts/twbb-icons.svg') format('svg');
8
+ font-weight: normal;
9
+ font-style: normal;
10
+ }
11
+
12
+ .twbb-widget-icon {
13
+ /* use !important to prevent issues with browser extensions that change fonts */
14
+ font-family: 'twbb-icons' !important;
15
+ speak: none;
16
+ font-style: normal;
17
+ font-weight: normal;
18
+ font-variant: normal;
19
+ text-transform: none;
20
+ line-height: 1;
21
+ /* Better Font Rendering =========== */
22
+ -webkit-font-smoothing: antialiased;
23
+ -moz-osx-font-smoothing: grayscale;
24
+ }
25
+
26
+ .twbb-widget-icon:before {
27
+ color: #556068;
28
+ }
29
+
30
+ .elementor-element:hover .twbb-widget-icon:before {
31
+ color: #d30c5c;
32
+ }
33
+
34
+ /*ICONS*/
35
+ .twbb-photo-gallery.twbb-widget-icon:before {
36
+ content: "\e906";
37
+ color: #556068;
38
+ }
39
+ .twbb-slider-wd.twbb-widget-icon:before {
40
+ content: "\e907";
41
+ color: #556068;
42
+ }
43
+ .twbb-form-maker.twbb-widget-icon:before {
44
+ content: "\e908";
45
+ color: #556068;
46
+ }
47
+ .twbb-google-maps.twbb-widget-icon:before {
48
+ content: "\e906";
49
+ color: #556068;
50
+ }
css/fonts/twbb-icon.svg ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata>Generated by IcoMoon</metadata>
5
+ <defs>
6
+ <font id="twbb-icons" horiz-adv-x="1024">
7
+ <font-face units-per-em="1024" ascent="960" descent="-64" />
8
+ <missing-glyph horiz-adv-x="1024" />
9
+ <glyph unicode="&#x20;" horiz-adv-x="512" d="" />
10
+ <glyph unicode="&#xe900;" glyph-name="share-buttons" horiz-adv-x="663" d="M420.793 222.473c-7.286 3.871-15.914 6.184-25.074 6.285h-0.032c-15.75-1.033-29.684-8.054-39.692-18.785l-0.032-0.035-50.176 29.272c3.967 7.634 6.293 16.668 6.293 26.245 0 0.332-0.003 0.663-0.008 0.994l0.001-0.050c-0.199 8.291-1.709 16.165-4.33 23.512l0.163-0.525 50.176 29.272c9.006-11.070 22.431-18.245 37.547-18.818l0.094-0.003c9.191 0.104 17.819 2.417 25.409 6.431l-0.303-0.146c10.769 6.738 18.873 16.877 22.877 28.89l0.11 0.382c1.319 4.179 2.078 8.986 2.078 13.969 0 8.704-2.317 16.866-6.368 23.904l0.124-0.233c-8.559 14.651-23.969 24.485-41.722 25.103l-0.086 0.002c-9.191-0.099-17.82-2.413-25.408-6.431l0.302 0.146c-10.771-6.736-18.876-16.876-22.877-28.891l-0.11-0.382c-0.933-3.708-1.468-7.965-1.468-12.347 0-6.838 1.304-13.371 3.676-19.365l-0.124 0.356-50.176-29.272c-11.552 16.494-30.468 27.145-51.872 27.145-34.716 0-62.888-28.021-63.133-62.679v-0.023c0.864-34.301 28.445-61.883 62.665-62.745l0.081-0.002c20.353 0.442 38.361 10.106 50.070 24.966l0.106 0.139 52.259-29.272c-2.081-5.29-3.287-11.416-3.287-17.824 0-18.073 9.596-33.906 23.971-42.679l0.22-0.125c7.285-3.872 15.914-6.186 25.074-6.285h0.031c18.32 1.091 34.186 10.709 43.798 24.906l0.128 0.2c2.599 5.983 4.111 12.952 4.111 20.275 0 18.78-9.947 35.237-24.859 44.39l-0.227 0.129zM362.249 358.382c2.498 9.148 8.557 16.567 16.557 20.816l0.18 0.087c4.899 2.247 10.593 3.739 16.582 4.158l0.155 0.009c0.139 0.002 0.304 0.003 0.469 0.003 12.875 0 24.208-6.6 30.801-16.602l0.086-0.138c3.139-5.567 4.988-12.222 4.988-19.309 0-2.789-0.286-5.511-0.831-8.138l0.045 0.258c-2.493-9.15-8.554-16.571-16.557-20.817l-0.18-0.087c-5.137-3.229-11.382-5.145-18.075-5.145-12.847 0-24.045 7.058-29.928 17.508l-0.089 0.172c-3.896 4.559-6.267 10.524-6.267 17.043 0 3.689 0.759 7.201 2.131 10.388l-0.065-0.171zM247.243 216.188c-27.711 0-50.176 22.465-50.176 50.176s22.465 50.176 50.176 50.176c27.711 0 50.176-22.465 50.176-50.176v0c-0.411-27.537-22.636-49.749-50.139-50.14h-0.037zM427.079 161.81c-5.972-10.622-17.171-17.68-30.017-17.68-6.693 0-12.939 1.916-18.218 5.229l0.143-0.084c-10.538 6.1-17.514 17.321-17.514 30.171 0 6.62 1.852 12.808 5.065 18.074l-0.087-0.153c6.678 10.14 18.012 16.74 30.887 16.74 0.165 0 0.33-0.001 0.494-0.003h-0.025c0.104 0.001 0.228 0.002 0.351 0.002 18.858 0 34.145-15.287 34.145-34.145 0-6.729-1.946-13.003-5.307-18.29l0.082 0.139zM496.040 960h-496.040v-1024h662.599v836.22zM499.571 928.221l131.107-155.895h-131.072zM646.638-42.814h-628.983v985.159h460.694v-187.78h159.462l5.332-797.237zM46.045 758.060h325.985v-21.257h-325.985v21.257zM46.045 843.087h191.347v-21.257h-191.347v21.257zM46.045 683.626h435.836v-21.257h-435.836v21.257zM46.045 612.793h566.908v-21.257h-566.908v21.257zM46.045 474.589v-418.11h566.908v418.11zM591.695 453.402v-375.596h-524.465v375.596z" />
11
+ <glyph unicode="&#xe901;" glyph-name="pricing-table" horiz-adv-x="1439" d="M1439.214 175.298v0 721.355h-457.587v63.347h-524.182v-66.842h-457.446v-890.315h457.446v-66.842h524.182v66.842h457.587zM28.142 175.298h429.303v-147.809h-429.197zM1414.603 200.015h-432.975v668.495h429.444v-668.601zM482.092 935.283h475.065v-756.489h-475.065v756.489zM457.375 199.839h-429.127v668.672h429.197v-668.601zM482.092 2.772v0 151.411h475.065v-193.465h-475.065zM981.628 175.298h429.444v-147.809h-429.444zM70.374 769.995h337.814v-21.116h-337.814v21.116zM87.993 678.471h302.61v-21.116h-302.61v21.116zM133.72 590.513h211.121v-21.116h-211.121v21.116zM1027.531 769.995h337.814v-21.116h-337.814v21.116zM1045.116 678.471h302.61v-21.116h-302.61v21.116zM1090.878 590.513h211.121v-21.116h-211.121v21.116zM548.935 850.926h337.814v-21.116h-337.814v21.116zM566.554 759.437h302.61v-21.116h-302.61v21.116zM612.281 674.975h211.121v-21.116h-211.121v21.116zM1104.967 122.509h182.978v-45.762h-182.978v45.762zM147.809 122.509h182.978v-45.762h-182.978v45.762zM626.37 69.72h182.978v-45.762h-182.978v45.762zM711.362 382.146c1.126-0.11 2.433-0.173 3.756-0.173 7.739 0 14.975 2.152 21.143 5.89l-0.182-0.102c4.305 3.206 7.063 8.281 7.063 14 0 0.044 0 0.087 0 0.13v-0.007c0.005 0.17 0.008 0.369 0.008 0.569 0 3.871-1.149 7.474-3.125 10.485l0.045-0.073c-2.221 3.186-4.958 5.844-8.115 7.911l-0.112 0.069c-3.405 2.27-7.31 4.343-11.419 6.019l-0.446 0.161q-6.744 2.754-13.806 5.261t-13.594 5.614c-4.586 2.096-8.538 4.623-12.082 7.619l0.076-0.063c-3.471 2.929-6.341 6.441-8.487 10.404l-0.094 0.189c-2.104 4.202-3.336 9.155-3.336 14.396 0 0.364 0.006 0.726 0.018 1.088l-0.001-0.053c-0.018 0.43-0.028 0.935-0.028 1.442 0 9.712 3.699 18.56 9.765 25.212l-0.027-0.030c7.375 7.25 17.167 12.062 28.058 13.12l0.19 0.015v26.271h18.962v-25.6c6.794-0.274 13.226-1.173 19.437-2.644l-0.687 0.137c5.548-1.249 10.131-2.585 14.602-4.161l-0.901 0.277-4.343-17.655q-5.473 2.048-13.7 4.237c-5.638 1.381-12.111 2.173-18.769 2.173-0.627 0-1.252-0.007-1.875-0.021l0.093 0.002c-0.678 0.045-1.47 0.071-2.267 0.071-6.999 0-13.534-1.985-19.073-5.422l0.155 0.089c-4.513-3.129-7.432-8.283-7.432-14.118 0-0.263 0.006-0.525 0.018-0.785l-0.001 0.037c-0.006-0.166-0.009-0.362-0.009-0.558 0-3.062 0.802-5.937 2.207-8.426l-0.044 0.086c1.635-2.617 3.738-4.786 6.209-6.449l0.076-0.048c2.797-1.93 5.994-3.66 9.373-5.034l0.337-0.121q5.614-2.295 12.465-4.802 8.898-3.531 16.914-7.062c5.396-2.429 10.047-5.372 14.218-8.869l-0.094 0.076c3.959-3.364 7.214-7.42 9.606-11.997l0.105-0.22c2.243-4.63 3.554-10.070 3.554-15.817 0-0.46-0.008-0.919-0.025-1.375l0.002 0.066c0.022-0.473 0.035-1.027 0.035-1.584 0-9.54-3.753-18.204-9.864-24.595l0.013 0.013c-8.107-7.183-18.642-11.791-30.233-12.458l-0.134-0.006v-29.484h-18.962v28.778c-9.285 0.037-18.254 1.324-26.768 3.7l0.709-0.169c-5.813 1.654-10.817 3.638-15.566 6.051l0.488-0.225 5.72 17.126c4.552-2.129 10.018-4.152 15.666-5.742l0.789-0.19c6.458-1.7 13.872-2.676 21.514-2.676 0.779 0 1.555 0.010 2.329 0.030l-0.114-0.002zM233.225 346.165c0.881-0.087 1.905-0.136 2.941-0.136 6.005 0 11.62 1.665 16.41 4.559l-0.142-0.080c3.358 2.497 5.51 6.453 5.51 10.912 0 0.074-0.001 0.148-0.002 0.222v-0.011c0.004 0.126 0.006 0.275 0.006 0.425 0 3.020-0.898 5.829-2.442 8.177l0.035-0.056c-1.726 2.48-3.851 4.549-6.304 6.161l-0.087 0.054c-2.655 1.765-5.7 3.377-8.904 4.677l-0.348 0.125q-5.261 2.119-10.593 4.096t-10.593 4.343c-3.575 1.625-6.655 3.586-9.418 5.912l0.061-0.050c-2.709 2.313-4.944 5.088-6.6 8.217l-0.073 0.152c-1.634 3.269-2.59 7.121-2.59 11.197 0 0.284 0.005 0.568 0.014 0.85l-0.001-0.041c-0.014 0.333-0.021 0.723-0.021 1.116 0 7.562 2.878 14.452 7.599 19.635l-0.021-0.023c5.735 5.641 13.346 9.391 21.813 10.228l0.15 0.012v20.48h14.76v-19.915c5.283-0.211 10.286-0.908 15.118-2.049l-0.535 0.106c4.297-0.982 7.839-2.026 11.294-3.254l-0.701 0.217-3.531-13.877q-4.273 1.589-10.593 3.284c-4.412 1.086-9.478 1.709-14.689 1.709-0.472 0-0.942-0.005-1.412-0.015l0.070 0.001c-0.514 0.033-1.114 0.052-1.718 0.052-5.451 0-10.541-1.544-14.857-4.218l0.121 0.070c-3.524-2.438-5.803-6.458-5.803-11.011 0-0.201 0.004-0.401 0.013-0.599l-0.001 0.028c-0.007-0.157-0.010-0.34-0.010-0.525 0-2.401 0.632-4.655 1.74-6.603l-0.035 0.066c1.275-2.049 2.917-3.747 4.849-5.047l0.059-0.037c2.176-1.493 4.664-2.833 7.293-3.896l0.263-0.094q4.343-1.766 9.71-3.743 7.062-2.684 13.171-5.508c4.182-1.896 7.786-4.188 11.017-6.909l-0.071 0.058c3.082-2.625 5.616-5.79 7.475-9.362l0.081-0.172c1.812-3.664 2.871-7.978 2.871-12.539 0-0.284-0.004-0.567-0.012-0.85l0.001 0.041c0.017-0.362 0.027-0.787 0.027-1.213 0-7.438-2.93-14.192-7.698-19.171l0.009 0.010c-6.315-5.597-14.523-9.187-23.554-9.706l-0.104-0.005v-22.952h-14.76v22.422c-7.235 0.030-14.222 1.033-20.856 2.886l0.552-0.132c-4.521 1.333-8.408 2.918-12.093 4.836l0.37-0.175 4.449 13.347c3.546-1.66 7.804-3.237 12.203-4.478l0.615-0.148c5.053-1.336 10.853-2.104 16.833-2.104 0.587 0 1.173 0.007 1.756 0.022l-0.086-0.002zM1197.374 346.165c0.881-0.087 1.905-0.136 2.941-0.136 6.005 0 11.62 1.665 16.41 4.559l-0.142-0.080c3.358 2.497 5.51 6.453 5.51 10.912 0 0.074-0.001 0.148-0.002 0.222v-0.011c0.004 0.126 0.006 0.275 0.006 0.425 0 3.020-0.898 5.829-2.442 8.177l0.035-0.056c-1.726 2.48-3.851 4.549-6.304 6.161l-0.087 0.054c-2.655 1.765-5.7 3.377-8.904 4.677l-0.348 0.125q-5.261 2.119-10.593 4.096t-10.593 4.343c-3.575 1.625-6.655 3.586-9.418 5.912l0.061-0.050c-2.709 2.313-4.944 5.088-6.6 8.217l-0.073 0.152c-1.634 3.269-2.59 7.121-2.59 11.197 0 0.284 0.005 0.568 0.014 0.85l-0.001-0.041c-0.014 0.333-0.021 0.723-0.021 1.116 0 7.562 2.878 14.452 7.599 19.635l-0.021-0.023c5.735 5.641 13.346 9.391 21.813 10.228l0.15 0.012v20.48h14.76v-19.915c5.283-0.211 10.286-0.908 15.118-2.049l-0.535 0.106c4.297-0.982 7.839-2.026 11.294-3.254l-0.701 0.217-3.531-13.877q-4.273 1.589-10.593 3.284c-4.412 1.086-9.478 1.709-14.689 1.709-0.472 0-0.942-0.005-1.412-0.015l0.070 0.001c-0.514 0.033-1.114 0.052-1.718 0.052-5.451 0-10.541-1.544-14.857-4.218l0.121 0.070c-3.524-2.438-5.803-6.458-5.803-11.011 0-0.201 0.004-0.401 0.013-0.599l-0.001 0.028c-0.007-0.157-0.010-0.34-0.010-0.525 0-2.401 0.632-4.655 1.74-6.603l-0.035 0.066c1.275-2.049 2.917-3.747 4.849-5.047l0.059-0.037c2.176-1.493 4.664-2.833 7.293-3.896l0.263-0.094q4.343-1.766 9.71-3.743 7.062-2.684 13.171-5.508c4.182-1.896 7.786-4.188 11.017-6.909l-0.071 0.058c3.082-2.625 5.616-5.79 7.475-9.362l0.081-0.172c1.812-3.664 2.871-7.978 2.871-12.539 0-0.284-0.004-0.567-0.012-0.85l0.001 0.041c0.017-0.362 0.027-0.787 0.027-1.213 0-7.438-2.93-14.192-7.698-19.171l0.009 0.010c-6.315-5.597-14.523-9.187-23.554-9.706l-0.104-0.005v-22.952h-14.76v22.422c-7.235 0.030-14.222 1.033-20.856 2.886l0.552-0.132c-4.521 1.333-8.408 2.918-12.093 4.836l0.37-0.175 4.449 13.347c3.546-1.66 7.804-3.237 12.203-4.478l0.615-0.148c5.053-1.336 10.853-2.104 16.833-2.104 0.587 0 1.173 0.007 1.756 0.022l-0.086-0.002z" />
12
+ <glyph unicode="&#xe902;" glyph-name="posts" horiz-adv-x="670" d="M496.040 573.775h173.621v-46.045h-173.621v46.045zM248.020 605.661h226.763v-21.257h-226.763v21.257zM248.020 665.9h421.641v-21.257h-421.641v21.257zM248.020 548.988h226.763v-21.257h-226.763v21.257zM3.531 662.369v0l-3.531-138.169h152.364v138.169zM24.717 545.457v95.726h109.85v-95.656zM496.040 867.875h173.621v-46.045h-173.621v46.045zM248.020 903.292h226.763v-21.257h-226.763v21.257zM248.020 960h421.641v-21.257h-421.641v21.257zM248.020 843.087h226.763v-21.257h-226.763v21.257zM3.531 818.264h152.364v141.736h-152.364zM134.638 938.743v-95.656h-109.921v95.726zM496.040 279.711h173.621v-46.045h-173.621v46.045zM248.020 311.596h226.763v-21.257h-226.763v21.257zM248.020 371.836h421.641v-21.257h-421.641v21.257zM248.020 254.888h226.763v-21.257h-226.763v21.257zM3.531 368.269v0l-3.531-138.169h152.364v138.169zM24.717 251.357v95.726h109.85v-95.656zM496.040-14.389h173.621v-46.045h-173.621v46.045zM248.020 17.496h226.763v-21.257h-226.763v21.257zM248.020 77.736h421.641v-21.257h-421.641v21.257zM248.020-39.212h226.763v-21.257h-226.763v21.257zM3.531 74.169v0l-3.531-138.169h152.364v138.169zM24.717-42.743v95.726h109.85v-95.656z" />
13
+ <glyph unicode="&#xe903;" glyph-name="flip-box" horiz-adv-x="663" d="M499.606 960h-499.606v-1024h662.599v832.653zM637.775 750.963v-790.246h-620.12v978.097h460.694v-187.851zM499.606 772.149v156.072l131.107-155.895zM347.242 414.349h53.142v-17.726h-53.142v17.726zM449.995 414.349h53.142v-17.726h-53.142v17.726zM152.364 414.349h53.142v-17.726h-53.142v17.726zM109.85 414.349h17.726v-17.726h-17.726v17.726zM527.96 414.349h21.257v-17.726h-21.257v17.726zM248.020 414.349h53.142v-17.726h-53.142v17.726zM325.985 354.11l-223.232-205.506-3.531-3.531h457.092l-230.294 209.037zM155.895 169.86l170.090 155.895 170.090-155.895zM106.284 658.838l219.666-201.975 205.506 187.78 21.186 21.186-446.358-6.991zM325.95 485.217l-170.055 155.966h340.145z" />
14
+ <glyph unicode="&#xe904;" glyph-name="countdown" horiz-adv-x="3050" d="M1491.957 558.108h60.559v-44.043h-60.559v44.043zM1491.957 381.935h60.559v-44.043h-60.559v44.043zM44.043 514.065h44.043v-132.129h-44.043v132.129zM589.075 514.065h44.043v-132.129h-44.043v132.129zM765.247 514.065h44.043v-132.129h-44.043v132.129zM1310.28 514.065h44.043v-132.129h-44.043v132.129zM1690.151 514.065h44.043v-132.129h-44.043v132.129zM2235.183 514.065h44.043v-132.129h-44.043v132.129zM2416.86 514.065h44.043v-132.129h-44.043v132.129zM2961.892 514.065h44.043v-132.129h-44.043v132.129zM649.634-41.978h-627.613v467.957h-22.022v-489.978h666.151v489.978h-16.516v-467.957zM22.022 937.978h627.613v-467.957h22.022v489.978h-666.151v-489.978h16.516v467.957zM1370.839-41.978h-627.613v467.957h-16.516v-489.978h666.151v489.978h-22.022zM743.226 937.978h627.613v-467.957h22.022v489.978h-666.151v-489.978h16.516v467.957zM2301.247-41.978h-627.613v467.957h-16.516v-489.978h666.151v489.978h-22.022zM1679.14 937.978h627.613v-467.957h22.022v489.978h-666.151v-489.978h16.516v467.957zM2400.344 937.978h627.613v-467.957h22.022v489.978h-666.151v-489.978h16.516v467.957zM3022.452-41.978h-627.613v467.957h-16.516v-489.978h666.151v489.978h-22.022zM22.022 470.022h627.613v-44.043h-627.613v44.043zM2400.344 470.022h627.613v-44.043h-627.613v44.043zM743.226 470.022h627.613v-44.043h-627.613v44.043zM1679.14 470.022h627.613v-44.043h-627.613v44.043zM924.903 492.043c-0.903 9.645-1.419 20.856-1.419 32.188 0 56.273 12.704 109.579 35.399 157.206l-0.949-2.211c16.626 36.298 52.639 61.059 94.435 61.059 3.581 0 7.119-0.182 10.606-0.536l-0.438 0.036c0.446 0.006 0.973 0.010 1.501 0.010 44.086 0 82.528-24.17 102.796-59.981l0.306-0.587c20.922-55.080 33.036-118.767 33.036-185.284 0-0.668-0.001-1.335-0.004-2.002v0.103h71.57c0.346 6.26 0.543 13.586 0.543 20.959 0 75.481-20.656 146.138-56.623 206.626l1.026-1.864c-29.245 49.918-82.62 82.91-143.701 82.91-3.676 0-7.325-0.12-10.942-0.355l0.492 0.026c-3.083 0.197-6.684 0.309-10.312 0.309-59.827 0-112.535-30.479-143.444-76.757l-0.394-0.627c-31.822-58.531-50.531-128.172-50.531-202.183 0-10.219 0.357-20.355 1.058-30.396l-0.076 1.353zM1194.667 409.462c0.002-0.481 0.003-1.050 0.003-1.619 0-59.052-12.149-115.267-34.083-166.282l1.048 2.74c-20.108-36.861-58.583-61.451-102.802-61.451-18.694 0-36.361 4.395-52.025 12.208l0.676-0.305c-21.657 10.759-38.789 27.892-49.266 48.921l-0.283 0.627c-20.897 49.982-33.035 108.057-33.035 168.968 0 0.597 0.001 1.194 0.003 1.791v-0.092h-71.57c-0.044-2.213-0.070-4.822-0.070-7.436 0-74.42 20.486-144.055 56.126-203.574l-1.002 1.806c35.526-50.865 93.79-83.723 159.729-83.723 41.129 0 79.273 12.784 110.674 34.595l-0.64-0.42c17.427 11.986 32.056 26.616 43.676 43.479l0.367 0.564c31.354 56.135 49.816 123.159 49.816 194.495 0 5.173-0.097 10.323-0.29 15.449l0.022-0.74h-77.075zM1849.806 492.043c-0.903 9.645-1.419 20.856-1.419 32.188 0 56.273 12.704 109.579 35.399 157.206l-0.949-2.211c16.626 36.298 52.639 61.059 94.435 61.059 3.581 0 7.119-0.182 10.606-0.536l-0.438 0.036c0.446 0.006 0.973 0.010 1.501 0.010 44.086 0 82.528-24.17 102.796-59.981l0.306-0.587c20.922-55.080 33.036-118.767 33.036-185.284 0-0.668-0.001-1.335-0.004-2.002v0.103h71.57c0.346 6.26 0.543 13.586 0.543 20.959 0 75.481-20.656 146.138-56.623 206.626l1.026-1.864c-29.245 49.918-82.62 82.91-143.701 82.91-3.676 0-7.325-0.12-10.942-0.355l0.492 0.026c-3.083 0.197-6.684 0.309-10.312 0.309-59.827 0-112.535-30.479-143.444-76.757l-0.394-0.627c-31.822-58.531-50.531-128.172-50.531-202.183 0-10.219 0.357-20.355 1.058-30.396l-0.076 1.353zM2119.57 409.462c0.002-0.481 0.003-1.050 0.003-1.619 0-59.052-12.149-115.267-34.083-166.282l1.048 2.74c-20.108-36.861-58.583-61.451-102.802-61.451-18.694 0-36.361 4.395-52.025 12.208l0.676-0.305c-21.657 10.759-38.789 27.892-49.266 48.921l-0.283 0.627c-20.897 49.982-33.035 108.057-33.035 168.968 0 0.597 0.001 1.194 0.003 1.791v-0.092h-71.57c-0.044-2.213-0.070-4.822-0.070-7.436 0-74.42 20.486-144.055 56.126-203.574l-1.002 1.806c35.526-50.865 93.79-83.723 159.729-83.723 41.129 0 79.273 12.784 110.674 34.595l-0.64-0.42c17.427 11.986 32.056 26.616 43.676 43.479l0.367 0.564c31.354 56.135 49.816 123.159 49.816 194.495 0 5.173-0.097 10.323-0.29 15.449l0.022-0.74h-77.075zM2576.516 492.043c-0.903 9.645-1.419 20.856-1.419 32.188 0 56.273 12.704 109.579 35.399 157.206l-0.949-2.211c16.626 36.298 52.639 61.059 94.435 61.059 3.581 0 7.119-0.182 10.606-0.536l-0.438 0.036c0.446 0.006 0.973 0.010 1.501 0.010 44.086 0 82.528-24.17 102.796-59.981l0.306-0.587c20.922-55.080 33.036-118.767 33.036-185.284 0-0.668-0.001-1.335-0.004-2.002v0.103h71.57c0.346 6.26 0.543 13.586 0.543 20.959 0 75.481-20.656 146.138-56.623 206.626l1.026-1.864c-29.245 49.918-82.62 82.91-143.701 82.91-3.676 0-7.325-0.12-10.942-0.355l0.492 0.026c-3.083 0.197-6.684 0.309-10.312 0.309-59.827 0-112.535-30.479-143.444-76.757l-0.394-0.627c-31.822-58.531-50.531-128.172-50.531-202.183 0-10.219 0.357-20.355 1.058-30.396l-0.076 1.353zM2846.28 409.462c0.002-0.481 0.003-1.050 0.003-1.619 0-59.052-12.149-115.267-34.083-166.282l1.048 2.74c-20.108-36.861-58.583-61.451-102.802-61.451-18.694 0-36.361 4.395-52.025 12.208l0.676-0.305c-21.657 10.759-38.789 27.892-49.266 48.921l-0.283 0.627c-20.897 49.982-33.035 108.057-33.035 168.968 0 0.597 0.001 1.194 0.003 1.791v-0.092h-71.57c-0.044-2.213-0.070-4.822-0.070-7.436 0-74.42 20.486-144.055 56.126-203.574l-1.002 1.806c35.526-50.865 93.79-83.723 159.729-83.723 41.129 0 79.273 12.784 110.674 34.595l-0.64-0.42c17.427 11.986 32.056 26.616 43.676 43.479l0.367 0.564c31.354 56.135 49.816 123.159 49.816 194.495 0 5.173-0.097 10.323-0.29 15.449l0.022-0.74h-77.075zM313.806 409.462h71.57v-291.785h-71.57v291.785zM297.29 706.753c5.505 5.505 16.516 11.011 22.022 16.516 0-33.032-5.505-71.57-5.505-104.602v-132.129h71.57v313.806h-60.559l-165.161-126.624 38.538-49.548c29.979 29.099 62.32 56.2 96.552 80.838l2.545 1.743z" />
15
+ <glyph unicode="&#xe905;" glyph-name="call-to-action" horiz-adv-x="665" d="M0 960v-1024h665.070v1024zM21.186-39.283v974.566h619.343v-974.566h-619.343zM112.605 643.302h429.303v-21.116h-429.303v21.116zM112.605 544.786h429.303v-21.116h-429.303v21.116zM112.605 432.181h429.303v-21.116h-429.303v21.116zM214.652 769.995h232.236v-21.116h-232.236v21.116zM239.298 168.271h175.951v-45.762h-175.951v45.762zM555.502 100.97l-209.178 109.003 61.864-226.834 38.276 61.864 47.139-58.933 41.242 32.415-47.139 58.933zM511.294 21.416l-17.655-14.724-52.966 64.794-29.449-50.070-41.242 159.073 147.315-76.588-55.967-17.655zM369.876 180.524l147.279-76.588-55.967-17.655 50.070-64.83-17.655-14.724-50.070 64.794-32.38-50.070z" />
16
+ <glyph unicode="&#xe906;" glyph-name="photo-gallery" horiz-adv-x="1209" d="M120.139 1.925c-0.597-0.011-1.301-0.017-2.007-0.017-65.153 0-117.97 52.817-117.97 117.97 0 1.264 0.020 2.524 0.059 3.779l-0.005-0.183v484.080c-0.13 2.562-0.204 5.564-0.204 8.583 0 91.281 67.543 166.787 155.377 179.266l0.963 0.112 4.879 0.976c4.494 0.581 8.573 1.762 12.363 3.472l-0.274-0.11c0.564 1.459 0.891 3.148 0.891 4.913 0 0.677-0.048 1.342-0.141 1.993l0.009-0.075c-0.083 0.834-0.13 1.802-0.13 2.781 0 7.761 2.976 14.826 7.848 20.118l-0.019-0.021c6.765 5.9 15.672 9.498 25.419 9.498 1.934 0 3.836-0.142 5.694-0.415l-0.211 0.025h126.59c2.184 0.32 4.706 0.503 7.271 0.503 12.394 0 23.79-4.274 32.793-11.429l-0.108 0.083c7.257-7.803 11.711-18.299 11.711-29.834 0-0.051 0-0.103 0-0.154v0.008c3.376-0.834 7.252-1.312 11.239-1.312 10.56 0 20.337 3.355 28.323 9.057l-0.148-0.101c20.039 25.414 39.526 53.938 57.042 83.76l1.944 3.58c21.248 40.183 62.778 67.098 110.594 67.098 2.786 0 5.55-0.091 8.291-0.271l-0.372 0.020c108.429-0.867 224.773-0.922 336.454 0 2.578 0.201 5.584 0.315 8.615 0.315 46.146 0 86.101-26.507 105.468-65.126l0.309-0.68c13.228-27.107 33.288-66.738 52.967-105.718 35.619-70.479 52.967-104.959 59.636-122.85v-0.325c6.126-16.264 3.036-18.812-3.036-23.15-2.668-1.9-5.994-3.037-9.586-3.037-4.599 0-8.762 1.865-11.775 4.881v0c-0.457 0.493-0.901 1.023-1.318 1.575l-0.038 0.052c-87.298 113.335-223.049 185.641-375.687 185.641-108.035 0-207.61-36.222-287.242-97.184l1.135 0.834q-17.728-13.499-34.101-28.625c-161.017-155.975-212.412-446.401 9.921-676.757 2.812-2.919 4.544-6.896 4.544-11.277 0-8.979-7.276-16.259-16.254-16.264h-0.001zM206.882 806.302c0.027-0.552 0.043-1.198 0.043-1.848 0-21.823-17.52-39.555-39.262-39.897h-0.032l-5.421-1.030c-73.56-10.028-129.64-72.444-129.64-147.958 0-2.553 0.064-5.091 0.191-7.612l-0.014 0.354v-484.893c-0.053-1.124-0.083-2.441-0.083-3.765 0-47.098 38.181-85.279 85.279-85.279 0.716 0 1.429 0.009 2.14 0.026l-0.105-0.002h291.022c-82.729 88.69-133.517 208.111-133.517 339.394 0 139.474 57.322 265.559 149.693 355.982l0.088 0.086c11.981 10.843 24.071 21.252 36.757 30.848 83.952 64.372 190.475 103.155 306.055 103.155 125.606 0 240.514-45.802 328.933-121.615l-0.681 0.57-15.505 30.74c-19.68 39.089-39.793 78.936-52.967 105.772-14.17 28.685-43.222 48.067-76.8 48.067-2.297 0-4.573-0.091-6.825-0.269l0.297 0.019h-1.898c-111.953-1.084-228.784-1.084-337.864 0-1.63 0.1-3.535 0.157-5.453 0.157-35.95 0-67.221-20.029-83.265-49.537l-0.248-0.498c-20.363-35.081-40.784-65.041-63.1-93.442l1.296 1.711c-13.752-13.38-32.554-21.63-53.283-21.63-7.734 0-15.2 1.149-22.237 3.285l0.541-0.141c-12.154 2.439-21.362 12.494-22.491 24.884l-0.008 0.109c0.109 0.828 0.172 1.786 0.172 2.758 0 3.619-0.865 7.035-2.399 10.054l0.058-0.126c-3.693 1.137-7.939 1.792-12.338 1.792-1.536 0-3.053-0.080-4.547-0.235l0.187 0.016h-124.097c-3.578 0-6.723 0-8.945 0zM771.253-64h-4.283c-239.762 1.124-433.692 195.748-433.692 435.666 0 240.614 195.056 435.671 435.671 435.671 0.696 0 1.391-0.002 2.086-0.005h3.037c169.409-0.715 315.772-98.666 386.23-240.897l1.131-2.525c1.046-2.089 1.659-4.551 1.659-7.156 0-8.983-7.282-16.264-16.264-16.264-0.011 0-0.023 0-0.034 0h-263.588c-0.080-0.001-0.175-0.002-0.27-0.002-4.047 0-7.749 1.478-10.595 3.924l0.022-0.018c-23.665 20.668-54.836 33.272-88.95 33.272-2.599 0-5.181-0.073-7.744-0.218l0.355 0.016c-1.903 0.065-4.14 0.102-6.385 0.102-54.786 0-104.428-22.023-140.556-57.698l0.021 0.021c-38.484-37.259-62.373-89.392-62.373-147.106 0-111.972 89.922-202.942 201.49-204.635l0.159-0.002h7.427c3.639-0.262 7.885-0.412 12.166-0.412 53.089 0 100.808 22.991 133.744 59.56l0.143 0.162h-148.439c-8.983 0-16.264 7.282-16.264 16.264v0 179.992c0 8.983 7.282 16.264 16.264 16.264v0h418.426c0.012 0 0.026 0 0.040 0 4.522 0 8.612-1.845 11.56-4.824l0.001-0.001c5.421-5.421 5.421-5.421 4.879-68.147v0c-3.181-238.713-197.437-431.004-436.606-431.004-0.165 0-0.33 0-0.495 0h0.025zM770.928 774.804c-221.776-1.031-401.161-181.052-401.161-402.971 0-222.557 180.418-402.975 402.975-402.975 220.974 0 400.406 177.86 402.948 398.231l0.002 0.24v40.119h-386.060v-147.463h164.757c8.982-0.001 16.263-7.282 16.263-16.264 0-3.172-0.908-6.132-2.478-8.634l0.040 0.068c-37.923-60.404-104.174-99.969-179.667-99.969-4.749 0-9.462 0.157-14.133 0.465l0.635-0.034h-7.102c-129.427 2.041-233.563 107.439-233.563 237.16 0 66.854 27.659 127.249 72.159 170.363l0.062 0.060c43.026 41.346 101.581 66.808 166.084 66.808 0.982 0 1.963-0.006 2.943-0.018l-0.149 0.001c2.639 0.149 5.728 0.234 8.836 0.234 39.808 0 76.363-13.93 105.055-37.182l-0.312 0.245h230.682c-70.048 120.854-198.577 200.971-345.863 201.514h-0.078z" />
17
+ <glyph unicode="&#xe907;" glyph-name="slider-wd" horiz-adv-x="1481" d="M370.188 316.518c-0.153-0.006-0.333-0.009-0.514-0.009-7.749 0-14.032 6.282-14.032 14.032 0 7.569 5.992 13.738 13.492 14.021l0.026 0.001c24.603 4.927 44.377 21.855 53.209 44.289l0.169 0.488c6.59 24.726-15.705 45.946-35.57 59.408-31.27 21.174-45.759 43.89-43.282 67.26 4.347 39.356 56.463 60.763 62.399 63.334 1.43 0.538 3.082 0.85 4.807 0.85 7.744 0 14.022-6.278 14.022-14.022 0-5.767-3.481-10.72-8.456-12.874l-0.091-0.035c-10.937-4.347-42.721-21.174-44.825-40.478-1.636-15.144 16.032-30.475 31.129-40.711 49.639-33.56 52.957-67.354 46.741-89.836-12.12-34.32-41.691-59.595-77.773-65.363l-0.565-0.074zM580.896 316.518h-98.156c-7.744 0-14.022 6.278-14.022 14.022v0 235.574c0 7.744 6.278 14.022 14.022 14.022s14.022-6.278 14.022-14.022v-221.552h84.134c7.744 0 14.022-6.278 14.022-14.022s-6.278-14.022-14.022-14.022v0zM621.654 316.518c-7.744 0-14.022 6.278-14.022 14.022v0 235.574c0 7.744 6.278 14.022 14.022 14.022s14.022-6.278 14.022-14.022v0-235.574c0-7.744-6.278-14.022-14.022-14.022v0zM674.892 316.518c-7.744 0-14.022 6.278-14.022 14.022v0 235.574c0.051 4.084 1.84 7.741 4.661 10.271l0.013 0.012c2.631 2.33 6.113 3.753 9.926 3.753 0.224 0 0.447-0.005 0.669-0.015l-0.032 0.001c71.039-2.285 127.768-60.388 127.836-131.756v-0.007c-1.042-70.859-56.999-128.315-127.152-131.751l-0.31-0.012zM688.914 549.708v-202.528c49.372 7.858 86.658 50.13 86.658 101.111 0 0.013 0 0.026 0 0.039v-0.002c0.007 0.452 0.011 0.985 0.011 1.518 0 50.699-37.404 92.661-86.122 99.797l-0.547 0.066zM965.948 316.518h-1.449c-0.643-0.012-1.4-0.019-2.16-0.019-65.891 0-119.632 52.019-122.396 117.229l-0.008 0.25v132.137c0 7.744 6.278 14.022 14.022 14.022v0h112.178c7.744 0 14.022-6.278 14.022-14.022s-6.278-14.022-14.022-14.022h-98.156v-118.395c0-3.459 0-79.132 99.371-89.228 7.446-0.384 13.339-6.515 13.339-14.022 0-7.754-6.286-14.040-14.040-14.040-0.247 0-0.492 0.006-0.735 0.019l0.034-0.001zM965.901 482.448h-142.046c-7.744 0-14.022 6.278-14.022 14.022s6.278 14.022 14.022 14.022h142.046c7.744 0 14.022-6.278 14.022-14.022s-6.278-14.022-14.022-14.022v0zM1113.976 315.957c-36.605 0.871-68.526 20.142-86.964 48.888l-0.254 0.423v-34.729c0-7.744-6.278-14.022-14.022-14.022s-14.022 6.278-14.022 14.022v0 235.574c0 0.033 0 0.072 0 0.111 0 4.147 1.8 7.873 4.661 10.44l0.013 0.012c2.398 2.162 5.591 3.485 9.091 3.485 0.634 0 1.259-0.043 1.87-0.127l-0.071 0.008c37.393-4.674 108.579-32.999 109.841-104.232 0.038-0.992 0.059-2.158 0.059-3.328 0-44.864-31.604-82.346-73.763-91.398l-0.614-0.11c13.635-22.201 37.784-36.785 65.339-36.785 2.487 0 4.946 0.119 7.372 0.351l-0.309-0.024c0.561 0.082 1.208 0.128 1.866 0.128 7.155 0 13.024-5.506 13.602-12.512l0.003-0.049c0.050-0.445 0.079-0.961 0.079-1.484 0-7.212-5.445-13.153-12.448-13.935l-0.064-0.006c-3.419-0.428-7.395-0.682-11.426-0.701h-0.026zM1026.758 548.727v-143.448h0.654c2.851 0 70.111 6.404 68.99 70.111-0.841 47.255-45.152 66.325-69.644 73.336zM740.75-64c-0.028 0-0.060 0-0.093 0-282.77 0-512 229.23-512 512s229.23 512 512 512c282.77 0 512-229.23 512-512 0-0.016 0-0.033 0-0.049v0.002c-0.026-282.717-229.193-511.9-511.901-511.953h-0.005zM740.75 932.002c-0.042 0-0.091 0-0.14 0-267.307 0-484.002-216.695-484.002-484.002s216.695-484.002 484.002-484.002c267.307 0 484.002 216.695 484.002 484.002 0 0.016 0 0.033 0 0.049v-0.002c-0.026 267.237-216.632 483.876-483.854 483.955h-0.008zM1217.601 124.74c-7.739 0.007-14.011 6.282-14.011 14.022 0 3.193 1.067 6.137 2.865 8.494l-0.025-0.034c63.267 82.503 101.383 187.189 101.383 300.778s-38.117 218.274-102.257 301.965l0.873-1.187c-1.778 2.325-2.849 5.274-2.849 8.472 0 7.744 6.278 14.022 14.022 14.022 1.009 0 1.992-0.106 2.941-0.309l-0.092 0.016c150.228-33.093 260.97-165.092 260.97-322.956s-110.742-289.863-258.778-322.55l-2.192-0.406c-0.856-0.208-1.839-0.327-2.85-0.327-0.001 0-0.001 0-0.002 0v0zM1251.768 733.073c52.728-80.52 84.099-179.156 84.099-285.12s-31.371-204.6-85.332-287.129l1.233 2.010c118.558 42.685 201.8 154.181 201.8 285.12s-83.242 242.435-199.694 284.456l-2.106 0.664zM263.899 124.74c-0.014 0-0.031 0-0.048 0-1.011 0-1.994 0.119-2.936 0.345l0.086-0.017c-150.228 33.093-260.97 165.092-260.97 322.956s110.742 289.863 258.778 322.55l2.192 0.406c0.856 0.186 1.84 0.292 2.849 0.292 7.744 0 14.022-6.278 14.022-14.022 0-3.198-1.071-6.147-2.874-8.506l0.025 0.034c-63.267-82.503-101.383-187.189-101.383-300.778s38.117-218.274 102.257-301.965l-0.873 1.187c1.772-2.323 2.84-5.267 2.84-8.46 0-7.74-6.271-14.016-14.010-14.022h-0.001zM229.685 733.073c-118.558-42.685-201.8-154.181-201.8-285.12s83.242-242.435 199.694-284.456l2.106-0.664c-52.728 80.52-84.099 179.156-84.099 285.12s31.371 204.6 85.332 287.129l-1.233-2.010zM1380.306 480.204l-9.348-9.348 28.045-23.37-28.045-23.37 9.348-9.348 37.393 32.719zM66.419 448.047l37.393-32.719 9.348 9.348-28.045 23.37 28.045 23.37-9.348 9.348z" />
18
+ <glyph unicode="&#xe908;" glyph-name="form-maker" horiz-adv-x="1101" d="M385.133 479.717h-267.327v249.204h262.796v-249.204zM140.46 502.372h222.018v203.894h-222.018v-203.894zM987.752 348.319h-869.947v95.15h869.947v-95.15zM140.46 370.973h824.637v45.31h-824.637v-45.31zM987.752 99.115h-869.947v212.956h869.947v-212.956zM140.46 121.77h824.637v167.646h-824.637v-167.646zM987.752 620.177h-262.796v108.743h267.327v-108.743zM747.611 642.832h222.018v63.434h-222.018v-63.434zM693.239 620.177h-267.327v108.743h267.327v-108.743zM448.566 642.832h222.018v63.434h-222.018v-63.434zM987.752 479.717h-262.796v99.681h267.327v-99.681zM747.611 502.372h222.018v54.372h-222.018v-54.372zM693.239 479.717h-267.327v99.681h267.327v-99.681zM448.566 502.372h222.018v54.372h-222.018v-54.372zM22.655 3.965h1055.717v838.23h-1055.717v-838.23zM1046.655 810.478v-774.796h-992.283v774.796h992.283z" />
19
+ </font></defs></svg>
css/fonts/twbb-icons.eot ADDED
Binary file
css/fonts/twbb-icons.ttf ADDED
Binary file
css/fonts/twbb-icons.woff ADDED
Binary file
ecwd.php CHANGED
@@ -3,54 +3,57 @@
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.1.23
7
  * Author: WebDorado
8
  * Author URI: https://web-dorado.com/wordpress-plugins-bundle.html
9
  * Text Domain: event-calendar-wd
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
11
  */
 
12
 
13
- require_once('ecwd_class.php');
 
 
14
 
15
- if (!defined('ECWD_MAIN_FILE')) {
16
- define('ECWD_MAIN_FILE', plugin_basename(__FILE__));
17
  }
18
 
19
- if (!defined('ECWD_DIR')) {
20
- define('ECWD_DIR', dirname(__FILE__));
21
 
22
  }
23
- if (!defined('ECWD_URL')) {
24
- define('ECWD_URL', plugins_url(plugin_basename(dirname(__FILE__))));
25
  }
26
 
27
  if (!defined('ECWD_VERSION')) {
28
- define('ECWD_VERSION', "1.1.23");
29
  }
30
 
31
  if (!defined('ECWD_PLUGIN_MAIN_FILE')) {
32
- define('ECWD_PLUGIN_MAIN_FILE', __FILE__);
33
  }
34
 
35
  if (!defined('ECWD_MENU_SLUG')) {
36
- define('ECWD_MENU_SLUG', "edit.php?post_type=ecwd_event");
37
  }
38
  if (!defined('ECWD_REST_NAMESPACE')) {
39
  define('ECWD_REST_NAMESPACE', 'ecwd/v1');
40
  }
41
 
42
  if(get_site_transient('ecwd_uninstall') === false) {
43
- add_action('plugins_loaded', array('ECWD', 'reset_settings'), 9);
44
- add_action('plugins_loaded', array('ECWD', 'get_instance'));
45
  }
46
 
47
- if (is_admin()) {
48
  require_once('ecwd_admin_class.php');
49
 
50
  add_action('admin_menu', array('ECWD_Admin', 'uninstall_menu'));
51
  if(get_site_transient('ecwd_uninstall') === false) {
52
- add_action('init', array('ECWD_Admin', 'check_silent_update'));
53
- add_action('plugins_loaded', array('ECWD_Admin', 'get_instance'));
54
  }
55
 
56
  register_activation_hook(__FILE__, array('ECWD_Admin', 'global_activate'));
@@ -65,14 +68,10 @@ function ecwd_privacy_policy($content){
65
 
66
  $pp_link = '<a target="_blank" href="https://policies.google.com/privacy">' . __('Privacy Policy', "event-calendar-wd") . '</a>';
67
  $text = sprintf(__('Event Calendar WD plugin optionally embeds Google Maps on front end to display events on the map. Embedded Google Maps behave in the exact same way as if you has visited Google Maps site. Google may collect data about visitors, use cookies and tracking, included your logged-in experience interaction with Google platform. Google Maps are regulated under terms of Google %s.', "event-calendar-wd"), $pp_link);
68
- $text .= "<br/>";
69
- $text .= __('Web-Dorado Disclaimer: The above text is for informational purposes only and is not a legal advice. You must not rely on it as an alternative to legal advice. You should contact your legal counsel to obtain advice with respect to your particular case.', "event-calendar-wd");
70
- $pp_text = '<h3>' . $title . '</h3>' . '<p class="wp-policy-help">' . $text . '</p>';
71
 
72
  $content .= $pp_text;
73
  return $content;
74
  }
75
-
76
-
77
-
78
-
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.1.24
7
  * Author: WebDorado
8
  * Author URI: https://web-dorado.com/wordpress-plugins-bundle.html
9
  * Text Domain: event-calendar-wd
10
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
11
  */
12
+ require_once( 'ecwd_class.php' );
13
 
14
+ if( ! defined( 'ECWD_PRO' ) ) {
15
+ define( 'ECWD_PRO', 0 );
16
+ }
17
 
18
+ if( ! defined( 'ECWD_MAIN_FILE' ) ) {
19
+ define( 'ECWD_MAIN_FILE', plugin_basename(__FILE__));
20
  }
21
 
22
+ if( ! defined( 'ECWD_DIR' ) ) {
23
+ define( 'ECWD_DIR', dirname(__FILE__));
24
 
25
  }
26
+ if(! defined( 'ECWD_URL' ) ){
27
+ define ('ECWD_URL',plugins_url(plugin_basename(dirname(__FILE__))));
28
  }
29
 
30
  if (!defined('ECWD_VERSION')) {
31
+ define('ECWD_VERSION', "1.1.24");
32
  }
33
 
34
  if (!defined('ECWD_PLUGIN_MAIN_FILE')) {
35
+ define('ECWD_PLUGIN_MAIN_FILE', __FILE__);
36
  }
37
 
38
  if (!defined('ECWD_MENU_SLUG')) {
39
+ define('ECWD_MENU_SLUG', "edit.php?post_type=ecwd_event");
40
  }
41
  if (!defined('ECWD_REST_NAMESPACE')) {
42
  define('ECWD_REST_NAMESPACE', 'ecwd/v1');
43
  }
44
 
45
  if(get_site_transient('ecwd_uninstall') === false) {
46
+ add_action('plugins_loaded', array('ECWD', 'reset_settings'), 9);
47
+ add_action( 'plugins_loaded', array( 'ECWD', 'get_instance' ) );
48
  }
49
 
50
+ if(is_admin()) {
51
  require_once('ecwd_admin_class.php');
52
 
53
  add_action('admin_menu', array('ECWD_Admin', 'uninstall_menu'));
54
  if(get_site_transient('ecwd_uninstall') === false) {
55
+ add_action('init', array('ECWD_Admin', 'check_silent_update'));
56
+ add_action('plugins_loaded', array('ECWD_Admin', 'get_instance'));
57
  }
58
 
59
  register_activation_hook(__FILE__, array('ECWD_Admin', 'global_activate'));
68
 
69
  $pp_link = '<a target="_blank" href="https://policies.google.com/privacy">' . __('Privacy Policy', "event-calendar-wd") . '</a>';
70
  $text = sprintf(__('Event Calendar WD plugin optionally embeds Google Maps on front end to display events on the map. Embedded Google Maps behave in the exact same way as if you has visited Google Maps site. Google may collect data about visitors, use cookies and tracking, included your logged-in experience interaction with Google platform. Google Maps are regulated under terms of Google %s.', "event-calendar-wd"), $pp_link);
71
+ $text .= "<br/>";
72
+ $text .= __('Web-Dorado Disclaimer: The above text is for informational purposes only and is not a legal advice. You must not rely on it as an alternative to legal advice. You should contact your legal counsel to obtain advice with respect to your particular case.', "event-calendar-wd");
73
+ $pp_text = '<h3>' . $title . '</h3>' . '<p class="wp-policy-help">' . $text . '</p>';
74
 
75
  $content .= $pp_text;
76
  return $content;
77
  }
 
 
 
 
ecwd_class.php CHANGED
@@ -24,6 +24,10 @@ class ECWD {
24
  add_action('wp_enqueue_scripts', array($this, 'enqueue_styles'));
25
  add_action('ecwd_show_related_events', array($this, 'show_related_events'), 10, 2);
26
  add_action('init', array($this, 'register_hooks'));
 
 
 
 
27
  }
28
 
29
  public function register_hooks(){
@@ -393,4 +397,28 @@ class ECWD {
393
  }
394
  }
395
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
396
  }
24
  add_action('wp_enqueue_scripts', array($this, 'enqueue_styles'));
25
  add_action('ecwd_show_related_events', array($this, 'show_related_events'), 10, 2);
26
  add_action('init', array($this, 'register_hooks'));
27
+ // Elementor widget.
28
+ add_action('elementor/widgets/widgets_registered', array($this, 'register_elementor_widget'));
29
+ add_action('elementor/elements/categories_registered', array($this, 'register_elementor_widget_category'), 1, 1);
30
+ add_action('elementor/editor/after_enqueue_styles', array($this, 'enqueue_elementor_widget_styles'), 11);
31
  }
32
 
33
  public function register_hooks(){
397
  }
398
  }
399
 
400
+ /**
401
+ * Register widget for Elementor builder.
402
+ */
403
+ function register_elementor_widget() {
404
+ if ( defined('ELEMENTOR_PATH') && class_exists('Elementor\Widget_Base') ) {
405
+ require_once (ECWD_DIR . '/includes/elementorWidget.php');
406
+ }
407
+ }
408
+
409
+ /**
410
+ * Register 10Web category for Elementor widget if 10Web builder doesn't installed.
411
+ *
412
+ * @param $elements_manager
413
+ */
414
+ function register_elementor_widget_category( $elements_manager ) {
415
+ $elements_manager->add_category('tenweb-plugins-widgets', array(
416
+ 'title' => __('10WEB Plugins', 'twbb'),
417
+ 'icon' => 'fa fa-plug',
418
+ ));
419
+ }
420
+
421
+ function enqueue_elementor_widget_styles() {
422
+ wp_enqueue_style('twbb-editor-styles', ECWD_URL . '/css/elementor_style.css', array(), '1.0.0');
423
+ }
424
  }
includes/elementorWidget.php ADDED
@@ -0,0 +1,275 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class ECWDElementor extends \Elementor\Widget_Base {
4
+ /**
5
+ * Get widget name.
6
+ *
7
+ * @return string Widget name.
8
+ */
9
+ public function get_name() {
10
+ return 'ecwd-elementor';
11
+ }
12
+
13
+ /**
14
+ * Get widget title.
15
+ *
16
+ * @return string Widget title.
17
+ */
18
+ public function get_title() {
19
+ return __('Event Calendar', 'ecwd');
20
+ }
21
+
22
+ /**
23
+ * Get widget icon.
24
+ *
25
+ * @return string Widget icon.
26
+ */
27
+ public function get_icon() {
28
+ return 'dashicons dashicons-calendar-alt';
29
+ }
30
+
31
+ /**
32
+ * Get widget categories.
33
+ *
34
+ * @return array Widget categories.
35
+ */
36
+ public function get_categories() {
37
+ return ['tenweb-plugins-widgets'];
38
+ }
39
+
40
+ /**
41
+ * Register widget controls.
42
+ */
43
+ protected function _register_controls() {
44
+ /* start general section */
45
+ $this->start_controls_section('section_general',
46
+ [
47
+ 'label' => __('General', 'ecwd'),
48
+ ]
49
+ );
50
+
51
+ $calendars = $this->get_calendars();
52
+ $this->add_control('control_calendar',
53
+ [
54
+ 'label' => __('Select Calendar', 'ecwd'),
55
+ 'label_block' => TRUE,
56
+ 'show_label' => TRUE,
57
+ 'type' => \Elementor\Controls_Manager::SELECT,
58
+ 'default' => 0,
59
+ 'options' => $calendars,
60
+ ]
61
+ );
62
+
63
+ $this->add_control('control_view_type',
64
+ [
65
+ 'label' => __( 'Select View type', 'ecwd' ),
66
+ 'label_block' => FALSE,
67
+ 'type' => \Elementor\Controls_Manager::SELECT,
68
+ 'options' => [
69
+ 'mini' => __( 'Mini', 'ecwd' ),
70
+ 'full' => __( 'Full', 'ecwd' )
71
+ ],
72
+ 'default' => 'full'
73
+ ]
74
+ );
75
+
76
+ $this->add_control('control_per_page',
77
+ [
78
+ 'label' => __( 'Per page in list view', 'ecwd' ),
79
+ 'label_block' => FALSE,
80
+ 'type' => \Elementor\Controls_Manager::TEXT,
81
+ 'default' => '5'
82
+ ]
83
+ );
84
+
85
+ $this->add_control('control_calendar_start_date',
86
+ [
87
+ 'label' => __( 'Calendar start date', 'ecwd' ),
88
+ 'label_block' => FALSE,
89
+ 'type' => \Elementor\Controls_Manager::TEXT,
90
+ 'description' => __( 'Date format Y-m (2016-05) or empty for current date', 'ecwd' )
91
+ ]
92
+ );
93
+
94
+ $this->add_control('control_enable_event_search',
95
+ [
96
+ 'label' => __( 'Enable event search', 'ecwd' ),
97
+ 'label_block' => FALSE,
98
+ 'type' => \Elementor\Controls_Manager::SWITCHER,
99
+ 'label_yes' => __( 'Yes', 'ecwd' ),
100
+ 'label_no' => __( 'No', 'ecwd' ),
101
+ 'default' => 'yes',
102
+ 'description' => ( ECWD_PRO == 0 ) ? '<a href="https://web-dorado.com/products/wordpress-event-calendar-wd.html" target="_blank">' . __( 'Upgrade to Premium version.', 'ecwd' ) . '</a>' : ''
103
+ ]
104
+ );
105
+
106
+ $this->end_controls_section();
107
+ /* end general section */
108
+
109
+ /* start views section */
110
+ $this->start_controls_section('section_views',
111
+ [
112
+ 'label' => __('Views', 'ecwd'),
113
+ ]
114
+ );
115
+ $view_options = [
116
+ 'none' => __('None', 'ecwd'),
117
+ 'full' => __('Month', 'ecwd'),
118
+ 'list' => __('List', 'ecwd'),
119
+ 'week' => __('Week', 'ecwd'),
120
+ 'day' => __('Day', 'ecwd'),
121
+ '4day' => __('4 Days', 'ecwd'),
122
+ 'map' => __('Map', 'ecwd'),
123
+ 'posterboard' => __('Posterboard', 'ecwd')
124
+ ];
125
+
126
+ $this->add_control('control_view_1',
127
+ [
128
+ 'label' => __('View 1', 'ecwd'),
129
+ 'label_block' => FALSE,
130
+ 'show_label' => TRUE,
131
+ 'type' => \Elementor\Controls_Manager::SELECT,
132
+ 'options' => $view_options,
133
+ 'default' => 'full'
134
+ ]
135
+ );
136
+
137
+ $this->add_control('control_view_2',
138
+ [
139
+ 'label' => __('View 2', 'ecwd'),
140
+ 'label_block' => FALSE,
141
+ 'show_label' => TRUE,
142
+ 'type' => \Elementor\Controls_Manager::SELECT,
143
+ 'options' => $view_options,
144
+ 'default' => 'list'
145
+ ]
146
+ );
147
+
148
+ $this->add_control('control_view_3',
149
+ [
150
+ 'label' => __('View 3', 'ecwd'),
151
+ 'label_block' => FALSE,
152
+ 'show_label' => TRUE,
153
+ 'type' => \Elementor\Controls_Manager::SELECT,
154
+ 'options' => $view_options,
155
+ 'default' => 'week'
156
+ ]
157
+ );
158
+
159
+ $this->add_control('control_view_4',
160
+ [
161
+ 'label' => __('View 4', 'ecwd'),
162
+ 'label_block' => FALSE,
163
+ 'show_label' => TRUE,
164
+ 'type' => \Elementor\Controls_Manager::SELECT,
165
+ 'options' => $view_options,
166
+ 'default' => 'day',
167
+ 'description' => ( ECWD_PRO == 0 ) ? '<a href="https://web-dorado.com/products/wordpress-event-calendar-wd.html" target="_blank">' . __( 'Upgrade to Premium version to access three more view options: posterboard, map and 4 days' ) . '</a>' : ''
168
+ ]
169
+ );
170
+
171
+ if ( ECWD_PRO ) {
172
+ $this->add_control('control_view_5',
173
+ [
174
+ 'label' => __('View 5', 'ecwd'),
175
+ 'label_block' => FALSE,
176
+ 'show_label' => TRUE,
177
+ 'type' => \Elementor\Controls_Manager::SELECT,
178
+ 'options' => $view_options,
179
+ 'default' => 'map'
180
+ ]
181
+ );
182
+
183
+ $this->add_control('control_view_6',
184
+ [
185
+ 'label' => __('View 6', 'ecwd'),
186
+ 'label_block' => FALSE,
187
+ 'show_label' => TRUE,
188
+ 'type' => \Elementor\Controls_Manager::SELECT,
189
+ 'options' => $view_options,
190
+ 'default' => '4day'
191
+ ]
192
+ );
193
+
194
+ $this->add_control('control_view_7',
195
+ [
196
+ 'label' => __('View 7', 'ecwd'),
197
+ 'label_block' => FALSE,
198
+ 'show_label' => TRUE,
199
+ 'type' => \Elementor\Controls_Manager::SELECT,
200
+ 'options' => $view_options,
201
+ 'default' => 'posterboard'
202
+ ]
203
+ );
204
+ }
205
+ $this->end_controls_section();
206
+ /* end views section */
207
+
208
+ /* start views section */
209
+ $this->start_controls_section('section_filters',
210
+ [
211
+ 'label' => __('Filters', 'ecwd'),
212
+ ]
213
+ );
214
+ // Get and activate filters add-on
215
+ $this->end_controls_section();
216
+ /* end views section */
217
+ }
218
+
219
+ protected function get_calendars() {
220
+ $args = array(
221
+ 'post_type' => ECWD_PLUGIN_PREFIX . '_calendar',
222
+ 'post_status' => 'publish',
223
+ 'posts_per_page' => - 1,
224
+ 'ignore_sticky_posts' => 1
225
+ );
226
+ $results = [];
227
+ $posts = get_posts($args);
228
+ if ( !empty($posts) ) {
229
+ foreach ( $posts as $i => $post ) {
230
+ $data[$post->ID] = $post->post_title;
231
+ }
232
+
233
+ $results[0] = __('Select', 'ecwd');
234
+ foreach ( $data as $id => $val ) {
235
+ $results[$id] = $val;
236
+ }
237
+ }
238
+ return $results;
239
+ }
240
+ /**
241
+ * Render widget output on the frontend.
242
+ */
243
+ protected function render() {
244
+ include_once ECWD_DIR . '/includes/ecwd-functions.php';
245
+ include_once ECWD_DIR . '/includes/ecwd-shortcodes.php';
246
+ $settings = $this->get_settings_for_display();
247
+ $displays = '';
248
+ $displays .= ($settings['control_view_type'] == 'mini') ? $settings['control_view_type'] . ',' : $settings['control_view_1'] . ',';
249
+ $displays .= $settings['control_view_2'] . ',';
250
+ $displays .= $settings['control_view_3'] . ',';
251
+ $displays .= $settings['control_view_4'] . ',';
252
+ if ( ECWD_PRO ) {
253
+ $displays .= $settings['control_view_5'] . ',';
254
+ $displays .= $settings['control_view_6'] . ',';
255
+ $displays .= $settings['control_view_7'];
256
+ }
257
+ $params = [
258
+ 'id' => $settings['control_calendar'],
259
+ 'type' => $settings['control_view_type'],
260
+ 'page_items' => $settings['control_per_page'],
261
+ 'calendar_start_date' => ! empty($settings['control_calendar_start_date']) ? $settings['control_calendar_start_date'] : '',
262
+ 'event_search' => $settings['control_enable_event_search'],
263
+ 'display' => $settings['control_view_type'],
264
+ 'displays' => $displays,
265
+ 'filters' => ''
266
+ ];
267
+ if ( $settings['control_calendar'] ) {
268
+ echo ecwd_shortcode($params);
269
+ }else {
270
+ echo '<div class="fm-message fm-notice-error">' . __('There is no Calendar selected or the Calendar was deleted.', 'ecwd') . '</div>';
271
+ }
272
+ }
273
+ }
274
+
275
+ \Elementor\Plugin::instance()->widgets_manager->register_widget_type( new ECWDElementor() );
includes/events/ecwd-events-controller.php CHANGED
@@ -29,7 +29,7 @@ class ecwd_events_controller {
29
  include_once 'ecwd-events-query.php';
30
  $ecwd_query = new ecwd_events_query();
31
  $ecwd_query->filter_past_events();
32
- $ecwd_query->filter_by_post_status(['publish','private']);
33
  $ecwd_query->meta_query_relation('AND');
34
  $events = $ecwd_query->get_posts();
35
  $single_events_list = $this->convert_wp_post_to_ecwd_event($events);
@@ -40,7 +40,7 @@ class ecwd_events_controller {
40
  include_once 'ecwd-events-query.php';
41
  $ecwd_query = new ecwd_events_query();
42
  $ecwd_query->filter_excluded_events($calendar_id);
43
- $ecwd_query->filter_by_post_status(['publish','private']);
44
  $ecwd_query->meta_query_relation('AND');
45
  $events = $ecwd_query->get_posts();
46
  $single_events_list = $this->convert_wp_post_to_ecwd_event($events);
29
  include_once 'ecwd-events-query.php';
30
  $ecwd_query = new ecwd_events_query();
31
  $ecwd_query->filter_past_events();
32
+ $ecwd_query->filter_by_post_status(array('publish','private'));
33
  $ecwd_query->meta_query_relation('AND');
34
  $events = $ecwd_query->get_posts();
35
  $single_events_list = $this->convert_wp_post_to_ecwd_event($events);
40
  include_once 'ecwd-events-query.php';
41
  $ecwd_query = new ecwd_events_query();
42
  $ecwd_query->filter_excluded_events($calendar_id);
43
+ $ecwd_query->filter_by_post_status(array('publish','private'));
44
  $ecwd_query->meta_query_relation('AND');
45
  $events = $ecwd_query->get_posts();
46
  $single_events_list = $this->convert_wp_post_to_ecwd_event($events);
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Event Calendar WD - Responsive Event Calendar plugin ===
2
- Contributors: webdorado,wdsupport
3
  Tags: calendar, date, event, event calendar, events, events calendar, meeting, organizer, recurring, reservation, responsive, schedule
4
  Requires at least: 3.9
5
  Tested up to: 5.0
6
  Requires PHP: 5.2
7
- Stable tag: 1.1.23
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -347,6 +347,11 @@ Event Calendar WD plugin optionally embeds Google Maps on front end to display e
347
 
348
  == Changelog ==
349
 
 
 
 
 
 
350
  = 1.1.23 =
351
  * Fixed: Gutenberg compatibility issue
352
 
1
  === Event Calendar WD - Responsive Event Calendar plugin ===
2
+ Contributors: webdorado
3
  Tags: calendar, date, event, event calendar, events, events calendar, meeting, organizer, recurring, reservation, responsive, schedule
4
  Requires at least: 3.9
5
  Tested up to: 5.0
6
  Requires PHP: 5.2
7
+ Stable tag: 1.1.24
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
347
 
348
  == Changelog ==
349
 
350
+ = 1.1.24 =
351
+ * New: Integration with 10Web Builder plugin
352
+ * New: Separate section for 10Web Plugins
353
+ * Fixed: PHP 5.3 compatibility issue
354
+
355
  = 1.1.23 =
356
  * Fixed: Gutenberg compatibility issue
357