Restrict MIME type files in upload field + contact form 7
Restrict MIME type files in upload field + contact form 7
Restrict MIME type files in upload field + contact form 7
Let’s try debug $posted_data with sending email if ( $submission ) { $posted_data = $submission->get_posted_data(); ob_start(); echo ‘<pre>’; print_r($posted_data); echo ‘</pre>’; $content = ob_get_clean(); wp_mail($your_mail, ‘Debug’, $content); or you can save $content to file
I don’t get it by the subject line multiscreen the dashboard, but as per the description you can use the plugin Contact Form Submissions for all form input data: https://wordpress.org/plugins/contact-form-submissions/ You can track all the form submissions in the database and can see in the WordPress admin.
You need to add docx as an accepted filetype in the CF7 shortcode for your upload field, eg: [file your-file filetypes:pdf|doc|docx|odf|rtf]
Use Post My Contact Form plugin extension. You can map your form to a custom post or an existing post type, and map individual form fields to custom post fields. This is a lot more practical than CF7 Database as it allows you have each form submissions stored as a post and therefore reuse the … Read more
May be try like this: foreach( $post_ids->posts as $id): // get the post title, and apply any filters which plugins may have added // (get_the_title returns unfiltered value) $name[] = apply_filters(‘the_title’, get_the_title($id)); $lname[] = get_post_meta($id, ‘last_name’, TRUE); $address[] = get_post_meta($id, ‘address’, TRUE); $cinfo[] = get_post_meta($id, ‘contact_info’, TRUE); endforeach; $data = [‘fname’=>$name, ‘lname’=>$lname, ‘address’=>$address, ‘cinfo’=>$cinfo]; <script> … Read more
Thanks to the answer from John at avexdesign above as well as the link to the tutorial from SilenceIT, I have a couple more details in case anyone comes across this. As of version 3.1, the line to edit is now line 60 in the controller.php file. As stated by avexdesigns, you must change ONLY … Read more
Hi you can perform this with Below code [formlightbox title=”Send me a message” text=”Contact me”] [contact-form-7 id=”401″ title=”Contact form 1″] [/formlightbox] For this you needs 2 plugins (1) Contact Form 7 (2) Form Lightbox you can check this at http://www.myphpmaster.com/form-lightbox-demo/
Contact Form 7 has support for Akismet, and reCaptcha; check the docs. Hidden fields are not useful, IMHO; they are still visible in the page source to a ‘scraper’. (Neither are ‘questions’ and some other techniques.) The only useful thing that I have found is to add some Javascript to the form that senses human … Read more
Probably the folder is there already. With your ftp client, browse to wp-content > plugins. Do you see it there? then delete it and try again. You can also download the plugin folder from the WordPress plugin page to your computer and ftp it to the wp-content/plugins folder. This way it won’t give any problems … Read more