Saving contact form 7 data into custom Table

CF7 has an useful hook wpcf7_submit that can be used to process the data sent: add_action(“wpcf7_submit”, “SE_379325_forward_cf7”, 10, 2); function SE_379325_forward_cf7($form, $result) { if( !class_exists(‘WPCF7_Submission’) ) return; $submission = WPCF7_Submission::get_instance(); if ($result[“status”] == “mail_sent”) { // proceed only if email has been sent $posted_data = $submission->get_posted_data(); save_posted_data($posted_data); } }; // your insert function: function save_posted_data($posted_data){ … Read more

Salesforce lead tracking with contact forms plugins [closed]

I’ve used the Gravity Forms plugin and its post form-submission hook to fire off a server-side web2lead curl request in wordpress before now. Wasn’t too difficult. Essentially your web2lead form submission is purely server-side so the regular gravity forms entry logging (including IP etc…) just carries on working. You get your data in both WP … Read more

show a little contact form in homepage without plugin

The Agregado Theme comes with a little contact form I modified for one of my themes, I guess it’s ok for you to use it as long as the credits remain there. <?php //Contact script created by Tim McDaniels and Darren Hoyt for the Mimbo Pro and Agregado themes, modified by Mario Aguiar cuz it … Read more

Not One ‘Contact Form Plugin’ will send email // Work

Disable all other plugins. Use the default theme. Try again. If it doesn’t send, try sending to a different (eg gmail) address. If that still doesn’t work, verify that sendmail is installed. If it is, check and see if a basic sendmail php script will work. If that still doesn’t work or sendmail isn’t installed, … Read more