{"id":1065,"date":"2022-12-29T06:42:55","date_gmt":"2022-12-29T06:42:55","guid":{"rendered":"https:\/\/kentatheme.com\/docs\/kenta-theme\/integration\/mailchimp\/"},"modified":"2022-12-29T08:39:15","modified_gmt":"2022-12-29T08:39:15","slug":"mailchimp","status":"publish","type":"docs","link":"https:\/\/kentatheme.com\/docs\/kenta-theme\/integration\/mailchimp\/","title":{"rendered":"Mailchimp"},"content":{"rendered":"\n<p>If you want to turn more of your website visitors into subscribers to your Mailchimp list. You will want to display a subscription form in your website. kenta theme makes it easy to implement such a feature.<\/p>\n\n\n\n<p>Some of our starter sites are already included this feature, you just need to import them with one click, then everything will be fine.<\/p>\n\n\n\n<p>Here we will demonstrate how to integrate it manually.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Install Mailchimp Plugin<\/h3>\n\n\n\n<p>First of all, you need a Mailchimp integration plugin, and if you don&#8217;t know which one to choose, then we recommend you to use <a rel=\"noreferrer noopener\" href=\"https:\/\/wordpress.org\/plugins\/mailchimp-for-wp\/\" data-type=\"URL\" data-id=\"https:\/\/wordpress.org\/plugins\/mailchimp-for-wp\/\" target=\"_blank\">MC4WP: Mailchimp for WordPress<\/a> plugin which is being actively\u00a0<strong>used on nearly 2 million WordPress sites<\/strong>.<\/p>\n\n\n\n<p>The MC4WP plugin can be downloaded and installed for free from the WordPress dashboard.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Connect To Mailchimp Account<\/h3>\n\n\n\n<p>Before you can use the plugin you need to connect to your Mailchimp plugin from MC4WP menu.<\/p>\n\n\n\n<figure class=\"wp-block-kenta-blocks-image kb-image kb-image-8d6947f1\"><img decoding=\"async\" src=\"https:\/\/kentatheme.com\/wp-content\/uploads\/2022\/12\/mailchimp-connect.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p>You can get Mailchimp API key here: <a href=\"https:\/\/admin.mailchimp.com\/account\/api\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/admin.mailchimp.com\/account\/api<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Create New Form<\/h3>\n\n\n\n<p>Once everything is ready, you need to create a form to collect users&#8217; mailboxes and add them to the Mailchimp list.<\/p>\n\n\n\n<figure class=\"wp-block-kenta-blocks-image kb-image kb-image-f06fca9b\"><img decoding=\"async\" src=\"https:\/\/kentatheme.com\/wp-content\/uploads\/2022\/12\/mailchimp-form.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p>Here is the sample form template code.<\/p>\n\n\n\n<pre class=\"wp-block-code has-kenta-base-color has-kenta-accent-background-color has-text-color has-background\"><code>&lt;div class=\"kenta-newsletter kenta-form-classic\"&gt;\n        &lt;div class=\"kenta-inner-label\"&gt;\n            &lt;label for=\"mailchimp-subscribe\"&gt;Your email address&lt;\/label&gt;\n            &lt;div class=\"kenta-input-group\"&gt;\n                &lt;input type=\"email\" name=\"EMAIL\" id=\"mailchimp-subscribe\" required \/&gt;\n                &lt;input type=\"submit\" value=\"Subscribe\" \/&gt;\n            &lt;\/div&gt;\n\t  &lt;\/div&gt; \n&lt;\/div&gt;<\/code><\/pre>\n\n\n\n<p>Note that here we have included some of the Kenta theme&#8217;s built-in css classes. e.g. <code>kenta-newsletter<\/code>, <code>kenta-form-classic<\/code>, <code>kenta-inner-label<\/code> and <code>kenta-input-group<\/code>.<\/p>\n\n\n\n<p>If you add Shortcode to your page, it will appear on the front end like this.<\/p>\n\n\n\n<figure class=\"wp-block-kenta-blocks-image kb-image kb-image-a699e806\"><img decoding=\"async\" src=\"https:\/\/kentatheme.com\/wp-content\/uploads\/2022\/12\/mailchimp-frontend.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p>For more on the use of Kenta theme&#8217;s built-in form css classes, please see <a href=\"https:\/\/kentatheme.com\/docs\/kenta-theme\/integration\/contact-form#built-in-form-css-classes\/\">here<\/a>.<br>One of the <code>kenta-newsletter<\/code> classes is designed for Mailchimp, without it, your form will look like this:<\/p>\n\n\n\n<figure class=\"wp-block-kenta-blocks-image kb-image kb-image-aa0ab6d0\"><img decoding=\"async\" src=\"https:\/\/kentatheme.com\/wp-content\/uploads\/2022\/12\/mailchimp-frontend-default.jpg\" alt=\"\"\/><\/figure>\n","protected":false},"featured_media":0,"parent":1063,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-1065","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/kentatheme.com\/wp-json\/wp\/v2\/docs\/1065","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kentatheme.com\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/kentatheme.com\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/kentatheme.com\/wp-json\/wp\/v2\/comments?post=1065"}],"version-history":[{"count":6,"href":"https:\/\/kentatheme.com\/wp-json\/wp\/v2\/docs\/1065\/revisions"}],"predecessor-version":[{"id":1093,"href":"https:\/\/kentatheme.com\/wp-json\/wp\/v2\/docs\/1065\/revisions\/1093"}],"up":[{"embeddable":true,"href":"https:\/\/kentatheme.com\/wp-json\/wp\/v2\/docs\/1063"}],"next":[{"title":"Contact Form","link":"https:\/\/kentatheme.com\/docs\/kenta-theme\/integration\/contact-form\/","href":"https:\/\/kentatheme.com\/wp-json\/wp\/v2\/docs\/1066"}],"wp:attachment":[{"href":"https:\/\/kentatheme.com\/wp-json\/wp\/v2\/media?parent=1065"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/kentatheme.com\/wp-json\/wp\/v2\/doc_tag?post=1065"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}