Version Description
- Fixed an error where using the trial in this plugin reset the trials for a number of our other plugins
Download this release
Release Info
Developer | Rustaurius |
Plugin | Ultimate FAQ |
Version | 1.5.13 |
Comparing to | |
See all releases |
Code changes from version 1.5.12 to 1.5.13
- Main.php +3 -3
- css/Admin.css +62 -2
- html/DashboardPage.php +308 -275
- readme.txt +72 -32
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.5.
|
11 |
*/
|
12 |
|
13 |
global $ewd_ufaq_message;
|
@@ -221,7 +221,7 @@ function Set_EWD_UFAQ_Options() {
|
|
221 |
}
|
222 |
|
223 |
$UFAQ_Full_Version = get_option("EWD_UFAQ_Full_Version");
|
224 |
-
if (isset($_GET['post_type']) and $_GET['post_type'] == 'ufaq' and isset($_POST['
|
225 |
|
226 |
$rules = get_option('rewrite_rules');
|
227 |
$PrettyLinks = get_option("EWD_UFAQ_Pretty_Permalinks");
|
@@ -231,7 +231,7 @@ if ($PrettyLinks == "Yes") {
|
|
231 |
update_option("EWD_UFAQ_Update_RR_Rules", "No");
|
232 |
}
|
233 |
|
234 |
-
if (isset($_POST['
|
235 |
add_action('admin_init', 'EWD_UFAQ_Upgrade_To_Full');
|
236 |
}
|
237 |
|
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.5.13
|
11 |
*/
|
12 |
|
13 |
global $ewd_ufaq_message;
|
221 |
}
|
222 |
|
223 |
$UFAQ_Full_Version = get_option("EWD_UFAQ_Full_Version");
|
224 |
+
if (isset($_GET['post_type']) and $_GET['post_type'] == 'ufaq' and isset($_POST['EWD_UFAQ_Upgrade_To_Full']) and $UFAQ_Full_Version == "Yes") {add_action("admin_notices", "EWD_UFAQ_Upgrade_Notice");}
|
225 |
|
226 |
$rules = get_option('rewrite_rules');
|
227 |
$PrettyLinks = get_option("EWD_UFAQ_Pretty_Permalinks");
|
231 |
update_option("EWD_UFAQ_Update_RR_Rules", "No");
|
232 |
}
|
233 |
|
234 |
+
if (isset($_POST['EWD_UFAQ_Upgrade_To_Full'])) {
|
235 |
add_action('admin_init', 'EWD_UFAQ_Upgrade_To_Full');
|
236 |
}
|
237 |
|
css/Admin.css
CHANGED
@@ -274,7 +274,7 @@ EXTRA
|
|
274 |
width: 90%;
|
275 |
margin-top: 1.5em;
|
276 |
}
|
277 |
-
|
278 |
.ewd-dashboard-middle {
|
279 |
box-shadow: 2px 2px 5px #666666;
|
280 |
background-color: white;
|
@@ -323,6 +323,66 @@ EXTRA
|
|
323 |
padding: 0.5em;
|
324 |
}
|
325 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
326 |
.ewd-ufaq-dashboard-box {
|
327 |
color: white;
|
328 |
width: 20%;
|
@@ -473,4 +533,4 @@ Toggle Font
|
|
473 |
|
474 |
input[name=toggle_symbol] {
|
475 |
margin-right: 10px;
|
476 |
-
}
|
274 |
width: 90%;
|
275 |
margin-top: 1.5em;
|
276 |
}
|
277 |
+
|
278 |
.ewd-dashboard-middle {
|
279 |
box-shadow: 2px 2px 5px #666666;
|
280 |
background-color: white;
|
323 |
padding: 0.5em;
|
324 |
}
|
325 |
|
326 |
+
#ewd-ufaq-dashboard-leave-review {
|
327 |
+
position: relative;
|
328 |
+
float: left;
|
329 |
+
margin-top: 20px;
|
330 |
+
width: calc(90% + 2em);
|
331 |
+
background: #9D64BC;
|
332 |
+
color: #fff;
|
333 |
+
}
|
334 |
+
#ewd-ufaq-dashboard-leave-review h3 {
|
335 |
+
background: #262262;
|
336 |
+
color: #fff;
|
337 |
+
text-align: center;
|
338 |
+
}
|
339 |
+
#ewd-ufaq-dashboard-leave-review h3 span {
|
340 |
+
font-family: 'dashicons';
|
341 |
+
color: #F5E836;
|
342 |
+
}
|
343 |
+
#ewd-ufaq-dashboard-leave-review h3 span:before {
|
344 |
+
content: "\f155\f155\f155\f155\f155";
|
345 |
+
}
|
346 |
+
#ewd-ufaq-dashboard-leave-review .ewd-dashboard-content .ewd-dashboard-leave-review-text {
|
347 |
+
position: relative;
|
348 |
+
float: left;
|
349 |
+
width: 55%;
|
350 |
+
margin: 8px 0 8px 5%;
|
351 |
+
font-size: 1.25em;
|
352 |
+
line-height: 1.3;
|
353 |
+
}
|
354 |
+
#ewd-ufaq-dashboard-leave-review .ewd-dashboard-content .ewd-dashboard-leave-review-link {
|
355 |
+
position: relative;
|
356 |
+
float: left;
|
357 |
+
width: 30%;
|
358 |
+
margin: 8px 5% ;
|
359 |
+
padding: 12px 0;
|
360 |
+
background: #F5E836;
|
361 |
+
color: #9D64BC;
|
362 |
+
font-size: 1.25em;
|
363 |
+
text-align: center;
|
364 |
+
border-radius: 3px;
|
365 |
+
}
|
366 |
+
#ewd-ufaq-dashboard-leave-review .ewd-dashboard-content .ewd-dashboard-leave-review-link:hover {
|
367 |
+
background: #F5EE90;
|
368 |
+
color: #9D64BC;
|
369 |
+
text-decoration: none;
|
370 |
+
}
|
371 |
+
#ewd-ufaq-dashboard-leave-review .ewd-dashboard-leave-review-dismiss {
|
372 |
+
position: relative;
|
373 |
+
float: left;
|
374 |
+
background: #262262;
|
375 |
+
border: none;
|
376 |
+
margin: 0;
|
377 |
+
padding: 0;
|
378 |
+
padding: 4px 0;
|
379 |
+
width: 100%;
|
380 |
+
text-align: center;
|
381 |
+
color: #fff;
|
382 |
+
font-size: 12px;
|
383 |
+
cursor: pointer;
|
384 |
+
}
|
385 |
+
|
386 |
.ewd-ufaq-dashboard-box {
|
387 |
color: white;
|
388 |
width: 20%;
|
533 |
|
534 |
input[name=toggle_symbol] {
|
535 |
margin-right: 10px;
|
536 |
+
}
|
html/DashboardPage.php
CHANGED
@@ -1,275 +1,308 @@
|
|
1 |
-
<!-- Upgrade to pro link box -->
|
2 |
-
<!-- TOP BOX-->
|
3 |
-
|
4 |
-
<?php
|
5 |
-
global $wpdb;
|
6 |
-
$Slug_Base = get_option("EWD_UFAQ_Slug_Base");
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
<?php
|
69 |
-
|
70 |
-
<?php
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
<
|
139 |
-
|
140 |
-
<
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
</
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
<
|
160 |
-
<div
|
161 |
-
<
|
162 |
-
<
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
<
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
</
|
208 |
-
|
209 |
-
|
210 |
-
<
|
211 |
-
|
212 |
-
</div>
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
<
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
<
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!-- Upgrade to pro link box -->
|
2 |
+
<!-- TOP BOX-->
|
3 |
+
|
4 |
+
<?php
|
5 |
+
global $wpdb;
|
6 |
+
$Slug_Base = get_option("EWD_UFAQ_Slug_Base");
|
7 |
+
|
8 |
+
//start review box
|
9 |
+
if(get_option('EWD_UFAQ_Hide_Dash_Review_Ask')){
|
10 |
+
$hideReview = get_option('EWD_UFAQ_Hide_Dash_Review_Ask');
|
11 |
+
}
|
12 |
+
else {
|
13 |
+
add_option('EWD_UFAQ_Hide_Dash_Review_Ask', 'No');
|
14 |
+
}
|
15 |
+
$hideReviewBox = $_POST["hide_ufaq_review_box_hidden"];
|
16 |
+
if($hideReviewBox == 'Yes'){
|
17 |
+
update_option('EWD_UFAQ_Hide_Dash_Review_Ask', 'Yes');
|
18 |
+
header('Location: admin.php?page=EWD-UFAQ-Options');
|
19 |
+
}
|
20 |
+
//end review box
|
21 |
+
?>
|
22 |
+
|
23 |
+
<div id="fade" class="ewd-ufaq-dark_overlay"></div>
|
24 |
+
|
25 |
+
<div id="ewd-dashboard-top" class="metabox-holder">
|
26 |
+
<?php
|
27 |
+
if ($UFAQ_Full_Version != "Yes" or get_option("EWD_UFAQ_Trial_Happening") == "Yes") { ?>
|
28 |
+
<div id="side-sortables" class="metabox-holder ">
|
29 |
+
<div id="upcp_pro" class="postbox " >
|
30 |
+
<div class="handlediv" title="Click to toggle"></div><h3 class='hndle'><span><?php _e("Full Version", 'EWD_UFAQ') ?></span></h3>
|
31 |
+
<div class="inside">
|
32 |
+
<ul><li><a href="http://www.etoilewebdesign.com/plugins/ultimate-faqs/"><?php _e("Upgrade to the full version ", "EWD_UFAQ"); ?></a><?php _e("to take advantage of all the available features of Ultimate FAQs for Wordpress!", 'EWD_UFAQ'); ?></li>
|
33 |
+
<?php if (get_option("EWD_UFAQ_Trial_Happening") == "Yes") { ?><li><strong>Your trial expires at <?php echo date("Y-m-d H:i:s", get_option("EWD_UFAQ_Trial_Expiry_Time")); ?> GMT</strong>, upgrade before then to retain any premium changes made!</li>
|
34 |
+
<?php } elseif (!get_option("EWD_UFAQ_Trial_Happening")) { ?><li>Want to try out the features first? Use code "EWD Trial" for a 7 day trial!</li><?php } ?>
|
35 |
+
</ul>
|
36 |
+
<h3 class='hndle'><span><?php _e("What you get by upgrading:", 'EWD_UFAQ') ?></span></h3>
|
37 |
+
<ul>
|
38 |
+
<li>Ability to add a unique FAQ tab to each WooCommerce product page.</li>
|
39 |
+
<li>Premium shortcodes to accept questions from users and insert an AJAX FAQ search.</li>
|
40 |
+
<li>Additional FAQ style skins, dozens of styling and labeling options and much more!</li>
|
41 |
+
<li>Access to e-mail support.</li>
|
42 |
+
</ul>
|
43 |
+
<div class="full-version-form-div">
|
44 |
+
<form action="edit.php?post_type=ufaq" method="post">
|
45 |
+
<div class="form-field form-required">
|
46 |
+
<label for="Key"><?php _e("Product Key", 'EWD_UFAQ') ?></label>
|
47 |
+
<input name="Key" type="text" value="" size="40" />
|
48 |
+
</div>
|
49 |
+
<input type="submit" name="EWD_UFAQ_Upgrade_To_Full" value="<?php _e('Upgrade', 'EWD_UFAQ') ?>">
|
50 |
+
</form>
|
51 |
+
</div>
|
52 |
+
</div>
|
53 |
+
</div>
|
54 |
+
</div>
|
55 |
+
<?php } ?>
|
56 |
+
|
57 |
+
<?php
|
58 |
+
EWD_UFAQ_Get_EWD_Blog();
|
59 |
+
EWD_UFAQ_Get_Changelog();
|
60 |
+
/*
|
61 |
+
if (get_option("EWD_UFAQ_Update_Flag") == "Yes" or get_option("EWD_UFAQ_Install_Flag") == "Yes") {?>
|
62 |
+
<div id="side-sortables" class="metabox-holder ">
|
63 |
+
<div id="EWD_UFAQ_pro" class="postbox " >
|
64 |
+
<div class="handlediv" title="Click to toggle"></div>
|
65 |
+
<h3 class='hndle'><span><?php _e("Thank You!", 'EWD_UFAQ') ?></span></h3>
|
66 |
+
<div class="inside">
|
67 |
+
<?php if (get_option("EWD_UFAQ_Install_Flag") == "Yes") { ?><ul><li><?php _e("Thanks for installing the Ultimate FAQs plugin.", "EWD_UFAQ"); ?><br> <a href='https://www.youtube.com/channel/UCZPuaoetCJB1vZOmpnMxJNw'><?php _e("Subscribe to our YouTube channel ", "EWD_UFAQ"); ?></a> <?php _e("for tutorial videos on this and our other plugins!", "EWD_UFAQ");?> </li></ul>
|
68 |
+
<?php } else { ?><ul><li><?php _e("Thanks for upgrading to version 1.3.1!", "EWD_UFAQ"); ?><br> <a href='https://wordpress.org/support/view/plugin-reviews/ultimate-faqs?filter=5'><?php _e("Please rate our plugin", "EWD_UFAQ"); ?></a> <?php _e("if you find Ultimate FAQs useful!", "EWD_UFAQ");?> </li></ul><?php } ?>
|
69 |
+
|
70 |
+
<?php /* if (get_option("EWD_UFAQ_Install_Flag") == "Yes") { ?><ul><li><?php _e("Thanks for installing the Ultimate Product Catalogue Plugin.", "EWD_UFAQ"); ?><br> <a href='http://www.facebook.com/EtoileWebDesign'><?php _e("Follow us on Facebook", "EWD_UFAQ"); ?></a> <?php _e("to suggest new features or hear about upcoming ones!", "EWD_UFAQ");?> </li></ul>
|
71 |
+
<?php } else { ?><ul><li><?php _e("Thanks for upgrading to version 2.2.9!", "EWD_UFAQ"); ?><br> <a href='http://www.facebook.com/EtoileWebDesign'><?php _e("Follow us on Facebook", "EWD_UFAQ"); ?></a> <?php _e("to suggest new features or hear about upcoming ones!", "EWD_UFAQ");?> </li></ul><?php } */ ?>
|
72 |
+
|
73 |
+
<?php /* if (get_option("EWD_UFAQ_Install_Flag") == "Yes") { ?><ul><li><?php _e("Thanks for installing the Ultimate Product Catalogue Plugin.", "EWD_UFAQ"); ?><br> <a href='http://www.facebook.com/EtoileWebDesign'><?php _e("Follow us on Facebook", "EWD_UFAQ"); ?></a> <?php _e("to suggest new features or hear about upcoming ones!", "EWD_UFAQ");?> </li></ul>
|
74 |
+
<?php } else { ?><ul><li><?php _e("Thanks for upgrading to version 3.0.16!", "EWD_UFAQ"); ?><br> <a href='http://wordpress.org/support/view/plugin-reviews/ultimate-product-catalogue'><?php _e("Please rate our plugin", "EWD_UFAQ"); ?></a> <?php _e("if you find the Ultimate Product Catalogue Plugin useful!", "EWD_UFAQ");?> </li></ul><?php } */ ?>
|
75 |
+
|
76 |
+
<?php /* if (get_option("EWD_UFAQ_Install_Flag") == "Yes") { ?><ul><li><?php _e("Thanks for installing the Ultimate Product Catalogue Plugin.", "EWD_UFAQ"); ?><br> <a href='http://www.facebook.com/EtoileWebDesign'><?php _e("Follow us on Facebook", "EWD_UFAQ"); ?></a> <?php _e("to suggest new features or hear about upcoming ones!", "EWD_UFAQ");?> </li></ul>
|
77 |
+
<?php } else { ?><ul><li><?php _e("Thanks for upgrading to version 3.4.8!", "EWD_UFAQ"); ?><br> <a href='http://wordpress.org/plugins/order-tracking/'><?php _e("Try out order tracking plugin ", "EWD_UFAQ"); ?></a> <?php _e("if you ship orders and find the Ultimate Product Catalogue Plugin useful!", "EWD_UFAQ");?> </li></ul><?php } */ ?>
|
78 |
+
|
79 |
+
<?php /* if (get_option("EWD_UFAQ_Install_Flag") == "Yes") { ?><ul><li><?php _e("Thanks for installing the Ultimate Product Catalogue Plugin.", "EWD_UFAQ"); ?><br> <a href='http://www.facebook.com/EtoileWebDesign'><?php _e("Follow us on Facebook", "EWD_UFAQ"); ?></a> <?php _e("to suggest new features or hear about upcoming ones!", "EWD_UFAQ");?> </li></ul>
|
80 |
+
<?php } else { ?><ul><li><?php _e("Thanks for upgrading to version 2.3.9!", "EWD_UFAQ"); ?><br> <a href='http://wordpress.org/support/topic/error-hunt'><?php _e("Please let us know about any small display/functionality errors. ", "EWD_UFAQ"); ?></a> <?php _e("We've noticed a couple, and would like to eliminate as many as possible.", "EWD_UFAQ");?> </li></ul><?php } */ ?>
|
81 |
+
|
82 |
+
<?php /* if (get_option("EWD_UFAQ_Install_Flag") == "Yes") { ?><ul><li><?php _e("Thanks for installing the Ultimate Product Catalogue Plugin.", "EWD_UFAQ"); ?><br> <a href='https://www.youtube.com/channel/UCZPuaoetCJB1vZOmpnMxJNw'><?php _e("Check out our YouTube channel ", "EWD_UFAQ"); ?></a> <?php _e("for tutorial videos on this and our other plugins!", "EWD_UFAQ");?> </li></ul>
|
83 |
+
<?php } elseif ($Full_Version == "Yes") { ?><ul><li><?php _e("Thanks for upgrading to version 3.5.0!", "EWD_UFAQ"); ?><br> <a href='http://www.facebook.com/EtoileWebDesign'><?php _e("Follow us on Facebook", "EWD_UFAQ"); ?></a> <?php _e("to suggest new features or hear about upcoming ones!", "EWD_UFAQ");?> </li></ul>
|
84 |
+
<?php } else { ?><ul><li><?php _e("Thanks for upgrading to version 3.4!", "EWD_UFAQ"); ?><br> <?php _e("Love the plugin but don't need the premium version? Help us speed up product support and development by donating. Thanks for using the plugin!", "EWD_UFAQ");?>
|
85 |
+
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
|
86 |
+
<input type="hidden" name="cmd" value="_s-xclick">
|
87 |
+
<input type="hidden" name="hosted_button_id" value="AQLMJFJ62GEFJ">
|
88 |
+
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
|
89 |
+
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
|
90 |
+
</form>
|
91 |
+
</li></ul>
|
92 |
+
<?php } ?>
|
93 |
+
|
94 |
+
</div>
|
95 |
+
</div>
|
96 |
+
</div>
|
97 |
+
<?php
|
98 |
+
EWD_UFAQ_Get_EWD_Blog();
|
99 |
+
EWD_UFAQ_Get_Changelog();
|
100 |
+
update_option('EWD_UFAQ_Update_Flag', "No");
|
101 |
+
update_option('EWD_UFAQ_Install_Flag', "No");
|
102 |
+
}*/
|
103 |
+
?>
|
104 |
+
|
105 |
+
|
106 |
+
<div id="ewd-dashboard-box-orders" class="ewd-ufaq-dashboard-box" >
|
107 |
+
<div class="ewd-dashboard-box-icon"><img src="<?php echo plugins_url(); ?>/ultimate-faqs/images/ewd-dashboard-icon-ufaq-01.png"/>
|
108 |
+
</div>
|
109 |
+
<div class="ewd-dashboard-box-value-and-field-container">
|
110 |
+
<div class="ewd-dashboard-box-value"><span class="displaying-num"><?php echo $wpdb->get_var("SELECT COUNT(ID) FROM $wpdb->posts WHERE post_type='ufaq' AND post_status='publish'"); ?></span>
|
111 |
+
</div>
|
112 |
+
<div class="ewd-dashboard-box-field">FAQs
|
113 |
+
</div>
|
114 |
+
</div>
|
115 |
+
</div>
|
116 |
+
<div id="ewd-dashboard-box-views" class="ewd-ufaq-dashboard-box" >
|
117 |
+
<div class="ewd-dashboard-box-icon"><img src="<?php echo plugins_url(); ?>/ultimate-faqs/images/ewd-dashboard-icon-ufaq-02.png"/>
|
118 |
+
</div>
|
119 |
+
<div class="ewd-dashboard-box-value-and-field-container">
|
120 |
+
<div class="ewd-dashboard-box-value"><?php echo $wpdb->get_var("SELECT SUM(meta_value) FROM $wpdb->postmeta WHERE meta_key='ufaq_view_count' and post_id!='0'"); ?>
|
121 |
+
</div>
|
122 |
+
<div class="ewd-dashboard-box-field">Views
|
123 |
+
</div>
|
124 |
+
</div>
|
125 |
+
</div>
|
126 |
+
<div id="ewd-dashboard-box-links" class="ewd-ufaq-dashboard-box" >
|
127 |
+
<div class="ewd-dashboard-box-icon"><img src="<?php echo plugins_url(); ?>/ultimate-faqs/images/ewd-dashboard-icon-ufaq-03.png"/>
|
128 |
+
</div>
|
129 |
+
<div class="ewd-dashboard-box-value-and-field-container">
|
130 |
+
<div class="ewd-dashboard-box-value"><?php echo $wpdb->get_var("SELECT meta_value FROM $wpdb->postmeta WHERE meta_key='ufaq_view_count' and post_id!='0' ORDER BY cast(meta_value as unsigned) DESC"); ?>
|
131 |
+
</div>
|
132 |
+
<div class="ewd-dashboard-box-field">Most FAQ Views
|
133 |
+
</div>
|
134 |
+
</div>
|
135 |
+
</div>
|
136 |
+
|
137 |
+
<div id="ewd-dashboard-box-support" class="ewd-ufaq-dashboard-box" >
|
138 |
+
<div class="ewd-dashboard-box-icon"><img src="<?php echo plugins_url(); ?>/ultimate-faqs/images/ufaq-buttonsicons-04.png"/>
|
139 |
+
</div>
|
140 |
+
<div class="ewd-dashboard-box-value-and-field-container">
|
141 |
+
<div class="ewd-dashboard-box-support-value">
|
142 |
+
<form id="form1" runat="server">
|
143 |
+
<a href="javascript:void(0)" onclick="document.getElementById('light').style.display='block';document.getElementById('fade').style.display='block'">Click here for support</a>
|
144 |
+
</div>
|
145 |
+
</div>
|
146 |
+
</div>
|
147 |
+
<div id="light" class="ewd-ufaq-bright_content">
|
148 |
+
<asp:Label ID="lbltext" runat="server" Text="Hey there!"></asp:Label>
|
149 |
+
<a href="javascript:void(0)" onclick="document.getElementById('light').style.display='none';document.getElementById('fade').style.display='none'">Close</a>
|
150 |
+
</br>
|
151 |
+
<h2>Need help?</h2>
|
152 |
+
<p>You may find the information you need with our support tools.</p>
|
153 |
+
<a href="https://www.youtube.com/playlist?list=PLEndQUuhlvSrNdfu5FKa1uGHsaKZxgdWt"><img src="<?php echo plugins_url(); ?>/ultimate-faqs/images/support_icons_ufaq-01.png" /></a>
|
154 |
+
<a href="https://www.youtube.com/playlist?list=PLEndQUuhlvSrNdfu5FKa1uGHsaKZxgdWt"><h4>Youtube Tutorials</h4></a>
|
155 |
+
<p>Our tutorials show you the basics of setting up your plugin, to the more specific utilization of our features.</p>
|
156 |
+
<div class="ewd-ufaq-clear"></div>
|
157 |
+
<a href="https://wordpress.org/support/plugin/ultimate-faqs"><img src="<?php echo plugins_url(); ?>/ultimate-faqs/images/support_icons_ufaq-03.png"/></a>
|
158 |
+
<a href="https://wordpress.org/support/plugin/ultimate-faqs"><h4>WordPress Forum</h4></a>
|
159 |
+
<p>We make sure to answer your questions within a 24hrs frame during our business days. Search within our threads to find your answers. If it has not been addressed, please create a new thread!</p>
|
160 |
+
<div class="ewd-ufaq-clear"></div>
|
161 |
+
<a href="http://www.etoilewebdesign.com/plugins/ultimate-faq/documentation-ultimate-faq/"><img src="<?php echo plugins_url(); ?>/ultimate-faqs/images/support_icons_ufaq-02.png"/></a>
|
162 |
+
<a href="http://www.etoilewebdesign.com/plugins/ultimate-faq/documentation-ultimate-faq/"><h4>Documentation</h4></a>
|
163 |
+
<p>Most information concerning the installation, the shortcodes and the features are found within our documentation page.</p>
|
164 |
+
</div>
|
165 |
+
</form>
|
166 |
+
|
167 |
+
<!--END TOP BOX-->
|
168 |
+
</div>
|
169 |
+
|
170 |
+
|
171 |
+
|
172 |
+
<!--Middle box-->
|
173 |
+
<div class="ewd-dashboard-middle">
|
174 |
+
<div id="col-full">
|
175 |
+
<h3 class="ewd-ufaq-dashboard-h3">FAQ Summary</h3>
|
176 |
+
<div>
|
177 |
+
<table class='ewd-ufaq-overview-table wp-list-table widefat fixed striped posts'>
|
178 |
+
<thead>
|
179 |
+
<tr>
|
180 |
+
<th><?php _e("Title", 'EWD_ABCO'); ?></th>
|
181 |
+
<th><?php _e("Views", 'EWD_ABCO'); ?></th>
|
182 |
+
<th><?php _e("Categories", 'EWD_ABCO'); ?></th>
|
183 |
+
</tr>
|
184 |
+
</thead>
|
185 |
+
<tbody>
|
186 |
+
<?php
|
187 |
+
$args = array(
|
188 |
+
'post_type' => 'ufaq',
|
189 |
+
'orderby' => 'meta_value_num',
|
190 |
+
'meta_key' => 'ufaq_view_count'
|
191 |
+
);
|
192 |
+
|
193 |
+
$Dashboard_FAQs_Query = new WP_Query($args);
|
194 |
+
$Dashboard_FAQs = $Dashboard_FAQs_Query->get_posts();
|
195 |
+
|
196 |
+
if (sizeOf($Dashboard_FAQs) == 0) {echo "<tr><td colspan='3'>" . __("No FAQs to display yet. Create an FAQ and then view it for it to be displayed here.", 'EWD_UFAQ') . "</td></tr>";}
|
197 |
+
else {
|
198 |
+
foreach ($Dashboard_FAQs as $Dashboard_FAQ) { ?>
|
199 |
+
<tr>
|
200 |
+
<td><a href='post.php?post=<?php echo $Dashboard_FAQ->ID;?>&action=edit'><?php echo $Dashboard_FAQ->post_title; ?></a></td>
|
201 |
+
<td><?php echo get_post_meta($Dashboard_FAQ->ID, 'ufaq_view_count', true); ?></td>
|
202 |
+
<td><?php echo EWD_UFAQ_Get_Categories($Dashboard_FAQ->ID); ?></td>
|
203 |
+
</tr>
|
204 |
+
<?php }
|
205 |
+
}
|
206 |
+
?>
|
207 |
+
</tbody>
|
208 |
+
</table>
|
209 |
+
</div>
|
210 |
+
<br class="clear" />
|
211 |
+
</div>
|
212 |
+
</div>
|
213 |
+
|
214 |
+
<?php if($hideReview != 'Yes'){ ?>
|
215 |
+
<div id='ewd-ufaq-dashboard-leave-review' class='ewd-ufaq-leave-review postbox upcp-postbox-collapsible'>
|
216 |
+
<h3 class='hndle ewd-ufaq-dashboard-h3'>Leave a Review <span></span></h3>
|
217 |
+
<div class='ewd-dashboard-content'>
|
218 |
+
<div class="ewd-dashboard-leave-review-text">
|
219 |
+
If you enjoy this plugin and have a minute, please consider leaving a 5-star review. Thank you!
|
220 |
+
</div>
|
221 |
+
<a href="https://wordpress.org/support/plugin/ultimate-faqs/reviews/" class="ewd-dashboard-leave-review-link" target="_blank">Leave a Review!</a>
|
222 |
+
<div class="clear"></div>
|
223 |
+
</div>
|
224 |
+
<form action="admin.php?page=EWD-UFAQ-Options" method="post">
|
225 |
+
<input type="hidden" name="hide_ufaq_review_box_hidden" value="Yes">
|
226 |
+
<input type="submit" name="hide_ufaq_review_box_submit" class="ewd-dashboard-leave-review-dismiss" value="I've already left a review">
|
227 |
+
</form>
|
228 |
+
</div>
|
229 |
+
<div class="clear"></div>
|
230 |
+
<?php } ?>
|
231 |
+
|
232 |
+
<!-- END MIDDLE BOX -->
|
233 |
+
|
234 |
+
<!-- FOOTER BOX -->
|
235 |
+
<!-- A list of the products in the catalogue -->
|
236 |
+
<div class="ewd-dashboard-footer">
|
237 |
+
<div id='ewd-dashboard-updates' class='ewd-ufaq-updates postbox upcp-postbox-collapsible'>
|
238 |
+
<h3 class='hndle ewd-ufaq-dashboard-h3' id='ewd-recent-changes'><?php _e("Recent Changes", 'UPCP'); ?> <i class="fa fa-cog" aria-hidden="true"></i></h3>
|
239 |
+
<div class='ewd-dashboard-content' ><?php echo get_option('EWD_UFAQ_Changelog_Content'); ?></div>
|
240 |
+
</div>
|
241 |
+
|
242 |
+
<div id='ewd-dashboard-blog' class='ewd-ufaq-blog postbox upcp-postbox-collapsible'>
|
243 |
+
<h3 class='hndle ewd-ufaq-dashboard-h3'>News <i class="fa fa-rss" aria-hidden="true"></i></h3>
|
244 |
+
<div class='ewd-dashboard-content'><?php echo get_option('EWD_UFAQ_Blog_Content'); ?></div>
|
245 |
+
</div>
|
246 |
+
|
247 |
+
<div id="ewd-dashboard-plugins" class='ewd-ufaq-plugins postbox upcp-postbox-collapsible' >
|
248 |
+
<h3 class='hndle ewd-ufaq-dashboard-h3'><span><?php _e("Goes great with:", 'UPCP') ?></span><i class="fa fa-plug" aria-hidden="true"></i></h3>
|
249 |
+
<div class="inside">
|
250 |
+
<div class="ewd-dashboard-plugin-icons">
|
251 |
+
<div style="width:50%">
|
252 |
+
<a target='_blank' href='https://wordpress.org/plugins/ultimate-product-catalogue/'><img style="width:100%" src='<?php echo plugins_url(); ?>/ultimate-faqs/images/UPCP_Icons-07-300x300.png'/></a>
|
253 |
+
</div>
|
254 |
+
<div>
|
255 |
+
<h3>Product Catalog</h3> <p>Enables you to display your business's products in a clean and efficient manner.</p>
|
256 |
+
</div>
|
257 |
+
|
258 |
+
</div>
|
259 |
+
<div class="ewd-dashboard-plugin-icons">
|
260 |
+
<div style="width:50%">
|
261 |
+
<a target='_blank' href='https://wordpress.org/plugins/ultimate-slider/'><img style="width:100%" src='<?php echo plugins_url(); ?>/ultimate-faqs/images/US_Related_Sales_Icon.png'/></a>
|
262 |
+
</div>
|
263 |
+
<div>
|
264 |
+
<h3>Ultimate Slider</h3><p>An easy-to-use slider plugin that lets you add a clean, modern, responsive slider to any WordPress page.</p>
|
265 |
+
</div>
|
266 |
+
|
267 |
+
</div>
|
268 |
+
</div>
|
269 |
+
</div>
|
270 |
+
</div>
|
271 |
+
</div>
|
272 |
+
|
273 |
+
|
274 |
+
<?php
|
275 |
+
function EWD_UFAQ_Get_EWD_Blog() {
|
276 |
+
$Blog_URL = EWD_UFAQ_CD_PLUGIN_PATH . 'Blog.html';
|
277 |
+
$Blog = file_get_contents($Blog_URL);
|
278 |
+
|
279 |
+
update_option('EWD_UFAQ_Blog_Content', $Blog);
|
280 |
+
}
|
281 |
+
|
282 |
+
function EWD_UFAQ_Get_Changelog() {
|
283 |
+
$Readme_URL = EWD_UFAQ_CD_PLUGIN_PATH . 'readme.txt';
|
284 |
+
$Readme = file_get_contents($Readme_URL);
|
285 |
+
|
286 |
+
$Changes_Start = strpos($Readme, "== Changelog ==") + 15;
|
287 |
+
$Changes_Section = substr($Readme, $Changes_Start);
|
288 |
+
|
289 |
+
$Changes_Text = substr($Changes_Section, 0, strposX($Changes_Section, "=", 5));
|
290 |
+
|
291 |
+
$Changes_Text = str_replace("= ", "<h3>", $Changes_Text);
|
292 |
+
$Changes_Text = str_replace(" =", "</h3>", $Changes_Text);
|
293 |
+
$Changes_Text = str_replace("- ", "<br />- ", $Changes_Text);
|
294 |
+
|
295 |
+
update_option('EWD_UFAQ_Changelog_Content', $Changes_Text);
|
296 |
+
}
|
297 |
+
|
298 |
+
function strposX($haystack, $needle, $number){
|
299 |
+
if($number == '1'){
|
300 |
+
return strpos($haystack, $needle);
|
301 |
+
}elseif($number > '1'){
|
302 |
+
return strpos($haystack, $needle, strposX($haystack, $needle, $number - 1) + strlen($needle));
|
303 |
+
}else{
|
304 |
+
return error_log('Error: Value for parameter $number is out of range');
|
305 |
+
}
|
306 |
+
}
|
307 |
+
|
308 |
+
?>
|
readme.txt
CHANGED
@@ -2,19 +2,22 @@
|
|
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, microdata
|
4 |
Requires at least: 3.9.0
|
5 |
-
Tested up to: 4.
|
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 |
|
13 |
<a href='http://www.etoilewebdesign.com/ultimate-faq-demo/'>FAQ Demo</a>
|
14 |
|
15 |
-
|
|
|
|
|
16 |
|
17 |
-
|
18 |
|
19 |
`
|
20 |
[ultimate-faqs]
|
@@ -22,16 +25,6 @@ FAQ plugin that lets you create FAQ, organize FAQ and publicize your FAQ in no t
|
|
22 |
|
23 |
Simply insert the shortcode above into any page to display your FAQs.
|
24 |
|
25 |
-
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!
|
26 |
-
|
27 |
-
= Add FAQ to WooCommerce! =
|
28 |
-
|
29 |
-
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!
|
30 |
-
|
31 |
-
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.
|
32 |
-
|
33 |
-
Ultimate FAQ uses the WordPress custom post type functionality to create an FAQ post type, allowing for smart and easy FAQ integration.
|
34 |
-
|
35 |
= Key FAQ Features =
|
36 |
* Unlimited FAQ, unlimited FAQ tag and unlimited FAQ category support
|
37 |
* Create FAQ categories
|
@@ -39,27 +32,54 @@ Ultimate FAQ uses the WordPress custom post type functionality to create an FAQ
|
|
39 |
* An AJAX FAQ search form
|
40 |
* Export all FAQs to a PDF to create a user manual
|
41 |
* Insert custom CSS to style your FAQ posts
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
* Select FAQ animation options for displaying FAQ posts
|
43 |
* Toggle FAQ accordion (close open FAQ when a new one is opened) behaviour on/off
|
44 |
-
*
|
45 |
* Microdata question schema, to help with SEO
|
46 |
* Responsive FAQ design
|
|
|
|
|
|
|
|
|
|
|
47 |
|
48 |
= Premium FAQ features include =
|
49 |
* Choose from 15 toggle icon sets
|
50 |
* WooCommerce FAQ tab with specific FAQs for each product on product page (<a href='https://www.youtube.com/watch?v=cH3p0fW4c5o'>YouTube Video</a>)
|
51 |
* Different FAQ display styles for your frequently asked questions
|
|
|
52 |
* User-submitted FAQs and also (optionally) answers
|
53 |
* Admin notification on FAQ submission
|
54 |
* AJAX easy FAQ search with autocomplete for FAQ titles
|
|
|
55 |
* Import/Export of FAQs from spreadsheet
|
56 |
* Export FAQs to PDF
|
57 |
* SEO-Friendly FAQ, FAQ category and FAQ tag permalinks
|
58 |
* Advanced FAQ styling options
|
59 |
-
*
|
|
|
60 |
|
61 |
= FAQ Shortcodes =
|
62 |
-
|
63 |
* [ultimate-faqs]: display all FAQs, or only specific FAQ categories using include_category and exclude_category attributes (both take a comma-separated list of category slugs)
|
64 |
* [popular-faqs]: displays a number of the most viewed FAQs (5 unless specified).
|
65 |
* [recent-faqs]: displays a number of the most recently added FAQs (5 unless specified).
|
@@ -67,11 +87,15 @@ Ultimate FAQ uses the WordPress custom post type functionality to create an FAQ
|
|
67 |
* [ultimate-faq-search]: display an FAQ search form that allows users to find FAQs with a specific string in the FAQ title or body of the FAQ post (premium).
|
68 |
* [submit-question]: display a form that allows users to submit FAQs of their own and, if enabled, enter an FAQ answer to their submitted FAQ question as well (premium).
|
69 |
|
70 |
-
|
71 |
-
<https://wordpress.org/plugins/ultimate-faqs/faq/>
|
72 |
|
73 |
-
|
74 |
-
|
|
|
|
|
|
|
|
|
|
|
75 |
|
76 |
-----------------------------------------------------------------------------------
|
77 |
|
@@ -127,7 +151,7 @@ For help and support, please see:
|
|
127 |
|
128 |
= How do I get my FAQs to show up on my page? =
|
129 |
|
130 |
-
Try adding the shortcode [ultimate-faqs] to whatever page you'd like to display the FAQ on.
|
131 |
|
132 |
= What are the current FAQ shortcodes? =
|
133 |
|
@@ -144,13 +168,15 @@ The FAQ shortcode accepts two attributes, "include_category" and "exclude_catego
|
|
144 |
|
145 |
[ultimate-faqs include_category='cars']
|
146 |
|
|
|
|
|
147 |
= Can I hide my FAQ categories? =
|
148 |
|
149 |
Yes, you can choose to display or hide FAQ categories on the FAQ settings page.
|
150 |
|
151 |
= Is it possible to re-order my FAQs? =
|
152 |
|
153 |
-
Currently you can choose between ascending or descending ordering for your FAQ by either Title, Date Created, or Date Modified.
|
154 |
|
155 |
With the premium version, you can use the FAQ drag and drop ordering table to set exactly the order you want for your FAQs.
|
156 |
|
@@ -174,6 +200,13 @@ For a specific product, create an FAQ category with the same name as the product
|
|
174 |
|
175 |
For a category of WooCommerce products, create an FAQ category with the same name as the WooCommerce category, and then select that category for all of the FAQs you want included on your product page.
|
176 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
177 |
= How do I customize my FAQs, for example, to change the font? =
|
178 |
|
179 |
You can customize the plugin by adding code to the Custom CSS box on the FAQ settings page, go to the "Custom CSS" box. For example to change the font you might want to add something like:
|
@@ -204,12 +237,19 @@ Video 3 - FAQs Ordering
|
|
204 |
3. Example of the "Block" FAQ display style
|
205 |
4. The AJAX FAQ search shortcode in use
|
206 |
5. Simple user submitted FAQs form
|
207 |
-
6.
|
208 |
-
7.
|
209 |
-
8.
|
210 |
-
9.
|
|
|
|
|
|
|
|
|
211 |
|
212 |
== Changelog ==
|
|
|
|
|
|
|
213 |
= 1.5.12 =
|
214 |
- Introducing a free new premium 7-day trial feature, which users can choose to test out before buying the premium version
|
215 |
|
@@ -275,8 +315,8 @@ Video 3 - FAQs Ordering
|
|
275 |
= 1.4.0 =
|
276 |
- Added two new FAQ display styles, minimalist and border block
|
277 |
- Added in support for comments directly in the FAQs if enabled
|
278 |
-
- Added two new premium features, FAQ ratings and FAQ custom fields
|
279 |
-
- Added a premium styling option to let users select which heading the FAQ and comment
|
280 |
|
281 |
= 1.3.6 =
|
282 |
- Minor CSS update
|
@@ -297,7 +337,7 @@ Video 3 - FAQs Ordering
|
|
297 |
- Fixed a JS error that was preventing the new shortcode helper from working with other plugins that modify the visual editor
|
298 |
|
299 |
= 1.3.0 =
|
300 |
-
- Added a feature that has been requested by a number of users, an FAQ shortcode helper, which lets you build shortcodes without having to remember and manually input the attributes. This feature can be turned off via the settings page, if you'd like to keep your tinyMCE button bar free of extra buttons
|
301 |
- Fixed an error where category titles were no longer displaying
|
302 |
|
303 |
= 1.2.11 =
|
@@ -325,7 +365,7 @@ Video 3 - FAQs Ordering
|
|
325 |
= 1.2.4 =
|
326 |
- Fixed an error where FAQs on the same page as the search shortcode couldn't be clicked at times
|
327 |
|
328 |
-
= 1.2.3 =
|
329 |
- Added in WPML support for the main shortcodes
|
330 |
- Fixed an error with a missing ID tag
|
331 |
|
@@ -387,7 +427,7 @@ Video 3 - FAQs Ordering
|
|
387 |
= 1.1.5 =
|
388 |
- Fixed a problem with FAQ permalinks not opening in the list
|
389 |
|
390 |
-
= 1.1.4 =
|
391 |
- Fixed a conflict with WooCommerce, where a UFAQ script was keeping product information tabs open
|
392 |
|
393 |
= 1.1.3 =
|
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, microdata
|
4 |
Requires at least: 3.9.0
|
5 |
+
Tested up to: 4.7
|
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 |
+
|
13 |
|
14 |
<a href='http://www.etoilewebdesign.com/ultimate-faq-demo/'>FAQ Demo</a>
|
15 |
|
16 |
+
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 toggle FAQ and/or accordion FAQ style, to display one expanded FAQ answer on click, or choose to display all FAQs on page load, with the optional list FAQ style that offers a more traditional FAQ layout.
|
17 |
+
|
18 |
+
<strong>With WooCommerce Integration!</strong> See the "Add FAQ to WooCommerce" section below for full details and features.
|
19 |
|
20 |
+
** We are also pleased to announce the introduction of a free new premium 7-day trial feature, which users can choose to test out before buying the premium version! **
|
21 |
|
22 |
`
|
23 |
[ultimate-faqs]
|
25 |
|
26 |
Simply insert the shortcode above into any page to display your FAQs.
|
27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
= Key FAQ Features =
|
29 |
* Unlimited FAQ, unlimited FAQ tag and unlimited FAQ category support
|
30 |
* Create FAQ categories
|
32 |
* An AJAX FAQ search form
|
33 |
* Export all FAQs to a PDF to create a user manual
|
34 |
* Insert custom CSS to style your FAQ posts
|
35 |
+
|
36 |
+
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.
|
37 |
+
|
38 |
+
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.!
|
39 |
+
|
40 |
+
[youtube https://www.youtube.com/watch?v=xeGVZnVrZ6I]
|
41 |
+
|
42 |
+
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. 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!
|
43 |
+
|
44 |
+
With the smart [submit-question] FAQ shortcode (premium), you can let your customers add to your custom FAQ list by submitting an FAQ question and even proposing an FAQ answer for it!
|
45 |
+
|
46 |
+
= Add FAQ to WooCommerce! =
|
47 |
+
|
48 |
+
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!
|
49 |
+
|
50 |
+
For more information about WooCommerce integration, please see the following video:
|
51 |
+
|
52 |
+
[youtube https://www.youtube.com/watch?v=cH3p0fW4c5o]
|
53 |
+
|
54 |
+
= Additional Features =
|
55 |
* Select FAQ animation options for displaying FAQ posts
|
56 |
* Toggle FAQ accordion (close open FAQ when a new one is opened) behaviour on/off
|
57 |
+
* Allow people to comment on individual FAQ
|
58 |
* Microdata question schema, to help with SEO
|
59 |
* Responsive FAQ design
|
60 |
+
* Group FAQs by category for easy FAQ navigation
|
61 |
+
|
62 |
+
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.
|
63 |
+
|
64 |
+
Ultimate FAQ uses the WordPress custom post type functionality to create an FAQ post type, allowing for smart and easy FAQ integration.
|
65 |
|
66 |
= Premium FAQ features include =
|
67 |
* Choose from 15 toggle icon sets
|
68 |
* WooCommerce FAQ tab with specific FAQs for each product on product page (<a href='https://www.youtube.com/watch?v=cH3p0fW4c5o'>YouTube Video</a>)
|
69 |
* Different FAQ display styles for your frequently asked questions
|
70 |
+
* Share FAQs on social media
|
71 |
* User-submitted FAQs and also (optionally) answers
|
72 |
* Admin notification on FAQ submission
|
73 |
* AJAX easy FAQ search with autocomplete for FAQ titles
|
74 |
+
* Add additional custom fields to your FAQ answer, such as a text area, file, link, date and more
|
75 |
* Import/Export of FAQs from spreadsheet
|
76 |
* Export FAQs to PDF
|
77 |
* SEO-Friendly FAQ, FAQ category and FAQ tag permalinks
|
78 |
* Advanced FAQ styling options
|
79 |
+
* Drag and drop precise re-ordering of FAQs
|
80 |
+
* Change the FAQ permalink slug base
|
81 |
|
82 |
= FAQ Shortcodes =
|
|
|
83 |
* [ultimate-faqs]: display all FAQs, or only specific FAQ categories using include_category and exclude_category attributes (both take a comma-separated list of category slugs)
|
84 |
* [popular-faqs]: displays a number of the most viewed FAQs (5 unless specified).
|
85 |
* [recent-faqs]: displays a number of the most recently added FAQs (5 unless specified).
|
87 |
* [ultimate-faq-search]: display an FAQ search form that allows users to find FAQs with a specific string in the FAQ title or body of the FAQ post (premium).
|
88 |
* [submit-question]: display a form that allows users to submit FAQs of their own and, if enabled, enter an FAQ answer to their submitted FAQ question as well (premium).
|
89 |
|
90 |
+
For further information and purchasing options, please visit our <strong><a href="http://www.etoilewebdesign.com/plugins/ultimate-faq/">WordPress FAQ plugin</a></strong> homepage.
|
|
|
91 |
|
92 |
+
For help and support, please see:
|
93 |
+
|
94 |
+
* Our FAQ page, here: https://wordpress.org/plugins/ultimate-faqs/faq/
|
95 |
+
* Our installation guide, here: https://wordpress.org/plugins/ultimate-faqs/installation/
|
96 |
+
* Our documentation, here: http://www.etoilewebdesign.com/plugins/ultimate-faq/documentation-ultimate-faq/
|
97 |
+
* Our tutorial videos, here: https://www.youtube.com/playlist?list=PLEndQUuhlvSrNdfu5FKa1uGHsaKZxgdWt
|
98 |
+
* The Ultimate FAQ support forum, here: https://wordpress.org/support/plugin/ultimate-faqs
|
99 |
|
100 |
-----------------------------------------------------------------------------------
|
101 |
|
151 |
|
152 |
= How do I get my FAQs to show up on my page? =
|
153 |
|
154 |
+
Try adding the shortcode [ultimate-faqs] to whatever page you'd like to display the FAQ on.
|
155 |
|
156 |
= What are the current FAQ shortcodes? =
|
157 |
|
168 |
|
169 |
[ultimate-faqs include_category='cars']
|
170 |
|
171 |
+
You can now also use the 'include_category_ids' and 'exclude_category_ids' attributes, to let users include categories by ID instead of only by slug
|
172 |
+
|
173 |
= Can I hide my FAQ categories? =
|
174 |
|
175 |
Yes, you can choose to display or hide FAQ categories on the FAQ settings page.
|
176 |
|
177 |
= Is it possible to re-order my FAQs? =
|
178 |
|
179 |
+
Currently you can choose between ascending or descending ordering for your FAQ by either Title, Date Created, or Date Modified.
|
180 |
|
181 |
With the premium version, you can use the FAQ drag and drop ordering table to set exactly the order you want for your FAQs.
|
182 |
|
200 |
|
201 |
For a category of WooCommerce products, create an FAQ category with the same name as the WooCommerce category, and then select that category for all of the FAQs you want included on your product page.
|
202 |
|
203 |
+
= How do I limit the number of posts generated by a shortcode =
|
204 |
+
|
205 |
+
For the [ultimate-faqs], [popular-faqs] and [recent-faqs] shortcodes, you can use the post_count attribute to limit the number of posts shown. For example:
|
206 |
+
|
207 |
+
`[ultimate-faqs post_count='9']
|
208 |
+
`
|
209 |
+
|
210 |
= How do I customize my FAQs, for example, to change the font? =
|
211 |
|
212 |
You can customize the plugin by adding code to the Custom CSS box on the FAQ settings page, go to the "Custom CSS" box. For example to change the font you might want to add something like:
|
237 |
3. Example of the "Block" FAQ display style
|
238 |
4. The AJAX FAQ search shortcode in use
|
239 |
5. Simple user submitted FAQs form
|
240 |
+
6. All answers displayed in the 'list' FAQ mode
|
241 |
+
7. WooCommerce product page with "FAQs" tab
|
242 |
+
8. Example of FAQ page with custom FAQ font icons
|
243 |
+
9. Ultimate FAQs plugin dashboard
|
244 |
+
10. Admin area showing all FAQs with their number of views as well as their categories
|
245 |
+
11. Admin simple drag-and-drop FAQ ordering area
|
246 |
+
12. Responsive, simple FAQ toggle and FAQ styling options with precise color controls
|
247 |
+
13. View of FAQ custom fields in the admin
|
248 |
|
249 |
== Changelog ==
|
250 |
+
= 1.5.13 =
|
251 |
+
- Fixed an error where using the trial in this plugin reset the trials for a number of our other plugins
|
252 |
+
|
253 |
= 1.5.12 =
|
254 |
- Introducing a free new premium 7-day trial feature, which users can choose to test out before buying the premium version
|
255 |
|
315 |
= 1.4.0 =
|
316 |
- Added two new FAQ display styles, minimalist and border block
|
317 |
- Added in support for comments directly in the FAQs if enabled
|
318 |
+
- Added two new premium features, FAQ ratings and FAQ custom fields
|
319 |
+
- Added a premium styling option to let users select which heading the FAQ and comment titles have (h1, h2, etc.)
|
320 |
|
321 |
= 1.3.6 =
|
322 |
- Minor CSS update
|
337 |
- Fixed a JS error that was preventing the new shortcode helper from working with other plugins that modify the visual editor
|
338 |
|
339 |
= 1.3.0 =
|
340 |
+
- Added a feature that has been requested by a number of users, an FAQ shortcode helper, which lets you build shortcodes without having to remember and manually input the attributes. This feature can be turned off via the settings page, if you'd like to keep your tinyMCE button bar free of extra buttons
|
341 |
- Fixed an error where category titles were no longer displaying
|
342 |
|
343 |
= 1.2.11 =
|
365 |
= 1.2.4 =
|
366 |
- Fixed an error where FAQs on the same page as the search shortcode couldn't be clicked at times
|
367 |
|
368 |
+
= 1.2.3 =
|
369 |
- Added in WPML support for the main shortcodes
|
370 |
- Fixed an error with a missing ID tag
|
371 |
|
427 |
= 1.1.5 =
|
428 |
- Fixed a problem with FAQ permalinks not opening in the list
|
429 |
|
430 |
+
= 1.1.4 =
|
431 |
- Fixed a conflict with WooCommerce, where a UFAQ script was keeping product information tabs open
|
432 |
|
433 |
= 1.1.3 =
|