All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
4.1.6 (2020-11-24)
- composer 1/2 issue in github actions (01c9a57)
- check for get_current_screen function avail (181f339)
- check that nonce post var is defined (77129f7)
- object check to avoid errors (c193ae7)
- two main plugin files! (80a8754)
- check for get_current_screen function avail (181f339)
- check that nonce post var is defined (77129f7)
- object check to avoid errors (c193ae7)
- Cleanup logic and add comments
- Make sure shortcodes only load if requested via settings checkbox
- Square Candy Fork
- Remove most of the options and features
- Restrict to page type only
=3.3.8.3.1= *Fixed an error message with array_key_exists where a non-array was being returned
=3.2.8.3= Fixed what 3.2.8.2 was supposed to fix. :)
=3.2.8.2= *Fixed a few more lines causing PHP notices on servers with certain PHP error notice settings.
=3.2.8.1= *Fixed another PHP notice.
=3.2.8= *Fixed a couple of lines of code that were causing some users to experience PHP notices.
=3.2.7= *Added an option at the bottom of the options page for those who have donated
=3.2.6= *Fixed code that was preventing the "one question open at a time" feature from working when the shortcode was used. *Updated program to allow the one question open at a time to work even when there are additional divs and other elements wrapping the content.
=3.2.5=
- Added a second color (white) for the optional visual cues that appear next to the drop down headings.
=3.2.4=
- Updated javascript to restore ability to apply the animated effects to headings that are in tables or within other elements.
=3.2.3 =
- Fixed the ability to have each page or post individually control whether it will have just one answer open at a time.
- Updated javascript to improve the nested drop down feature
= 3.2.2 =
- Made the plugin more reliable for a wider variety of use cases, using more efficient coding. (Details: In the previous version, the plugin would not operate on pages that called the content filter before loading the main content of the page.)
= 3.2.1 =
- Added a checking mechanism that ensures the animation effects only get applied once, even on some WordPress pages that strangely tried to call the javascript twice
= 3.2 =
- Introduced [squarecandy_accordion_start] and [squarecandy_accordion_end] shortcodes to allow users to apply drop down effects to only certain parts of the page. This allows for more complicated layouts, such as a page that has lots of headings but only a few that need the dropdown text, or nested dropdowns.
- Display settings (such as visual cues, or the option to display only one "answer" at a time) are now available for each individual page or post.
- Improved the plugin's ability to operate on single pages even if it is used with a theme that is missing the wp_footer hook
= 3.1.5 = Improved compability with Internet Explorer by removing a line of javascript that was not needed.
= 3.1 =
- Very minor update to adjust the location of the arrows and other images that indicate that a heading has drop down text. Now those will be centered even in themes that assign padding to the top of those headings.
= 3.0 =
- Now you can assign the expanding text effect to any page or post, including pages that do not have "FAQ" in the title. This is done through a checkbox added to each page and post editing screen. Pages containing "FAQ" or "Frequently asked questions" in the title still receive the effect automatically, so people who used previous versions of this plugin do not need to go back and change anything.
- The drop down text effects work on pages, single posts, and in a list of posts (index page)
- Added two options for a visual cue that makes it obvious that you can click on the questions to expand some text.
- Formatting a line of text as a heading 6 (h6) now allows users to stop the dropdown animations for that line and the lines following it, until another heading is used again.
= 2.1 =
- Made the plugin more compatible with other plugins or themes that add elements to a page's content (such as social share buttons). With this update, those themes should not make the introductory paragraphs disappear.
= 2.0 =
- Improved the performance of the plugin when answers contain different colored text, lists, etc.
- Removed the need to examine your WordPress theme and HTML to determine the class name for your content container. The plugin now finds the content automatically.
- Updated and perfected the documentation and instructions.
= 1.1 = *Added styles so a hand pointer cursor shows when people hover over headings / questions *Allowed unordered and ordered lists to be used in answers and hidden / shown correctly *Allow one to two paragraphs (depending on theme) at the very beginning of the content that is not hidden, allowing user to use an introductory paragraph
= 1.0 =
- The plugin was invented!