Version Description
(2022-01-04) = - Updated class naming issues. - Fixed a few styling issues with the walk-through.
Download this release
Release Info
Developer | Rustaurius |
Plugin | Ultimate FAQ |
Version | 2.1.5 |
Comparing to | |
See all releases |
Code changes from version 2.1.4 to 2.1.5
- includes/Helper.class.php +2 -2
- lib/simple-admin-pages/css/admin-settings.css +19 -19
- readme.txt +5 -1
- ultimate-faqs.php +2 -2
includes/Helper.class.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
if ( !defined( 'ABSPATH' ) ) exit;
|
3 |
|
4 |
-
if ( !class_exists( '
|
5 |
/**
|
6 |
* Class to to provide helpe functions
|
7 |
*
|
@@ -27,7 +27,7 @@ class ewdUfaqHelper {
|
|
27 |
{
|
28 |
if (self::$instance == null)
|
29 |
{
|
30 |
-
self::$instance = new
|
31 |
}
|
32 |
|
33 |
return self::$instance;
|
1 |
<?php
|
2 |
if ( !defined( 'ABSPATH' ) ) exit;
|
3 |
|
4 |
+
if ( !class_exists( 'ewdUfaqHelper' ) ) {
|
5 |
/**
|
6 |
* Class to to provide helpe functions
|
7 |
*
|
27 |
{
|
28 |
if (self::$instance == null)
|
29 |
{
|
30 |
+
self::$instance = new ewdUfaqHelper();
|
31 |
}
|
32 |
|
33 |
return self::$instance;
|
lib/simple-admin-pages/css/admin-settings.css
CHANGED
@@ -45,19 +45,19 @@
|
|
45 |
.wrap.sap-settings-page h2.nav-tab-wrapper a.nav-tab-active {
|
46 |
box-shadow: none;
|
47 |
background-color: #fff !important;
|
48 |
-
color: var(--main-color);
|
49 |
-
border-left: 4px solid var(--main-color-border);
|
50 |
}
|
51 |
.wrap.sap-settings-page h2.nav-tab-wrapper a:hover {
|
52 |
-
color: var(--main-color);
|
53 |
background-color: rgba(199,199,199, 0.5);
|
54 |
box-shadow: none;
|
55 |
-
border-left: 4px solid var(--main-color-border);
|
56 |
}
|
57 |
.wrap.sap-settings-page h2.nav-tab-wrapper a.nav-tab-active:hover {
|
58 |
-
color: var(--main-color);
|
59 |
background-color: #fff;
|
60 |
-
border-left: 4px solid var(--main-color-border);
|
61 |
}
|
62 |
|
63 |
/* Right side */
|
@@ -76,14 +76,14 @@
|
|
76 |
|
77 |
.wrap.sap-settings-page form h2:first-of-type {
|
78 |
font-size: 18px;
|
79 |
-
color: var(--main-color);
|
80 |
margin: 0 0 32px !important;
|
81 |
}
|
82 |
|
83 |
.wrap.sap-settings-page form h2:nth-of-type(1n+2) {
|
84 |
position: relative;
|
85 |
float: left;
|
86 |
-
background: var(--main-color);
|
87 |
margin: 8px 0 0;
|
88 |
font-size: 15px;
|
89 |
font-weight: bold;
|
@@ -172,11 +172,11 @@ TOGGLE SWITCHES
|
|
172 |
}
|
173 |
|
174 |
input:checked + .sap-admin-switch-slider {
|
175 |
-
background-color: var(--main-color);
|
176 |
}
|
177 |
|
178 |
input:focus + .sap-admin-switch-slider {
|
179 |
-
box-shadow: 0 0 1px var(--main-color);
|
180 |
}
|
181 |
|
182 |
input:checked + .sap-admin-switch-slider:before {
|
@@ -220,10 +220,10 @@ input:checked + .sap-admin-switch-slider:before {
|
|
220 |
}
|
221 |
.sap-admin-input-container:hover input ~ .sap-admin-radio-button {
|
222 |
background-color: #E6FFFB;
|
223 |
-
border-color: var(--main-color-border);
|
224 |
}
|
225 |
.sap-admin-input-container input:checked ~ .sap-admin-radio-button {
|
226 |
-
border-color: var(--main-color-border);
|
227 |
background-color: #fff;
|
228 |
}
|
229 |
.sap-admin-radio-button:after {
|
@@ -240,7 +240,7 @@ input:checked + .sap-admin-switch-slider:before {
|
|
240 |
width: 8px;
|
241 |
height: 8px;
|
242 |
border-radius: 50%;
|
243 |
-
background: var(--main-color);
|
244 |
}
|
245 |
|
246 |
.sap-admin-checkbox {
|
@@ -255,10 +255,10 @@ input:checked + .sap-admin-switch-slider:before {
|
|
255 |
}
|
256 |
.sap-admin-input-container:hover input ~ .sap-admin-checkbox {
|
257 |
background-color: #E6FFFB;
|
258 |
-
border-color: var(--main-color-border);
|
259 |
}
|
260 |
.sap-admin-input-container input:checked ~ .sap-admin-checkbox {
|
261 |
-
border-color: var(--main-color-border);
|
262 |
background-color: #fff;
|
263 |
}
|
264 |
.sap-admin-checkbox:after {
|
@@ -274,7 +274,7 @@ input:checked + .sap-admin-switch-slider:before {
|
|
274 |
top: 1px;
|
275 |
width: 4px;
|
276 |
height: 8px;
|
277 |
-
border: solid var(--main-color-border);
|
278 |
border-width: 0 2px 2px 0;
|
279 |
-webkit-transform: rotate(45deg);
|
280 |
-ms-transform: rotate(45deg);
|
@@ -427,8 +427,8 @@ fieldset.sap-colorpicker {
|
|
427 |
float: left;
|
428 |
width: calc(100% - 20px);
|
429 |
margin: 16px 8px;
|
430 |
-
border: 2px solid var(--main-color-border);
|
431 |
-
background-color: var(--main-color);
|
432 |
color: #fff;
|
433 |
padding: 6px 0;
|
434 |
font-size: 12px;
|
@@ -556,7 +556,7 @@ fieldset.sap-colorpicker {
|
|
556 |
.sap-infinite-table-row-delete,
|
557 |
.sap-custom-fields-add-nutrional-information {
|
558 |
cursor: pointer;
|
559 |
-
color: var(--main-color);
|
560 |
}
|
561 |
.sap-infinite-table-row-delete:hover,
|
562 |
.sap-custom-fields-add-nutrional-information:hover {
|
45 |
.wrap.sap-settings-page h2.nav-tab-wrapper a.nav-tab-active {
|
46 |
box-shadow: none;
|
47 |
background-color: #fff !important;
|
48 |
+
color: var(--main-color, #1b335f);
|
49 |
+
border-left: 4px solid var(--main-color-border, #1b335f);
|
50 |
}
|
51 |
.wrap.sap-settings-page h2.nav-tab-wrapper a:hover {
|
52 |
+
color: var(--main-color, #1b335f);
|
53 |
background-color: rgba(199,199,199, 0.5);
|
54 |
box-shadow: none;
|
55 |
+
border-left: 4px solid var(--main-color-border, #1b335f);
|
56 |
}
|
57 |
.wrap.sap-settings-page h2.nav-tab-wrapper a.nav-tab-active:hover {
|
58 |
+
color: var(--main-color, #1b335f);
|
59 |
background-color: #fff;
|
60 |
+
border-left: 4px solid var(--main-color-border, #1b335f);
|
61 |
}
|
62 |
|
63 |
/* Right side */
|
76 |
|
77 |
.wrap.sap-settings-page form h2:first-of-type {
|
78 |
font-size: 18px;
|
79 |
+
color: var(--main-color, #1b335f);
|
80 |
margin: 0 0 32px !important;
|
81 |
}
|
82 |
|
83 |
.wrap.sap-settings-page form h2:nth-of-type(1n+2) {
|
84 |
position: relative;
|
85 |
float: left;
|
86 |
+
background: var(--main-color, #1b335f);
|
87 |
margin: 8px 0 0;
|
88 |
font-size: 15px;
|
89 |
font-weight: bold;
|
172 |
}
|
173 |
|
174 |
input:checked + .sap-admin-switch-slider {
|
175 |
+
background-color: var(--main-color, #1b335f);
|
176 |
}
|
177 |
|
178 |
input:focus + .sap-admin-switch-slider {
|
179 |
+
box-shadow: 0 0 1px var(--main-color, #1b335f);
|
180 |
}
|
181 |
|
182 |
input:checked + .sap-admin-switch-slider:before {
|
220 |
}
|
221 |
.sap-admin-input-container:hover input ~ .sap-admin-radio-button {
|
222 |
background-color: #E6FFFB;
|
223 |
+
border-color: var(--main-color-border, #1b335f);
|
224 |
}
|
225 |
.sap-admin-input-container input:checked ~ .sap-admin-radio-button {
|
226 |
+
border-color: var(--main-color-border, #1b335f);
|
227 |
background-color: #fff;
|
228 |
}
|
229 |
.sap-admin-radio-button:after {
|
240 |
width: 8px;
|
241 |
height: 8px;
|
242 |
border-radius: 50%;
|
243 |
+
background: var(--main-color, #1b335f);
|
244 |
}
|
245 |
|
246 |
.sap-admin-checkbox {
|
255 |
}
|
256 |
.sap-admin-input-container:hover input ~ .sap-admin-checkbox {
|
257 |
background-color: #E6FFFB;
|
258 |
+
border-color: var(--main-color-border, #1b335f);
|
259 |
}
|
260 |
.sap-admin-input-container input:checked ~ .sap-admin-checkbox {
|
261 |
+
border-color: var(--main-color-border, #1b335f);
|
262 |
background-color: #fff;
|
263 |
}
|
264 |
.sap-admin-checkbox:after {
|
274 |
top: 1px;
|
275 |
width: 4px;
|
276 |
height: 8px;
|
277 |
+
border: solid var(--main-color-border, #1b335f);
|
278 |
border-width: 0 2px 2px 0;
|
279 |
-webkit-transform: rotate(45deg);
|
280 |
-ms-transform: rotate(45deg);
|
427 |
float: left;
|
428 |
width: calc(100% - 20px);
|
429 |
margin: 16px 8px;
|
430 |
+
border: 2px solid var(--main-color-border, #1b335f);
|
431 |
+
background-color: var(--main-color, #1b335f);
|
432 |
color: #fff;
|
433 |
padding: 6px 0;
|
434 |
font-size: 12px;
|
556 |
.sap-infinite-table-row-delete,
|
557 |
.sap-custom-fields-add-nutrional-information {
|
558 |
cursor: pointer;
|
559 |
+
color: var(--main-color, #1b335f);
|
560 |
}
|
561 |
.sap-infinite-table-row-delete:hover,
|
562 |
.sap-custom-fields-add-nutrional-information:hover {
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: Rustaurius, EtoileWebDesign
|
|
3 |
Tags: faq, faqs, accordion, woocommerce faq, gutenberg faq, faq block
|
4 |
Requires at least: 5.0
|
5 |
Tested up to: 5.8
|
6 |
-
Stable tag: 2.1.
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
@@ -267,6 +267,10 @@ Video 3 - FAQs Ordering
|
|
267 |
|
268 |
== Changelog ==
|
269 |
|
|
|
|
|
|
|
|
|
270 |
= 2.1.4 (2021-12-29) =
|
271 |
- Updated sanitizing and escaping.
|
272 |
|
3 |
Tags: faq, faqs, accordion, woocommerce faq, gutenberg faq, faq block
|
4 |
Requires at least: 5.0
|
5 |
Tested up to: 5.8
|
6 |
+
Stable tag: 2.1.5
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
267 |
|
268 |
== Changelog ==
|
269 |
|
270 |
+
= 2.1.5 (2022-01-04) =
|
271 |
+
- Updated class naming issues.
|
272 |
+
- Fixed a few styling issues with the walk-through.
|
273 |
+
|
274 |
= 2.1.4 (2021-12-29) =
|
275 |
- Updated sanitizing and escaping.
|
276 |
|
ultimate-faqs.php
CHANGED
@@ -6,7 +6,7 @@ Description: FAQ and accordion plugin with easy to use Gutenberg blocks, shortco
|
|
6 |
Author URI: https://www.etoilewebdesign.com/
|
7 |
Terms and Conditions: https://www.etoilewebdesign.com/plugin-terms-and-conditions/
|
8 |
Text Domain: ultimate-faqs
|
9 |
-
Version: 2.1.
|
10 |
WC requires at least: 3.0
|
11 |
WC tested up to: 6.0
|
12 |
*/
|
@@ -43,7 +43,7 @@ class ewdufaqInit {
|
|
43 |
define( 'EWD_UFAQ_PLUGIN_URL', untrailingslashit( plugin_dir_url( __FILE__ ) ) );
|
44 |
define( 'EWD_UFAQ_PLUGIN_FNAME', plugin_basename( __FILE__ ) );
|
45 |
define( 'EWD_UFAQ_TEMPLATE_DIR', 'ewd-ufaq-templates' );
|
46 |
-
define( 'EWD_UFAQ_VERSION', '2.1.
|
47 |
|
48 |
define( 'EWD_UFAQ_FAQ_POST_TYPE', 'ufaq' );
|
49 |
define( 'EWD_UFAQ_FAQ_CATEGORY_TAXONOMY', 'ufaq-category' );
|
6 |
Author URI: https://www.etoilewebdesign.com/
|
7 |
Terms and Conditions: https://www.etoilewebdesign.com/plugin-terms-and-conditions/
|
8 |
Text Domain: ultimate-faqs
|
9 |
+
Version: 2.1.5
|
10 |
WC requires at least: 3.0
|
11 |
WC tested up to: 6.0
|
12 |
*/
|
43 |
define( 'EWD_UFAQ_PLUGIN_URL', untrailingslashit( plugin_dir_url( __FILE__ ) ) );
|
44 |
define( 'EWD_UFAQ_PLUGIN_FNAME', plugin_basename( __FILE__ ) );
|
45 |
define( 'EWD_UFAQ_TEMPLATE_DIR', 'ewd-ufaq-templates' );
|
46 |
+
define( 'EWD_UFAQ_VERSION', '2.1.5' );
|
47 |
|
48 |
define( 'EWD_UFAQ_FAQ_POST_TYPE', 'ufaq' );
|
49 |
define( 'EWD_UFAQ_FAQ_CATEGORY_TAXONOMY', 'ufaq-category' );
|