Contact form 7 to homepage

Hello,

I want to add a contact form to my homepage, below "services", but I can't really find how.

Any help is appreciated.

Thanks

Comments

  • 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  Create a new file in the child theme with name  index-service.php  and edit it, then paste the code in it from  https://pastebin.com/b2gWW6h3
    Then again open the index-service.php file and find the below line of code on line no 272

    <?php echo do_shortcode( ' [contact-form-7 id="54" title="Kontaktformular 1"] ' ); ?>

    Replace shortcode value with your short code. 

    Save changes and activate your child theme..
    Let me know for further assistance.

    Thanks 
    Akhilesh
  • Worked perfectly,

    Thanks.
  • 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 . 


    Thanks 
    Akhi
This discussion has been closed.