這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

ACF Flexible Layouts Manager

外掛說明

UPDATE

I don’t really have time to work actively on this plugin anymore. I’m sorry for the delay on bug fixes.
My friend and mentor @hwk work on the plugin ACF Extended this plugin is awesome!
ACFE integrate all features of AFLM and so more! Test this plugin and folow @hwk on twitter to be aware from all update comming.

ACF Flexible Layout Manager description:

This WordPress plugin allows you to easily manage your layouts in the Advanced Custom Fields “Flexible Content”.

You can copy/duplicate any layout & import partials/full layouts from post/page.

Here are the main features:

  • Duplicate one layout.
  • Copy the JSON data of one layout.
  • Copy the JSON data of all layouts.
  • Paste the JSON data copied from other post/page/user/term(s).
  • Import layout(s) dynamically from other post/page(s).

When you Paste or Import layout(s), you can choose if you want to add those layouts in your current flexible content or if you want to replace the current layouts of this flexible content.

This plugin add buttons in a “Flexible Content” field and its layouts.

Features to expect in future:

  • Duplicate button for multiple levels of flexible content
  • Autocomplete search & pagination in import modal
  • Import from Terms/Users
  • CodeMirror implementation in paste modal

Notice

This plugin is now compatible with ACF 5.7+ new JS syntax.
This plugin works current only with the first level of flexible content.
This plugin doesn’t work with clone of flexible content too.

Video

This video shows you the main features of this plugin.

Requirement

  • Advanced Custom Fields Pro 5.3.1 or greater has to be installed and activated.

Languages

  • English
  • Français

螢幕擷圖

  • Duplicate layout button
  • Copy layout button
  • Main button action "Copy all", "Paste", "Import"
  • Paste layout modal
  • Import layout modal first step "Select Post"
  • Import layout modal second step "Select Layout"

安裝方式

This section describes how to install the plugin and get it working.

e.g.

  1. Upload the plugin files to the /wp-content/plugins/acf-flexible-layouts-manager directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Make sure that Advanced Custom Fields Pro is installed and activated on your website.
  4. Add a flexible content field with ACF and you will see our buttons appear.

常見問題集

Why aren’t there any buttons in my flexible content?

This plugin currently works on the first level of flexible content only.
There is currently no support for clone of flexible content.

If you meet the current requirements and it’s still doesn’t work, check for errors in the javascript console that may be caused by 3rd party library/scripts.
You can submit an issue to report the bug if you think it may help others.

使用者評論

2022 年 5 月 20 日
This plugin still works and is so incredibly useful if you have flexible content layouts. Amazing. Can we get an update to know its secure ? 🙂 I have enough sites running flexible ACF I'd pay for a license of this.
2020 年 6 月 3 日
If you use ACF flexible content fields this is a must.
2019 年 3 月 8 日
This plugin has saved me from having to replicate the same layout on every page. It enables you to import flexible layouts including the content from one page to another, with a couple of clicks! I was skeptical about installing it in case it messed up my layouts or corrupted content but I can honestly say it works flawlessly! Thank you so much!
2018 年 10 月 26 日
this addon is really useful to use acf pro as a pagebuilder system, because acf pro lacks of copying single flexible layout or entire page layouts. i use this for all my client projects now and my clients appreciate the abilities. thank you for this plugin and please keep up improving and developing this plugin!
2018 年 10 月 24 日
A really good too to help copy flexible blocks between pages - highly recommend it to anyone using ACF Flexible Layouts & WordPress. Thank you for your plugin Valentin, great work!
閱讀全部 6 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈ACF Flexible Layouts Manager〉的開發相關工作。

參與者

〈ACF Flexible Layouts Manager〉外掛目前已有 2 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈ACF Flexible Layouts Manager〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.1.6

  • Fix bug to duplicate layout on the new ACF version

1.1.4

  • Fix bug with ‘$format_value’ on ‘get_field’
  • Fix bug to copy layout on the new ACF version

1.1.3

  • Fix bug with field WYSIWYG and filter ‘acf_the_content’
  • Fix bug display button “Copy” and “Import” in field group options

1.1.2

  • Fix bug for people who don’t use “acf-json” folder

1.1.1

  • Fix minor bug with old version of ACF

1.1.0

  • Add compatibility with ACF options pages

1.0.9

  • ACF 5.7+ JS fix

1.0.8

  • Fixed JavaScript errors
  • Fixed CSS rules
  • Improved plugin loading process
  • Improved french translation
  • Removed unecessary icons

1.0.4

  • Initial commit