跳到内容

Hide ACf Layout

v1.0

Luke Ketchen · 2022年7月28日 上架

Hide a module in ACF flexible content on the frontend but still keep it in the backend

正在使用
10 以下
评分
5.0 / 5
累计下载
1,404
最近更新
2022年7月29日
1 条评价需要 WordPress 5.3+已测试到 6.0.19

贡献者

截图

Hide ACf Layout
Hide ACf Layout
Hide ACf Layout

About The Project
If you want to test what a layout would look like or not ready to go live with a module. Press the hide icon and it will be hidden to anyone not logged in to WordPress but you can still preview the content.

Installation

  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.

Usage

The ACF Hide Layout settings will show under “Tools” if on localhost.

Contact

Luke Ketchen – lukeketchen.com
Project Link: https://github.com/Ketch-Labs/hide-acf-layout

Screenshots

  1. Page view normal.
  2. Page view hidden module.
  3. Settigns page.

Acknowledgments

Hiding icons created by Freepik – Flaticon (https://www.flaticon.com/free-icons/hiding)

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums