You can setup Mailchimp Subscriptions anywhere on your Website by simply Copy/Pasting the Sample Code present in the HTML Files. To setup your Mailchimp Newsletter Signup Form, you will have to add your API Key
& your List ID
to include/subscribe.php
File:
To add a Subscriber to a Different List ID, you can simply replace the Form Action to the following code:
<form action="include/subscribe.php?list=your-list-id" ...
$apiKey = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-us5'; // Your MailChimp API Key
$listId = 'xxxxxxxx'; // Your MailChimp List ID
You must be logged in with your Envato Account for Free in order to view this Content.
Login with EnvatoLast Modified: February 10, 2020