Back to Top

How to hide the success message from Contact Form 7?

How to hide the success message from Contact Form 7

Contact form 7 is most common in every wordpress site. Its a very common and useful plugin for creating a contact form in wordpress.

About Contact Form7

Contact form 7 provides many controls to handle the customization you want for your different kind of websites.There is an action hooks and filters which manage your customization without modifying core files of plugin.

Today i am going to explain how to hide success or failure message in form after some time in contact form 7. However, I am going to sharing a way which is very easy and you need to place into admin panel. No changes in file at all.

Sometimes, error or success message create issue like add extra space and break the content, break html format or even display if you reopen form without refresh on i will fade out the success message after sometime.

Soltution to hide the success message

Let’s checkout the solution to fadeout content.

First of all , Login in admin panel and select contact form 7 menu from left panel.

Next, edit form you want to change and go to bottom of it. You will get box named as “Additional Settings”.In the “Additional Settings” box, add following line of code.

Thats it. You can use code.If you have any query or question,tell us in the comment section :). Don’t Forget to Follow us on Twitter or Subscribe us to Get the Latest Updates.

Comments (11)

  1. Handy !

  2. Thank you. Good work.

  3. it works… but i haven’t found how to hide the form after submitting

  4. Hi,
    i want to hide contact form not massage

    1. You can set this from admin panel to hide form.

  5. Michell Jose Gutierrez Rincon says:


  6. Hi! I’m quite new to wordpress and i don’t know how to code.
    What i want to do is modify the success message
    “Thank you for your message. It has been sent.” and to put my own.
    Do you know how to do that?


    1. You can check message from admin panel. Once you create form from contact form plugin, you will get tab for Messages and from that you can change the message.

  7. Rajender Singh says:

    Hello Mem
    Can you help me? i want to hide contact form 7 Validation error message box below form.

    1. can you explain more?Do you want to remove message after displaying it?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Most Popular Posts

MySQL FULLTEXT Index and Search

Posted on 3 years ago


How to define PHP Magic constants

Posted on 7 years ago


What is Final keyword in PHP

Posted on 7 years ago