Betiok
6/10/2017 - 10:18 AM

If Shortcode Exists

If Shortcode Exists

<?php if ( shortcode_exists( 'contact-form-7' ) ) { 
	echo do_shortcode( '[contact-form-7 id="41" title="Book a Consultation Form"]' );
} ?>
<button class="wpcf7-form-control wpcf7-submit btn green line">Submit Inquiry</button>