WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking over internet for some simple solution of email subscription widget but no luck.

Or they are too complicated and paid, or they are relaying on some external email functions.

I'm not a WordPress expert but know few things about WordPress.

I would like to make form in widget where user enter their email address and address is written in wp database, and in back-end admin just list all emails and can select to delete email from subscribed list.

When making my own widget I know how to create widget and form, I know how to add admin page and list files from database.

What I don't know is where and how to save data from submitted form from widget.

If anyone have any suggestion or widget that can do this please share it. In mean time I will search for solution.

share|improve this question
Whats your code? – Brad Dalton Feb 6 '14 at 9:54
try this article, kvcodes.com/2016/02/simple-subscribe-form-wordpress – Kvvaradha Feb 7 at 6:23

This is what you're looking for: http://codex.wordpress.org/Plugin_API/Action_Reference/init

Example from Codex:

add_action('init', 'process_post');

function process_post(){
 if(isset($_POST['unique_hidden_field'])) {
   // process $_POST data here
share|improve this answer

Try this plugin
By using this plugin users can subscribe from anywhere in your site. http://wordpress.org/extend/plugins/newsletter/

share|improve this answer
It's too complicated, i don't need any newsletter handling through wordpress, i just need to find out how to store data from widget input form to wordpress database. – Aleksandar Đorđević Oct 30 '12 at 14:16

Try this one, it will store data automatically, and you can export it as well


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.