Pre Built Theme
We now provide a version of Flynt that includes all bundled assets. You can download the zip file release and install the Flynt theme in your WordPress setup like any other theme.
Installing composer and npm dependencies, and running the build process is only needed for the development process.
The zip file is created via a GitHub action, that runs on every release. The GitHub action builds the theme, zips it and attaches it to the repo’s release page.
Custom Shortcodes
The biggest new feature is that we added a place for custom shortcodes in inc/shortcodes.php
. While we don’t consider shortcodes being the future of WordPress, they are very handy to parse and process text fragments.
The introduced shortcodes are used in the NavigationFooter component to compose dynamic texts like “© 2020 Website Name — Subtitle”, where the [[year]]
, [[sitetitle]]
and [[tagline]]
fragments are automatically updated.
But how do content managers know which shortcodes are available? We decided to document custom shortcodes in a shortcode reference ACF field group. Add the shortcode reference as a tab to the backend interface wherever shortcodes may be useful for an editor.
Special thanks to pixelsaft for this feature.
WP Environment Support
WordPress 5.5 introduced the function wp_get_environment_type
. If you use this function in your WordPress setup, the constant WP_ENV
that we have been using so far, will be set to the return value of wp_get_environment_type
.
Special thanks to pixelsaft for this feature.
Fixes & Optimisations
- Windows fixes regarding TimberDynamicResize and the build process.
- Force visuallyHidden styles (d0e7645).
- A SwiperJS IE11 fix and some bundle optimizations.
- Dependency updates. This included a bug fix to our own package acf-field-group-composer (v1.0.2).
- Various additional improvements and documentation adjustments.
Deprecations
As mentioned in our last release article, we now officially deprecated the ExternalScriptLoader. Additionally, we deprecated the ArrayHelpers and the fallback function for rendering components renderFile (9cbc5ea).
These functions will be removed in Flynt v2.0.
Premium Components v1.1.1
The Premium Components were also updated with a few fixes and optimisations. These include:
- A SwiperJS IE11 fix and some bundle optimizations.
- Usage of the Customizer’s custom header logo in NavigationFooterColumns (b5a7d82).
- Center social icons on small screens in NavigationFooterColumns (f6639c9).
The Contributors
Thank you alexheinrich, code-r-man, domtra, frontant, harunbleech, koukouchris, MadFlip, pixelsaft, steffenbew, and szepeviktor for making this release possible with your contributions.