I am trying to use shortcode in wordpress. but its not working. I am new at this kind of job.

My codes are:

This is a post with short code ......

[contact-field label="Name" type="name" required="true" /]
[contact-field label="Email" type="email" required="true" /]
[contact-field label="Website" type="url" /]
[contact-field label="Comment" type="textarea" required="true" /]

But it doesn,t work. It print the code as it is. Whats wrong with my code?

enter image description here

  • Are you using this plugin?
    – Domain
    Dec 7, 2015 at 12:46
  • You are using shortcodes in wrong way.
    – Domain
    Dec 7, 2015 at 12:48
  • No. I am not using it. @WisdmLabs
    – Kallol Das
    Dec 7, 2015 at 12:49
  • Which is the correct way? @WisdmLabs 1
    – Kallol Das
    Dec 7, 2015 at 12:51
  • 1
    Please refer Wordpress Shortcode API.
    – Domain
    Dec 7, 2015 at 12:52

1 Answer 1


The Wordpress application (ie. from Wordpress.org) does offer some default shortcodes that you can reference.


[contact] is not one of them. You seem to be referring to the Shortcodes offered by Wordpress.com however these shortcodes are peculiar to sites hosted on Wordpress.com - they will not work in your Wordpress application.

To call other shortcodes you will need to choose a plugin that includes contact shortcodes, or write your own, as described in the Wordpress Shortcode API.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.