Beskrivning
Newsletter Optin Block allows you to automatically inject a Contact Form 7 form into your WordPress posts and add subscribers to a Mailjet list of your choice.
- Select the Mailjet list in the admin
- WordPress repository compatible (escaping, sanitization, etc.)
- Robust API error handling
- Works without Composer
External services:
Mailjet API – allows:
– fetching Mailjet contact lists (https://api.mailjet.com/v3/REST/contactslist)
– adding a subscriber and returning a response code (https://api.mailjet.com/v3/REST/contacts)
License
This plugin is distributed under the GPLv3 license.
Installation
- Upload the plugin folder to the
/wp-content/plugins/directory. - Activate the plugin through the ’Plugins’ menu in WordPress.
- Configure your Mailjet API keys and the target list in Settings > Auto-injected Form.
- Select the Contact Form 7 form to inject.
-
Go to the Customizer and style the message:
.newsopbl-thank-you-message {
background-color: #d4edda;
color: #155724;
border: 1px solid #c3e6cb;
border-radius: 4px;
padding: 15px;
margin: 20px 0;
font-size: 16px;
font-weight: 500;
text-align: center;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
Vanliga frågor
-
Is Contact Form 7 required?
-
Yes, this plugin requires Contact Form 7.
-
Are subscribers added to Mailjet?
-
Yes, if configured correctly, each submission will add the address to the selected Mailjet list.
Recensioner
Detta tillägg har inga recensioner.
Bidragsgivare och utvecklare
”Newsletter Optin Block” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personerÖversätt ”Newsletter Optin Block” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
1.0.0
- Initial release: automatic injection, Mailjet sync, admin configuration.
