Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #539343

    Hello there!

    I have a popup contact form on my website solo-interier.kz/catalog-item/kuhonnyj-garnitur-blyume/. It sends user’s name and phone number for further contact. This form will be on each portfolio item. So I want to know from which page it was sent. Is it possible?

    #540051

    Hey!

    Try adding this at the very end of your theme / child theme functions.php file:

    function change_form_message($message) {
    	global $post;
    	$message .= "<br>- This e-mail was sent from ".get_the_title($post->ID);
    	return $message;
    }
    add_filter('avf_form_message', 'change_form_message');

    Cheers!
    Josue

    #540160

    Thank you man!
    It works!

    #540539

    Hi,

    Glad we could help :-)

    Regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.