Releases: JoryHogeveen/off-canvas-sidebars
Releases · JoryHogeveen/off-canvas-sidebars
0.5.8.2
- Hotfix: Security fix (contributor+ users only).
Detailed info: PR on GitHub
0.5.8.1
- Fix: Incomplete merge of JS code.
- Enhancement: Link close option is now opt-in.
Detailed info: PR on GitHub
0.5.8
- New: Filter
ocs_enable_frontend
, modify enable frontend setting. - New: Filter
ocs_enable_assets
, can be used to disable frontend assets. #114 - New: Filter
ocs_inline_styles
, modify the plugin inline styles. - Enhancement: Improve init handler for frontend.
- Enhancement: Changed the default hooks for easier onboarding as the WP core hooks are now supported by most themes.
- Enhancement: Improve adding inline styles.
- Enhancement: Add
rel="nofollow"
XFN attribute to link type element triggers. #116 - Fix: JS multiple events as string param.
Detailed info: PR on GitHub
0.5.7.1
- Fix: Class concatenation bug. #104 (Props: Samuele Mancuso)
Detailed info: PR on GitHub
0.5.7
- Enhancement: Improved compatibility with the toolbar and fixed elements (legacy CSS mode).
- Enhancement: Update to data attributes.
- Enhancement: New filter
ocs_sidebar_attributes
. - Enhancement: New filter
ocs_sidebar_element
. - Enhancement: Added event action manager.
- Enhancement: Do not add the same triggers again on reinit.
- Enhancement: Load widget admin assets in site head instead of each widget separately.
- UI Use WP meta box functions for setting pages to enhance UI compatibility.
- Fix: Set slidebars script to plugin version to prevent browser cache issues.
Detailed info: PR on GitHub
0.5.6
- Feature: Overwrite hook priority within the plugin settings.
- Feature: Basic theme hook setup validator. #95
- Enhancement: Reorder settings page fields.
- Enhancement: Improve Slidebars init and allow reinit.
- Enhancement: Added
ocs_default_settings
andocs_default_sidebar_settings
filters. - Fix: Make sure sidebars correctly overwrite global settings. #91
- Fix: Escape all translated strings for HTML.
- Fix: Add
rel="noopener noreferrer"
to all links that open in a new tab.
Detailed info: PR on GitHub
0.5.5
- Compatibility: Changed the CSS to be compatible with
position: sticky;
elements. #83 - Compatibility: Fix default before and after widget args. Widget element changed to
<div>
instead of<li>
. #88 - Enhancement: Late init option. #81
- Enhancement: Allow minimum value of 0 for numeric settings.
- Fix: Gutenberg notice that OCS couldn't be initialized.
- UI: Rename control elements to triggers (uniform names).
Detailed info: PR on GitHub
0.5.4
- Compatibility: Support
wp_body_open
aswebsite_before
hook introduced in WordPress 5.2. #70 - Enhancement: Allow Genesis Framework hooks to be overwritten in respect for
wp_body_open
. - Enhancement: Use CSS
vh
unit for canvas container min-height instead of JavaScript. - Enhancement: Better use of WP core UI elements.
- Enhancement: Code quality improvements.
Detailed info: PR on GitHub
0.5.3
- Enhancement: Don't render triggers of disabled sidebars if auto-hide is enabled. #56
- Enhancement: Support
wp_footer
aswebsite_after
hook. (Not compatible with all themes!) - Enhancement: Filters to overwrite
website_before
andwebsite_after
hook priorities. - Enhancement: Do not render inactive trigger buttons if auto-hide is enabled.
Detailed info: PR on GitHub
0.5.2
- Feature: New filter:
ocs_is_sidebar_enabled
to filter whether a sidebar should be rendered or not. - Enhancement/Refactoring: Class autoloader.