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

Acwpblocks

描述

Acwpblocks – popup block is a Gutenberg block that allows you to create popups that can be triggered by any button or link with the same class as the popup ID.

Features:
– Add a popup block in the editor.
– Set a unique popup ID.
– Use any Gutenberg button or element with the same class to trigger the popup.
– Includes animations and smooth transitions.
– Custom close button and background click-to-close functionality.

Usage

  1. Insert the Popup Block into your post or page.
  2. Add any type of inner element inside the Popup Block.
  3. Enter a unique Popup ID in the block settings.
  4. Use any button or link and assign the same Popup ID as a class.
  5. You can use multiple popups on a single page or post.
  6. Check the front-end for the first popup containing an image.
  7. Also, check the front-end for the second popup, which contains a paragraph.

Source Code

The source code for this plugin can be found at:
Source Code: GitHub Repository

License

This plugin is licensed under the GPL-2.0-or-later.

螢幕截圖

Blocks

This plugin provides 1 block.

  • Acwp Popup A simple popup block

安裝

  1. Upload the plugin files to the /wp-content/plugins/acwpblocks-popup directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the “Plugins” screen in WordPress.
  3. Add the “Popup Block” from the block editor and configure it.

常見問題

How do I trigger the popup?

Use any Gutenberg button or link and assign the same popup ID as a class.

Can I use animations?

Yes, the popup has smooth animations that slide in from the bottom.

Can I customize the popup styles?

Yes, you can modify the CSS to change the popup’s appearance.

評價

There are no reviews for this plugin.

貢獻者及開發者

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

貢獻者

將 Acwpblocks 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

0.1.0

  • Initial release.