Newsletter Optin Block

설명

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.

설치

  1. Upload the plugin folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Configure your Mailjet API keys and the target list in Settings > Auto-injected Form.
  4. Select the Contact Form 7 form to inject.
  5. 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);
    }

FAQ

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.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“Newsletter Optin Block”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Newsletter Optin Block”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.0.0

  • Initial release: automatic injection, Mailjet sync, admin configuration.