Tag Info

New answers tagged

0

Congratulations, your Contact Form 7 and SMTP Configuration are correct so you are getting emails properly. Now coming back to your question: it is displayed as my own email : it is correct behavior because actually you are sending email to yourself :) the sender email is never displayed. To view the persons name and email address (filled in ...


1

Using var_dump here is not a good idea because you will write the output to the buffer and break the form submission. Use error_log wordpress functions with print_r or var_dump with the following code instead : ob_start(); // start buffer capture var_dump($wpcf7_data); // dump the values $contents = ob_get_contents(); // put ...


0

In Universal Analytics , kindly note that _gaq_push changes to only _ga and there is the inclusion of Send parameter. Therefore: on_sent_ok: ga([‘_trackEvent’, ‘category’, ‘action’, ‘label’); changes to on_sent_ok: ga( 'send', 'event', 'category', 'action', 'label' ); You can try this.


1

Contact Form 7 has built in Special Mail Tags: [_post_id] [_post_title] If you can insert the Contact Form into "The Loop", Contact Form 7 will automatically pull this information. If it is indeed in the loop, you can use Contact Form 7 - Before Send Mail Hook - get the post ID from the form, then use the post ID to grab the image and send it along as an ...


0

I think you can do this, or at least the text part (not sure about the image) using the plugin Contact Form 7 Dynamic Text Extension There's a good blog post explaining how to use it here. We followed those instructions and (apart from having to ensure CF7 and CF7DTE are in sync and both running the very latest versions) it worked just as promised.



Top 50 recent answers are included