Working with short code in WordPress

PHP Tutorial

To work with wordpress. I download the Contact form 7 plugin form

Then uploaded and activate you contact form 7 plugin.

Two way you can add short code in wordpress site.

Method 1) Copy and


paste the short code in the editor page itself. Refer below image.

Method 2) Copy and Paste the below code in page.php , front-page.php file  or in any file in wordpress code to display the contact form

<?php echo do_shortcode(‘[contact-form-7 id=”112″ title=”Contact form 1″]’);?>

View original post


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s