So you have dived into the world of wordpress but you just cant understand how to add a shortcode directly to your code, Let me help.

In a nutshell just add this :-

<?php echo do_shortcode('') ?>

What we are doing here is telling wordpress to show this shortcode, but we dont have a shortcode to show yet, now lets have alook at Contact Form 7, once you have created your contact form you will see a page like this

Contact Form 7

We want the bit inside of the red circle (Yours wont have the red circle as i have added it 😀 ) If you have multiple contact forms, find the one you want and copy the short code for this. Now lets add that to our code.

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

And your all done, now refresh the page you was trying to get this to show on and there it will be.

Thanks for reading and i hope i helped.

Features

Find Us

Luton Road
Faversham
Kent
ME13 8HQ
07 86749 8208
[email protected]

Connect With Us

Recent Blog Posts