The simplist subscribe form
-
I like the simple mailing list signup checkbox form that appears on the WordPress comment form. Is it possible to build a simple form like the image below? So users can subscribe to a list by ticking the checkbox and clicking a “subscribe” button?
All of my commenters are registered and logged in, so I can grab their email and add the list ID into a function.
What would be the HTML (and/or PHP) code for a simple checkbox to subscribe? Like this (but obviously this won’t work as it is):
<label for="mailpoet_subscribe">
<input type="checkbox" id="mailpoet_subscribe" value="1" name="mailpoet[subscribe]"/>I'd like to receive new post alerts via email</label>
<input name="submit" type="submit" id="submit" class="submit"/>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘The simplist subscribe form’ is closed to new replies.