Version Description
- Added a premium styling option for the toggle indicator to adjust the height
Download this release
Release Info
Developer | Rustaurius |
Plugin | Ultimate FAQ |
Version | 1.4.2 |
Comparing to | |
See all releases |
Code changes from version 1.4.1 to 1.4.2
- Functions/EWD_UFAQ_Styling.php +3 -0
- Functions/Update_Admin_Databases.php +1 -0
- Main.php +1 -1
- html/OptionsPage.php +5 -0
- readme.txt +62 -10
Functions/EWD_UFAQ_Styling.php
CHANGED
@@ -25,6 +25,9 @@ function EWD_UFAQ_Add_Modified_Styles() {
|
|
25 |
if (get_option("EWD_UFAQ_Styling_Question_Margin") != "") {$StylesString .= "margin:" . get_option("EWD_UFAQ_Styling_Question_Margin") . " !important;";}
|
26 |
if (get_option("EWD_UFAQ_Styling_Question_Padding") != "") {$StylesString .= "padding:" . get_option("EWD_UFAQ_Styling_Question_Padding") . " !important;";}
|
27 |
$StylesString .="}\n";
|
|
|
|
|
|
|
28 |
$StylesString .="div.ufaq-faq-post p { ";
|
29 |
if (get_option("EWD_UFAQ_Styling_Answer_Font") != "") {$StylesString .= "font-family:" . get_option("EWD_UFAQ_Styling_Answer_Font") . " !important;";}
|
30 |
if (get_option("EWD_UFAQ_Styling_Answer_Font_Size") != "") {$StylesString .="font-size:" . get_option("EWD_UFAQ_Styling_Answer_Font_Size") . " !important;";}
|
25 |
if (get_option("EWD_UFAQ_Styling_Question_Margin") != "") {$StylesString .= "margin:" . get_option("EWD_UFAQ_Styling_Question_Margin") . " !important;";}
|
26 |
if (get_option("EWD_UFAQ_Styling_Question_Padding") != "") {$StylesString .= "padding:" . get_option("EWD_UFAQ_Styling_Question_Padding") . " !important;";}
|
27 |
$StylesString .="}\n";
|
28 |
+
$StylesString .=".ewd-ufaq-post-margin-symbol { ";
|
29 |
+
if (get_option("EWD_UFAQ_Styling_Question_Icon_Top_Margin") != "") {$StylesString .= "margin-top:" . get_option("EWD_UFAQ_Styling_Question_Icon_Top_Margin") . " !important;";}
|
30 |
+
$StylesString .="}\n";
|
31 |
$StylesString .="div.ufaq-faq-post p { ";
|
32 |
if (get_option("EWD_UFAQ_Styling_Answer_Font") != "") {$StylesString .= "font-family:" . get_option("EWD_UFAQ_Styling_Answer_Font") . " !important;";}
|
33 |
if (get_option("EWD_UFAQ_Styling_Answer_Font_Size") != "") {$StylesString .="font-size:" . get_option("EWD_UFAQ_Styling_Answer_Font_Size") . " !important;";}
|
Functions/Update_Admin_Databases.php
CHANGED
@@ -121,6 +121,7 @@ function EWD_UFAQ_UpdateOptions() {
|
|
121 |
if (isset($_POST['ufaq_styling_question_font_color'])) {update_option('EWD_UFAQ_Styling_Question_Font_Color', $_POST['ufaq_styling_question_font_color']);}
|
122 |
if (isset($_POST['ufaq_styling_question_margin'])) {update_option('EWD_UFAQ_Styling_Question_Margin', $_POST['ufaq_styling_question_margin']);}
|
123 |
if (isset($_POST['ufaq_styling_question_padding'])) {update_option('EWD_UFAQ_Styling_Question_Padding', $_POST['ufaq_styling_question_padding']);}
|
|
|
124 |
if (isset($_POST['ufaq_styling_answer_font'])) {update_option('EWD_UFAQ_Styling_Answer_Font', $_POST['ufaq_styling_answer_font']);}
|
125 |
if (isset($_POST['ufaq_styling_answer_font_size'])) {update_option('EWD_UFAQ_Styling_Answer_Font_Size', $_POST['ufaq_styling_answer_font_size']);}
|
126 |
if (isset($_POST['ufaq_styling_answer_font_color'])) {update_option('EWD_UFAQ_Styling_Answer_Font_Color', $_POST['ufaq_styling_answer_font_color']);}
|
121 |
if (isset($_POST['ufaq_styling_question_font_color'])) {update_option('EWD_UFAQ_Styling_Question_Font_Color', $_POST['ufaq_styling_question_font_color']);}
|
122 |
if (isset($_POST['ufaq_styling_question_margin'])) {update_option('EWD_UFAQ_Styling_Question_Margin', $_POST['ufaq_styling_question_margin']);}
|
123 |
if (isset($_POST['ufaq_styling_question_padding'])) {update_option('EWD_UFAQ_Styling_Question_Padding', $_POST['ufaq_styling_question_padding']);}
|
124 |
+
if (isset($_POST['ufaq_styling_question_icon_top_margin'])) {update_option('EWD_UFAQ_Styling_Question_Icon_Top_Margin', $_POST['ufaq_styling_question_icon_top_margin']);}
|
125 |
if (isset($_POST['ufaq_styling_answer_font'])) {update_option('EWD_UFAQ_Styling_Answer_Font', $_POST['ufaq_styling_answer_font']);}
|
126 |
if (isset($_POST['ufaq_styling_answer_font_size'])) {update_option('EWD_UFAQ_Styling_Answer_Font_Size', $_POST['ufaq_styling_answer_font_size']);}
|
127 |
if (isset($_POST['ufaq_styling_answer_font_color'])) {update_option('EWD_UFAQ_Styling_Answer_Font_Color', $_POST['ufaq_styling_answer_font_color']);}
|
Main.php
CHANGED
@@ -7,7 +7,7 @@ Author: Etoile Web Design
|
|
7 |
Author URI: http://www.EtoileWebDesign.com/wordpress-plugins/
|
8 |
Terms and Conditions: http://www.etoilewebdesign.com/plugin-terms-and-conditions/
|
9 |
Text Domain: EWD_UFAQ
|
10 |
-
Version: 1.4.
|
11 |
*/
|
12 |
|
13 |
global $ewd_ufaq_message;
|
7 |
Author URI: http://www.EtoileWebDesign.com/wordpress-plugins/
|
8 |
Terms and Conditions: http://www.etoilewebdesign.com/plugin-terms-and-conditions/
|
9 |
Text Domain: EWD_UFAQ
|
10 |
+
Version: 1.4.2
|
11 |
*/
|
12 |
|
13 |
global $ewd_ufaq_message;
|
html/OptionsPage.php
CHANGED
@@ -74,6 +74,7 @@
|
|
74 |
$UFAQ_Styling_Question_Font_Color = get_option("EWD_UFAQ_Styling_Question_Font_Color");
|
75 |
$UFAQ_Styling_Question_Margin = get_option("EWD_UFAQ_Styling_Question_Margin");
|
76 |
$UFAQ_Styling_Question_Padding = get_option("EWD_UFAQ_Styling_Question_Padding");
|
|
|
77 |
$UFAQ_Styling_Answer_Font = get_option("EWD_UFAQ_Styling_Answer_Font");
|
78 |
$UFAQ_Styling_Answer_Font_Size = get_option("EWD_UFAQ_Styling_Answer_Font_Size");
|
79 |
$UFAQ_Styling_Answer_Font_Color = get_option("EWD_UFAQ_Styling_Answer_Font_Color");
|
@@ -808,6 +809,10 @@
|
|
808 |
<div class='ufaq-option-label'>Padding</div>
|
809 |
<div class='ufaq-option-input'><input type='text' name='ufaq_styling_question_padding' value='<?php echo $UFAQ_Styling_Question_Padding; ?>' <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?> /></div>
|
810 |
</div>
|
|
|
|
|
|
|
|
|
811 |
</div>
|
812 |
</div>
|
813 |
<div class='ufaq-subsection'>
|
74 |
$UFAQ_Styling_Question_Font_Color = get_option("EWD_UFAQ_Styling_Question_Font_Color");
|
75 |
$UFAQ_Styling_Question_Margin = get_option("EWD_UFAQ_Styling_Question_Margin");
|
76 |
$UFAQ_Styling_Question_Padding = get_option("EWD_UFAQ_Styling_Question_Padding");
|
77 |
+
$UFAQ_Styling_Question_Icon_Top_Margin = get_option("EWD_UFAQ_Styling_Question_Icon_Top_Margin");
|
78 |
$UFAQ_Styling_Answer_Font = get_option("EWD_UFAQ_Styling_Answer_Font");
|
79 |
$UFAQ_Styling_Answer_Font_Size = get_option("EWD_UFAQ_Styling_Answer_Font_Size");
|
80 |
$UFAQ_Styling_Answer_Font_Color = get_option("EWD_UFAQ_Styling_Answer_Font_Color");
|
809 |
<div class='ufaq-option-label'>Padding</div>
|
810 |
<div class='ufaq-option-input'><input type='text' name='ufaq_styling_question_padding' value='<?php echo $UFAQ_Styling_Question_Padding; ?>' <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?> /></div>
|
811 |
</div>
|
812 |
+
<div class='ufaq-option ufaq-styling-option'>
|
813 |
+
<div class='ufaq-option-label'>"+" Icon Top Margin</div>
|
814 |
+
<div class='ufaq-option-input'><input type='text' name='ufaq_styling_question_icon_top_margin' value='<?php echo $UFAQ_Styling_Question_Icon_Top_Margin; ?>' <?php if ($UFAQ_Full_Version != "Yes") {echo "disabled";} ?> /></div>
|
815 |
+
</div>
|
816 |
</div>
|
817 |
</div>
|
818 |
<div class='ufaq-subsection'>
|
readme.txt
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
=== FAQ ===
|
2 |
Contributors: Rustaurius, EtoileWebDesign
|
3 |
-
Tags:
|
4 |
Requires at least: 3.9.0
|
5 |
Tested up to: 4.5
|
6 |
License: GPLv3
|
7 |
License URI:http://www.gnu.org/licenses/gpl-3.0.html
|
8 |
|
9 |
-
|
10 |
|
11 |
== Description ==
|
12 |
|
@@ -14,17 +14,19 @@ A simple FAQ plugin that lets you create, order and publicize FAQs, insert 3 sty
|
|
14 |
|
15 |
[youtube https://www.youtube.com/watch?v=xeGVZnVrZ6I]
|
16 |
|
17 |
-
|
18 |
|
19 |
-
Want to decide exactly what order your FAQs are displayed in? Use our simple FAQ drag-and-drop reordering feature! Create SEO-friendly links to individual FAQ posts to simply direct customers to exactly the right FAQ answer, right away. You can even let your customers add to your custom FAQ list with the [submit-question] smart FAQ shortcode, which lets visitors submit an FAQ question and even propose an FAQ answer for it! Easily add links to popular social media, such as Facebook, Twitter and Pinterest so that your customers can help you spread the word about your FAQ!
|
20 |
|
21 |
-
|
22 |
|
23 |
-
|
|
|
|
|
24 |
|
25 |
Ultimate FAQ uses the WordPress custom post type functionality to create an FAQ post type, allowing for smart and easy FAQ integration.
|
26 |
|
27 |
-
= Key Features =
|
28 |
* Unlimited FAQ, unlimited FAQ tag and unlimited FAQ category support
|
29 |
* Create FAQ categories
|
30 |
* Create FAQ posts and assign categories to them
|
@@ -36,7 +38,7 @@ Ultimate FAQ uses the WordPress custom post type functionality to create an FAQ
|
|
36 |
* Share FAQ on social media
|
37 |
* Responsive FAQ design
|
38 |
|
39 |
-
= Premium features include =
|
40 |
* WooCommerce FAQ tab with specific FAQs for each product on product page (<a href='https://www.youtube.com/watch?v=cH3p0fW4c5o'>YouTube Video</a>)
|
41 |
* Different FAQ display styles for your frequently asked questions
|
42 |
* User-submitted FAQs
|
@@ -62,6 +64,50 @@ Check out our Frequently Asked Questions here:
|
|
62 |
Please head to the "Support" forum to report issues or make suggestions:
|
63 |
<https://wordpress.org/support/plugin/ultimate-faqs>
|
64 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
|
66 |
|
67 |
--------------------------------------------------------------
|
@@ -84,7 +130,7 @@ Try adding the shortcode [ultimate-faqs] to whatever page you'd like to display
|
|
84 |
|
85 |
= What attributes does the [ultimate-faqs] shortcode accept? =
|
86 |
|
87 |
-
The FAQ shortcode accepts two attributes,
|
88 |
|
89 |
[ultimate-faqs include_category='cars']
|
90 |
|
@@ -146,6 +192,9 @@ Video 3 - FAQs Ordering
|
|
146 |
9. All answers displayed in the 'list' FAQ mode
|
147 |
|
148 |
== Changelog ==
|
|
|
|
|
|
|
149 |
= 1.4.1 =
|
150 |
- Minor update to take out a debugging message
|
151 |
|
@@ -312,4 +361,7 @@ Video 3 - FAQs Ordering
|
|
312 |
- Fix for the FAQ ordering bug
|
313 |
|
314 |
= 1.0.0 =
|
315 |
-
- Premium version release, check out our website for all of the details <http://www.etoilewebdesign.com/ultimate-faq/>
|
|
|
|
|
|
1 |
=== FAQ ===
|
2 |
Contributors: Rustaurius, EtoileWebDesign
|
3 |
+
Tags: FAQ, FAQs, easy FAQ, simple FAQ, FAQ categories, FAQ answer, faq page, FAQ Plugin, WooCommerce FAQ, frequently asked questions, questions, FAQ questions, wordpress faq, FAQ list, FAQ custom post type, faq list, faq accordion, jquery faq, jquery-ui, faq shortcode, faq widget, AJAX FAQ, responsive faq, submit questions,
|
4 |
Requires at least: 3.9.0
|
5 |
Tested up to: 4.5
|
6 |
License: GPLv3
|
7 |
License URI:http://www.gnu.org/licenses/gpl-3.0.html
|
8 |
|
9 |
+
FAQ plugin that lets you easily create, order and publicize FAQs, insert 3 styles of FAQs on a page or WooCommerce product, and use AJAX FAQ search using FAQ shortcodes
|
10 |
|
11 |
== Description ==
|
12 |
|
14 |
|
15 |
[youtube https://www.youtube.com/watch?v=xeGVZnVrZ6I]
|
16 |
|
17 |
+
FAQ plugin that lets you create FAQ, organize FAQ and publicize your FAQ in no time through your Wordpress admin panel. Select from multiple FAQ styles and FAQ layouts. You can use either the accordion FAQ style, to display one FAQ answer on click, or the list FAQ style, to have FAQ answers displayed by default. FAQ features include FAQ statistics that show how many times FAQs have been viewed, FAQ styling options, FAQ categories and FAQ tags, FAQ display and FAQ ordering options, among many other FAQ options. Includes an FAQ shortcode helper, that lets you create FAQ shortcodes with FAQ attributes without having to manually enter FAQs. Ultimate FAQ also works great for any content that works similarly to FAQ and that needs to be hidden until it is clicked, like job postings, recipes, etc.!
|
18 |
|
19 |
+
Want to decide exactly what order your FAQs are displayed in? Use our simple FAQ drag-and-drop reordering feature! Create SEO-friendly FAQ links to individual FAQ posts to simply direct customers to exactly the right FAQ answer, right away. You can even let your customers add to your custom FAQ list with the [submit-question] smart FAQ shortcode, which lets visitors submit an FAQ question and even propose an FAQ answer for it! Easily add links to your FAQ to popular social media, such as Facebook, Twitter and Pinterest so that your customers can help you spread the word about your FAQ!
|
20 |
|
21 |
+
= Add FAQ to WooCommerce! =
|
22 |
|
23 |
+
Using WooCommerce to sell your products? Easily add an FAQ tab to each product page, so your customers can see answers to common FAQ questions about the products they're browsing. It's the most comprehensive FAQ solution for WooCommerce!
|
24 |
+
|
25 |
+
This FAQ plugin is great for combining with our <a href='https://wordpress.org/plugins/front-end-only-users/'>user management plugin </a> to create a member's only FAQ area.
|
26 |
|
27 |
Ultimate FAQ uses the WordPress custom post type functionality to create an FAQ post type, allowing for smart and easy FAQ integration.
|
28 |
|
29 |
+
= Key FAQ Features =
|
30 |
* Unlimited FAQ, unlimited FAQ tag and unlimited FAQ category support
|
31 |
* Create FAQ categories
|
32 |
* Create FAQ posts and assign categories to them
|
38 |
* Share FAQ on social media
|
39 |
* Responsive FAQ design
|
40 |
|
41 |
+
= Premium FAQ features include =
|
42 |
* WooCommerce FAQ tab with specific FAQs for each product on product page (<a href='https://www.youtube.com/watch?v=cH3p0fW4c5o'>YouTube Video</a>)
|
43 |
* Different FAQ display styles for your frequently asked questions
|
44 |
* User-submitted FAQs
|
64 |
Please head to the "Support" forum to report issues or make suggestions:
|
65 |
<https://wordpress.org/support/plugin/ultimate-faqs>
|
66 |
|
67 |
+
-----------------------------------------------------------------------------------
|
68 |
+
|
69 |
+
== Installation ==
|
70 |
+
|
71 |
+
1. Upload the 'ultimate-faqs' folder to the '/wp-content/plugins/' directory
|
72 |
+
2. Activate the plugin through the 'Plugins' menu in WordPress
|
73 |
+
|
74 |
+
or
|
75 |
+
|
76 |
+
1. Go to the 'Plugins' menu in WordPress and click 'Add New'
|
77 |
+
2. Search for 'Ultimate FAQ' and select 'Install Now'
|
78 |
+
3. Activate the plugin when prompted
|
79 |
+
|
80 |
+
= Getting Started =
|
81 |
+
|
82 |
+
1. To create an FAQ:
|
83 |
+
* Click on 'FAQs' in the WordPress admin sidebar menu
|
84 |
+
* Click on 'Add New'
|
85 |
+
* Enter the FAQ question in the title area and the FAQ answer in the main post content area
|
86 |
+
* Set the author name using the 'Author Display Name' field under the main post content area
|
87 |
+
* Select and/or create FAQ categories and FAQ tags in the right-side menu
|
88 |
+
* Click the 'Publish' button
|
89 |
+
|
90 |
+
2. To display FAQs on your site:
|
91 |
+
* Place the [ultimate-faqs] shortcode in the content area of any page you've created and it will display your FAQs
|
92 |
+
* You can display specific FAQs by making use of the [select-faq] shortcode
|
93 |
+
* Display a select number of your most popular FAQs using the [popular-faqs] shortcode
|
94 |
+
* Display a select number of your most recent FAQs using the [recent-faqs] shortcode
|
95 |
+
|
96 |
+
3. To include a submit question form:
|
97 |
+
* Placing the [submit-question] shortcode on a page will generate a form that allows your visitors to submit FAQ questions and, if enabled, even suggest FAQ answers for their questions (premium)
|
98 |
+
|
99 |
+
4. To include an FAQ search form:
|
100 |
+
* Use the [ultimate-faq-search] shortcode to display an FAQ search form on a page. You can even set it so that all FAQs display on the search page and so that typing in the search box filters the results. (premium)
|
101 |
+
|
102 |
+
5. Customize your FAQ experience by making use of the many available settings and options, including toggle and accordion modes, FAQ comments, FAQ category grouping (premium) and many styling options (premium).
|
103 |
+
|
104 |
+
For a list of specific features, see the FAQ description page here: https://wordpress.org/plugins/ultimate-faqs/.
|
105 |
+
|
106 |
+
For help and support, please see:
|
107 |
+
* Our FAQ page, here: https://wordpress.org/plugins/ultimate-faqs/faq/
|
108 |
+
* Our documentation, here: http://www.etoilewebdesign.com/plugins/ultimate-faq/documentation-ultimate-faq/
|
109 |
+
* Our tutorial videos, here: https://www.youtube.com/playlist?list=PLEndQUuhlvSrNdfu5FKa1uGHsaKZxgdWt
|
110 |
+
* The Ultimate FAQ support forum, here: https://wordpress.org/support/plugin/ultimate-faqs
|
111 |
|
112 |
|
113 |
--------------------------------------------------------------
|
130 |
|
131 |
= What attributes does the [ultimate-faqs] shortcode accept? =
|
132 |
|
133 |
+
The FAQ shortcode accepts two attributes, "include_category" and "exclude_category". Both take a comma-separated list of FAQ category slugs. For example, to include only FAQs about the Category "Cars" (which has a slug "cars"), you would use:
|
134 |
|
135 |
[ultimate-faqs include_category='cars']
|
136 |
|
192 |
9. All answers displayed in the 'list' FAQ mode
|
193 |
|
194 |
== Changelog ==
|
195 |
+
= 1.4.2 =
|
196 |
+
- Added a premium styling option for the toggle indicator to adjust the height
|
197 |
+
|
198 |
= 1.4.1 =
|
199 |
- Minor update to take out a debugging message
|
200 |
|
361 |
- Fix for the FAQ ordering bug
|
362 |
|
363 |
= 1.0.0 =
|
364 |
+
- Premium version release, check out our website for all of the details <http://www.etoilewebdesign.com/ultimate-faq/>
|
365 |
+
|
366 |
+
|
367 |
+
|