contact form

im using the Appointment Pro contact.php template. When i receive an email through the form, the mail-subject says: ''[name][sitetitle]''. How can i change this? I'd like to be the subject something like 'Contactform' 


  • Hello
    Thanks for contacting us.
    To do so, you need to create a child theme, For creating a child theme refers this link .
    Ignore if you have already created child theme. After it follow the given below instruction.

  • 1 Copy the contact.php file locate in your theme folder. 
    2 Paste inside the child theme directory.
    3 Open the contact.php file  of child theme  and find the below line o code on  line no 96.

    $subject = trim($_POST['user_name']) . get_option("blogname");

    4 And replace it with below line of code 

    $subject ="Enter Your subject ";

    Change Enter yoru subject text as your need.
    Save changes and activate your child theme..
    Let me know for further assistance.

  • Great, thanks a lot!
  • HI
    Glad to help you!
    If you really like our theme and support  PLS  give rate with your kind review  Theme and Support.
    Look forward see you again at webriti . 

This discussion has been closed.