1. Example :
Copy this code and paste it into your post, page or text widget content.
[contact-form-7 404 "Not Found"]
2. Example
Copy Below code in your php file inside where you want put this:
<?php echo do_shortcode( ‘[contact-form-7 404 "Not Found"]‘ ); ?>