Version 1.4.0 is a minor release that takes care of a few bugs and also lays the framework for additional positioning options. Prior to v1.4.0, content blocks could only be positioned via action hooks. While this allows you to display your content virtually anywhere on your website, there are limitations. This new version adds Position Type to the Position tab on each content block. See the screenshot below. Blox Add-ons will take advantage of this setting to provide new position types. By default, Blox still only offers hook positioning.
Shipping alongside Blox v1.4.0 is the Shortcodes Add-on. Once activated, this extension adds a new Shortcode option to the Position Type dropdown. Simply copy and paste the shortcode anywhere that accepts shortcodes and your content block will display! Note that visibility and location settings are respected just as they were with hook positioning. More information on the usage of this new widget can be found on the Shortcodes Add-on page.
Maintenance & Bug Fixes
Version 1.4.0 also comes with a variety of code improvements and bug fixes, which include:
- Changed Apply Settings button in the slideshow modal for a better user experience
- Updated EDD Updater to v1.6.8
- Updated .pot file for language translation
- Fixed slideshow caption bug which eliminated content wrapping