Skip to content

Commit bc4f66d

Browse files
committed
update files for v1.5.0 release
1 parent 1e25b74 commit bc4f66d

File tree

4 files changed

+20
-16
lines changed

4 files changed

+20
-16
lines changed

includes/class-arconix-faq-admin.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function __construct() {
3535
* @version 1.4.0
3636
*/
3737
function constants() {
38-
define( 'ACFAQ_VERSION', '1.4.3' );
38+
define( 'ACFAQ_VERSION', '1.5.0' );
3939
define( 'ACFAQ_URL', trailingslashit( plugin_dir_url( __FILE__ ) ) );
4040
define( 'ACFAQ_DIR', trailingslashit( plugin_dir_path( __FILE__ ) ) );
4141
}
@@ -257,7 +257,7 @@ function enq_scripts() {
257257
$ui = $wp_scripts->query( 'jquery-ui-core' );
258258

259259
$css_args = apply_filters( 'arconix_jqueryui_css_reg', array(
260-
'url' => '//ajax.googleapis.com/ajax/libs/jqueryui/' . $ui->ver . '/themes/smoothness/jquery-ui.css',
260+
'url' => '//ajax.googleapis.com/ajax/libs/jqueryui/' . $ui->ver . '/themes/smoothness/jquery-ui.min.css',
261261
'ver' => $ui->ver,
262262
'dep' => false
263263
) );

includes/css/arconix-faq.css

+4-3
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,10 @@ p.arconix-faq-term-description { font-style: italic; }
7474

7575
/* Accordion Title
7676
------------------------------------------------------------ */
77-
.arconix-faq-accordion-title {
78-
// This replaces the default background for the "smoothness" jQuery UI theme
79-
// If you're going to load a different theme, you may want to remove this line
77+
.ui-state-default {
78+
/* This replaces the default background for the "smoothness" jQuery UI theme
79+
If you're going to load a different theme, you may want to remove this line
80+
*/
8081
background: #fbfbfb;
8182
}
8283

plugin.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Plugin URI: http://arconixpc.com/plugins/arconix-faq
55
* Description: Plugin to handle the display of FAQs
66
*
7-
* Version: 1.4.3
7+
* Version: 1.5.0
88
*
99
* Author: John Gardner
1010
* Author URI: http://arconixpc.com/

readme.txt

+13-10
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@ Donate link: http://arcnx.co/acfdonation
44
Tags: arconix, faq, toggle
55
Requires at least: 3.8
66
Tested up to: 3.9
7-
Stable tag: 1.4.3
7+
Stable tag: 1.5.0
88

99
Arconix FAQ provides an easy way to add FAQ items to your website.
1010

1111
== Description ==
1212

13-
Utilizing Custom Post Types, this plugin allows the user to easily add FAQ items to his/her website. Display them using the supplied shortcode (`[faq]`) and show/hide them via an animated, jQuery toggle box.
13+
Utilizing Custom Post Types, this plugin allows the user to easily add FAQ items to his/her website. Display them using the supplied shortcode (`[faq]`) and show/hide them via an animated, jQuery toggle or accordion box.
1414
The FAQ's can be displayed in groups by tagging them during the FAQ item's creation. They can also be loaded closed or open, and for long FAQ's, there's a checkbox to add a "return to top" link at the bottom.
1515

1616
[Live Demo](http://demo.arconixpc.com/arconix-faq)
1717

1818
= Features =
1919
* Custom Post-Type driven
20-
* jQuery toggle when using the shortcode
20+
* jQuery toggle or accordion display when using the shortcode
2121
* Can be displayed in groups by using the "group" taxonomy
2222

2323
== Installation ==
@@ -33,26 +33,24 @@ Upgrade normally via your WordPress admin -> Plugins panel.
3333
== Frequently Asked Questions ==
3434

3535
= Quick and dirty - how do I display my FAQ's? =
36-
* use the `[faq]` shortcode in a widget or on a post/page.
36+
Use the `[faq]` shortcode in a widget or on a post/page.
3737

38-
= Where can I find more information on how to use the plugin? =
38+
= How do I enable the accordion display mode? =
39+
add `style="accordion"` to the shortcode, e.g. `[faq style="accordion"]
3940

41+
= Where can I find more information on how to use the plugin? =
4042
* Visit the plugin's [Wiki Page](http://arcnx.co/afwiki) for documentation
4143
* Tutorials on advanced plugin usage can be found at [Arconix Computers](http://arconixpc.com/tag/arconix-faq)
4244

43-
= The toggle isn't working. What can I do? =
44-
45+
= The toggle or accordion isn't working. What can I do? =
4546
While you can certainly start a thread in the [support forum](http://arcnx.co/afhelp), there are some troubleshooting steps you can take beforehand to help speed up the process.
4647
1. Check to make sure the javascripts are loading correctly. Load the faq page in your browser and view your page's source. Look for jQuery and Arconix FAQ JS files there. If you don't see the Arconix FAQ JS file, then your theme's `header.php` file is likely missing `<?php wp_head(); ?>`, which is neccessary for the operation of mine and many other plugins.
47-
4848
2. Check to make sure only one copy of jQuery is being loaded. Many times conflicts arise when themes or plugins load jQuery incorrectly, causing the script to be loaded multiple times in multiple versions. In order to find the offending item, start by disabling your plugins one by one until you find the problem. If you've disabled all your plugins, try switching to a different them, such as twentyten or twentytwelve to see if the problem is with your theme. Once you've found the problem, contact the developer for assistance getting the issue resolved.
4949

5050
= I need help =
51-
5251
Check out the WordPress [support forum](http://arcnx.co/aphelp)
5352

5453
= I have a great idea for your plugin! =
55-
5654
That's fantastic! Feel free to submit a pull request over at [Github](http://arcnx.co/afsource), add an idea to the [Trello Board](http://arcnx.co/aftrello), or you can contact me through [Twitter](http://arcnx.co/twitter), [Facebook](http://arcnx.co/facebook) or my [Website](http://arcnx.co/1)
5755

5856
== Screenshots ==
@@ -61,6 +59,11 @@ That's fantastic! Feel free to submit a pull request over at [Github](http://arc
6159
3. Grouping and Toggling display
6260

6361
== Changelog ==
62+
= 1.5.0 =
63+
* Added the ability to display the FAQ's in a single list even if groups are in use.
64+
* FAQ's can now be displayed in a jQuery-powered accordion if desired
65+
* A few other minor backend improvements and fixes.
66+
6467
= 1.4.3 =
6568
Fixes a parameter bug that prevented users from restricting the number of FAQ's returned for display
6669

0 commit comments

Comments
 (0)