Skip to content

Anaschoudhary/acwpblocks

Repository files navigation

=== ACWP Blocks ===
Stable tag: 0.1.0
Contributors: anaschoudhary1  
Tags: gutenberg, block, popup, modal  
Version: 0.1.0  
Requires at least: 6.0  
Tested up to: 6.7  
Requires PHP: 7.4  
License: GPL-2.0-or-later  
License URI: https://www.gnu.org/licenses/gpl-2.0.html  

A custom Gutenberg block to create popups with dynamic triggers.

== Description ==

ACWP Blocks 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.

== Installation ==

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.

== 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.
4. You can use multiple popups on a single page or post.
5. Check the front-end for the first popup containing an image.
6. 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](https://github.com/Anaschoudhary/acwpblocks)

== Screenshots ==

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.
4. You can use multiple popups on a single page or post.
5. Check the front-end for the first popup containing an image.
6. Also, check the front-end for the second popup, which contains a paragraph.

== Changelog ==

= 0.1.0 =
* Initial release.

== Frequently Asked Questions ==

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

== License ==

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors