Skip to content

Commit f960aed

Browse files
committed
Only support one block and add to readme
1 parent b84c0bc commit f960aed

File tree

4 files changed

+14
-1
lines changed

4 files changed

+14
-1
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ WordPress.com compatibility is limited to Business tier users only. [How to add
1818

1919
![Configuring extra fields on your Signup Form (optional)](https://github.com/mailchimp/wordpress/blob/develop/.wordpress-org/screenshot-4.jpg?raw=true)
2020

21+
## Frequently Asked Questions
22+
23+
### Can I have multiple forms on one page?
24+
25+
No, only one form should exist per page, no matter the display type (widget, shortcode, or block).
26+
2127
## Installation
2228

2329
This section describes how to install the plugin and get started using it.

includes/blocks/mailchimp/block.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
},
1313
"supports": {
1414
"html": false,
15+
"multiple": false,
1516
"reusable": true,
1617
"align": [ "wide", "full" ],
1718
"__experimentalBorder": {

includes/blocks/mailchimp/editor.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Leave this blank - wp_add_inline_style relies on this file existing */
1+
/* Leave this file - wp_add_inline_style relies on this file existing */
22
#mc_message {
33
display: none;
44
}

readme.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ After installation, you’ll log in with your API key, select your Mailchimp lis
1616

1717
WordPress.com compatibility is limited to Business tier users only. [How to add a signup form if you have a WordPress.com site](https://mailchimp.com/help/ways-to-add-a-signup-form-in-wordpress/).
1818

19+
== Frequently Asked Questions ==
20+
21+
= Can I have multiple forms on one page? =
22+
23+
No, only one form should exist per page, no matter the display type (widget, shortcode, or block).
24+
1925
== Installation ==
2026

2127
This section describes how to install the plugin and get started using it.

0 commit comments

Comments
 (0)