ACF Hide Layout

描述

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

Requirements

Development

The source code can be found on GitHub.

Made by people who brought to you Flynt – The Component Based WordPress Starter Theme

屏幕截图

  • Content visible on the frontend
  • Option to hide the layout
  • Hidden content on the frontend

安装

  1. Upload the plugin files to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
  2. 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.

评价

2022 年 2 月 24 日
working as intended and only 21kb
阅读所有4条评价

贡献者及开发者

“ACF Hide Layout” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「ACF Hide Layout」插件已被翻译至 5 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“ACF Hide Layout”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.2.1

  • Fixed issue with PHP 8.2 warning

1.2

  • Fixed issue with nested flexible_content

1.1

  • Fixed issue with cloning fields

1.0.1

  • Added German translation
  • Updated Greek and Dutch translations

1.0

  • Initial Release