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.

Is there a way to make a dashboard contact form widget?

I just simply want to have it there so users can give feedback directly from their dashboard.

share|improve this question

2 Answers 2

up vote 0 down vote accepted

Yes. You can do this by adding a dashboard widget with a contact form function that uses AJAX to submit the form.

function myplugin_dashboard_widget() {
    ajax_contact_form();
}

function myplugin_add_dashboard_widgets() {
    wp_add_dashboard_widget('myplugin_contact_widget', 'My Plugin Contact Form', 'myplugin_dashboard_widget');
}

add_action('wp_dashboard_setup', 'myplugin_add_dashboard_widgets' );
share|improve this answer
    
works good, thanks! –  JonnyPlow Feb 26 '12 at 20:54

This plugin might be what you're looking for:

http://wordpress.org/extend/plugins/surveypress/

share|improve this answer

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.