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
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.
GDPR/Privacy | Terms & Conditions | 2020 © Iprecious ALL Rights Reserved.