Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #350544

    Good day,

    For some reason, the theme’s built-in contact form is sending me the mails from (Email address hidden if logged out) . This makes all of the emails containing leads from my site to go into the junk mail automatically.

    Is there any way to define the ‘from’ field of the contact form?

    Many thanks in advance,
    Lior

    #351089

    Hi darkban!

    Thank you for using Enfold.

    Please use this on functions.php:

    function change_cf_from() {
    	return " (Email address hidden if logged out) ";
    }
    add_filter('avf_form_from', 'change_cf_from', 10);

    Change the email.

    Cheers!
    Ismael

    #351965

    Hi Ismael,

    Many thanks for your help, as it solved the issue. Is there any plan to create a more permanent solution (one that doesn’t make users edit files after each update) for this issue in the admin panel?

    Again, thanks alot for your prompt help
    Lior

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Changing the from field in contact form’ is closed to new replies.