{"id":246362,"date":"2025-08-29T23:07:53","date_gmt":"2025-08-29T23:07:53","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/newsletter-optin-block\/"},"modified":"2026-01-01T13:41:35","modified_gmt":"2026-01-01T13:41:35","slug":"newsletter-optin-block","status":"publish","type":"plugin","link":"https:\/\/sq-xk.wordpress.org\/plugins\/newsletter-optin-block\/","author":8240261,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.5","stable_tag":"1.0.5","tested":"6.9.4","requires":"6.8","requires_php":"8.1","requires_plugins":null,"header_name":"Newsletter Optin Block","header_author":"Pascal CESCATO","header_description":"Injecte automatiquement un formulaire Contact Form 7 dans les articles.","assets_banners_color":"a9bbc0","last_updated":"2026-01-01 13:41:35","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/pcescato\/newsletter-optin-block","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":270,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"pcescato","date":"2025-08-29 23:14:58"},"1.0.5":{"tag":"1.0.5","author":"pcescato","date":"2026-01-01 13:41:35"}},"upgrade_notice":{"1.0.0":"<p>First stable version.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3352915,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3352911,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3352915,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3352915,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.5"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Plugin settings in the admin","2":"Form injected into a post"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1220,1152,146102,455,462],"plugin_category":[42],"plugin_contributors":[170706],"plugin_business_model":[],"class_list":["post-246362","plugin","type-plugin","status-publish","hentry","plugin_tags-block","plugin_tags-contact-form-7","plugin_tags-mailjet","plugin_tags-newsletter","plugin_tags-optin","plugin_category-contact-forms","plugin_contributors-pcescato","plugin_committers-pcescato"],"banners":{"banner":"https:\/\/ps.w.org\/newsletter-optin-block\/assets\/banner-772x250.png?rev=3352915","banner_2x":"https:\/\/ps.w.org\/newsletter-optin-block\/assets\/banner-1544x500.png?rev=3352915","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/newsletter-optin-block\/assets\/icon-128x128.png?rev=3352915","icon_2x":"https:\/\/ps.w.org\/newsletter-optin-block\/assets\/icon-256x256.png?rev=3352911","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<ul>\n<li>Select the Mailjet list in the admin<\/li>\n<li>WordPress repository compatible (escaping, sanitization, etc.)<\/li>\n<li>Robust API error handling<\/li>\n<li>Works without Composer<\/li>\n<\/ul>\n\n<p>External services:\nMailjet API \u2013 allows:\n- fetching Mailjet contact lists (https:\/\/api.mailjet.com\/v3\/REST\/contactslist)\n- adding a subscriber and returning a response code (https:\/\/api.mailjet.com\/v3\/REST\/contacts)<\/p>\n\n<h3>License<\/h3>\n\n<p>This plugin is distributed under the GPLv3 license.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Configure your Mailjet API keys and the target list in Settings &gt; Auto-injected Form.<\/li>\n<li>Select the Contact Form 7 form to inject.<\/li>\n<li><p>Go to the Customizer and style the message:<\/p>\n\n<p>.newsopbl-thank-you-message {\n    background-color: #d4edda;\n    color: #155724;\n    border: 1px solid #c3e6cb;\n    border-radius: 4px;\n    padding: 15px;\n    margin: 20px 0;\n    font-size: 16px;\n    font-weight: 500;\n    text-align: center;\n    box-shadow: 0 2px 4px rgba(0,0,0,0.1);\n}<\/p><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='is%20contact%20form%207%20required%3F'><h3>Is Contact Form 7 required?<\/h3><\/dt>\n<dd><p>Yes, this plugin requires Contact Form 7.<\/p><\/dd>\n<dt id='are%20subscribers%20added%20to%20mailjet%3F'><h3>Are subscribers added to Mailjet?<\/h3><\/dt>\n<dd><p>Yes, if configured correctly, each submission will add the address to the selected Mailjet list.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release: automatic injection, Mailjet sync, admin configuration.<\/li>\n<\/ul>","raw_excerpt":"Automatically injects a Contact Form 7 form into posts and syncs subscribers with a Mailjet list.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sq-xk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/246362","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sq-xk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sq-xk.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sq-xk.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=246362"}],"author":[{"embeddable":true,"href":"https:\/\/sq-xk.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/pcescato"}],"wp:attachment":[{"href":"https:\/\/sq-xk.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=246362"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sq-xk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=246362"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sq-xk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=246362"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sq-xk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=246362"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sq-xk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=246362"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sq-xk.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=246362"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}