Ultimate FAQ - Version 2.1.1

Version Description

(2021-12-22) = - Fixed an issue in which the defaults were not being correctly set for a few options.

Download this release

Release Info

Developer Rustaurius
Plugin Icon 128x128 Ultimate FAQ
Version 2.1.1
Comparing to
See all releases

Code changes from version 2.1.0 to 2.1.1

Files changed (3) hide show
  1. includes/Settings.class.php +35 -3
  2. readme.txt +3 -0
  3. ultimate-faqs.php +2 -2
includes/Settings.class.php CHANGED
@@ -40,7 +40,40 @@ class ewdufaqSettings {
40
  'access-role' => 'manage_options',
41
  'category-order' => 'asc',
42
  'faq-order-by' => 'title',
43
- 'faq-order' => 'asc'
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
  );
45
 
46
  $this->defaults = apply_filters( 'ewd_ufaq_defaults', $this->defaults, $this );
@@ -476,8 +509,7 @@ class ewdufaqSettings {
476
  'options' => array(
477
  'date' => __( 'Created Date', 'ultimate-faqs' ),
478
  'title' => __( 'Title', 'ultimate-faqs' ),
479
- 'modified' => __( 'Modified Date', 'ultimate-faqs' ),
480
- 'set_order' => __( 'Selected Order (Premium option)', 'ultimate-faqs' ),
481
  ),
482
  'default' => $this->defaults['faq-order-by']
483
  )
40
  'access-role' => 'manage_options',
41
  'category-order' => 'asc',
42
  'faq-order-by' => 'title',
43
+ 'faq-order' => 'asc',
44
+
45
+ 'display-style' => 'default',
46
+ 'slug-base' => 'ufaqs',
47
+ 'number-of-columns' => 'one',
48
+ 'faqs-per-page' => 100000,
49
+ 'page-type' => 'distinct',
50
+ 'faq-elements-order' => json_encode(
51
+ array(
52
+ 'categories' => 'Categories',
53
+ 'body' => 'Body',
54
+ 'author_date' => 'Author/Date',
55
+ 'custom_fields' => 'Custom Fields',
56
+ 'tags' => 'Tags',
57
+ 'ratings' => 'Ratings',
58
+ 'social_media' => 'Social Media',
59
+ 'permalink' => 'Permalink',
60
+ 'comments' => 'Comments',
61
+ 'back_to_top' => 'Back to Top',
62
+ )
63
+ ),
64
+
65
+ 'wpforms-faq-location' => 'above',
66
+
67
+ 'faq-fields' => array(),
68
+
69
+ 'styling-toggle-symbol' => 'A',
70
+ 'styling-category-heading-type' => 'h3',
71
+ 'styling-faq-heading-type' => 'h4',
72
+
73
+ 'label-retrieving-results' => __( 'Retrieving Results', 'ultimate-faqs' ),
74
+ 'label-no-results-found' => __( 'No result FAQ\'s contained the term \'%s\'', 'ultimate-faqs' ),
75
+ 'label-woocommerce-tab' => __( 'FAQs', 'ultimate-faqs' ),
76
+ 'label-thank-you-submit' => __( 'Thank you for submitting an FAQ.', 'ultimate-faqs' ),
77
  );
78
 
79
  $this->defaults = apply_filters( 'ewd_ufaq_defaults', $this->defaults, $this );
509
  'options' => array(
510
  'date' => __( 'Created Date', 'ultimate-faqs' ),
511
  'title' => __( 'Title', 'ultimate-faqs' ),
512
+ 'modified' => __( 'Modified Date', 'ultimate-faqs' )
 
513
  ),
514
  'default' => $this->defaults['faq-order-by']
515
  )
readme.txt CHANGED
@@ -266,6 +266,9 @@ Video 3 - FAQs Ordering
266
 
267
  == Changelog ==
268
 
 
 
 
269
  = 2.1.0 (2021-12-21) =
270
  - Changed how premium settings areas are previewed.
271
  - CSS styling update for the FAQ Details area on the FAQ edit screen.
266
 
267
  == Changelog ==
268
 
269
+ = 2.1.1 (2021-12-22) =
270
+ - Fixed an issue in which the defaults were not being correctly set for a few options.
271
+
272
  = 2.1.0 (2021-12-21) =
273
  - Changed how premium settings areas are previewed.
274
  - CSS styling update for the FAQ Details area on the FAQ edit screen.
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.0
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.0' );
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.1
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.1' );
47
 
48
  define( 'EWD_UFAQ_FAQ_POST_TYPE', 'ufaq' );
49
  define( 'EWD_UFAQ_FAQ_CATEGORY_TAXONOMY', 'ufaq-category' );