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

BEA – Beautiful Flexible

描述

Transform ACF’s flexible layouts list into a nice and UX popup.

How ?

By default there is a “default” image for layouts. But the idea is to customize them by adding your own.

Image convention

  • The size of image should be 366 x 150 or bigger 732 x 300.
  • They should be named based on the flexible key (push_2_light) with no underscores but dashes (push-2-light.[extension]).
  • The following extensions will be resolved in that order: .jpg, .jpeg, .png and .gif.

Where images should be situated

They should more likely be situated into your theme wp-content\themes\my-theme\assets\bea-beautiful-flexible\. But if you have a child-theme and added images into it, these will overwrite those from parent-theme.
The following directories will be solved according to order: plugin’s folder, child theme’s folder, theme’s folder.

Also note that you can filter this path to gather all your images into a same folder :

add_filter( 'bea.beautiful_flexible.images_path', $path );

Finally, you could filter all images like this :

add_filter( 'bea.beautiful_flexible.images', $images );<h3>Who ?</h3>

Credits

Special thanks to HWK, from his blogpost, we created a WordPress plugin with custom tuning (js+css).

Creator

Created by Be API, the French WordPress leader agency since 2009. Based in Paris, we are more than 30 people and always hiring some fun and talented guys. So we will be pleased to work with you.

This plugin is only maintained, which means we do not guarantee some free support. Consider reporting an issue and be patient.

To facilitate the process of submitting an issue and quicker answer, we only use Github, so don’t use WP.Org support, it will not be considered.

螢幕截圖

  • Show how BEA Beautiful Flexible improve the ACF's layouts dropdown.

安裝

This plugin works only if the ACF Pro plugin is installed and activated.

Requirements

  • ACF Pro plugin
  • WordPress 4.7+ because of [get_theme_file_uri()](https://developer.wordpress.org/reference/functions/get_theme_file_uri)
  • Tested up to 4.9.3.
  • PHP 5.6+

WordPress

  • Download and install using the built-in WordPress plugin installer.
  • Site activate in the “Plugins” area of the admin.
  • Then add your awesome layouts images.

評價

2021年8月26日
Not working any more, plugin used hooks from ACF that do not exists any more.
2019年5月2日
A simple idea but one that drastically improves the user interface for ACF's flexible blocks.
2018年10月28日
This plugin would be perfect if there was just an easier way to add images to each flexible content layout. Maybe just an add-on UI for doing that would be the only thing I could ask for. Other than that, it works exactly as specified and really helps for organization efforts on the backend. 4 stars until image upload is easier. Once it is, I'd be very happy to give it 5 stars!
閱讀全部4個評價

貢獻者及開發者

“BEA – Beautiful Flexible” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

BEA – Beautiful Flexible 外掛目前已有 3 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 BEA – Beautiful Flexible 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.0.5 – 17 Oct 2018

  • FIX #10 : fix warning

1.0.4 – 15 Oct 2018

  • Update readme with new requirements
  • Feature #11 : add more filetype
  • FIX #10 : fix warning

1.0.3 – 13 Aug 2018

  • FIX #8 : breaking changes with ACF 5.7.0 by adding new JS.
  • Refactor way requirements are loaded by adding dedicated class.

1.0.2 – 5 Jun 2018

  • Push to wp.org.

1.0.1 – 22 May 2018

  • #6 : fix title display

1.0.0 – 4 May 2018

  • First version of the plugin.
  • Dynamically get flexible layouts.
  • Finish readme.
  • Add screenshot.
  • Add composer.json.
  • Init plugin.