Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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 at 9:54
add comment

3 Answers

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
add comment

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

http://wordpress.org/plugins/simple-subscribe/

share|improve this answer
add comment

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
add comment

Your Answer

 
discard

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.