Sometimes you may need to hide/remove a flexible content layout from showing on the frontend of the website, but you would still like to keep it in the backend in case you need to re-enable that layout again in the future.
Of course you can always just remove the layout, but if it’s a complex group of fields with a lot of data, re-creating it later would be a pain. And here the ACF Hide Layout plugin comes into play. It adds a small button with an “eye” icon to easily disable/enable flexible layout content without removing it.
See more info on the plugin website
- WordPress >= 4.7
- Advanced Custom Fields Pro >= 5.7
The source code can be found on GitHub.
Made by people who brought to you Flynt – The Component Based WordPress Starter Theme
- Upload the plugin files to the
/wp-content/plugins/directory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the ‘Plugins’ screen in WordPress.
How to use it?
Next to the flexible content options “Add Layout” and “Remove Layout” is a new option “Hide / Show Layout”.
Toggling that option will hide or show the layout on the fronted.
Contributors & Developers
“ACF Hide Layout” is open source software. The following people have contributed to this plugin.Contributors
“ACF Hide Layout” has been translated into 5 locales. Thank you to the translators for their contributions.
Translate “ACF Hide Layout” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
- Fixed issue with cloning fields
- Added German translation
- Updated Greek and Dutch translations
- Initial Release