Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/devgeniem/acf-flexible-visibility/archive/refs/heads/master.zipOn Packagist as devgeniem/acf-flexible-visibility:
composer require devgeniem/acf-flexible-visibility
ACF Flexible Visibility
Contributors: devgeniem, Nomafin Tags: acf, wordpress Requires at least: 5.0.0.0 Tested up to: 5.3.8.1 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html
Description
This plugin adds an option to ignore certain page templates when declaring ACF Flexible Content layouts so that these ignored templates won't be available on pages that use selected templates.
This is handy when using our Reusable Field Group plugin where you can include field groups to another.
In the future
So far this plugin only supports pages and matching with the page templates, but maybe in the future it will have another options too, like declaring visibility by user role etc.
Install
Recommended installation to a WordPress project is through composer:
$ composer require devgeniem/acf-flexible-visibility