What is a Feature?
With WordPress, it is easy to create one large
functions.php file, crammed full of all the custom logic your theme may need. This can get messy. In Flynt, we split each piece of functionality into smaller, self-contained feature bundles. All Features are located in the
Features folder of the Flynt Starter Theme.
In most cases, features add global hooks and filters that affect the project on a global level. With this in mind, each feature is built with reusability in mind. It is possible to create and modify features as needed.
Flynt comes with a core set of ready to go features:
Load & configure ACF fields and field groups.
Show screenshots of components in the WordPress back end, and enable previews via the admin bar.
A wrapper around the WordPress admin notice functionality.
Clean-up the WP head markup.
Improve WP RSS feeds.
Register & configure Flynt Components.
Create custom post types with JSON config files.
Create custom taxonomies with JSON config files.
Add the Google Analytics tracking script.
Load jQuery from a CDN.
Add SVG support to the media gallery.
Register navigation menus.
Add the WP password form with twig templates.
Set the config path for page templates.
Enable rendering with Timber/Twig.
Clean-up the WP content editor toolbar.