该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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.

屏幕截图

区块

该插件提供了 1 个区块.

  • 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.

评价

此插件暂无评价。

贡献者及开发者

「Acwpblocks」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Acwpblocks」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

0.1.0

  • Initial release.