WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm new to writing WordPress plugins, and I'm running into a snag. A lot of what I've seen is about using actions or filters to manipulate or add content at specific global areas (all posts, on post, etc). What I'm looking for is how to create content for a specific page. I haven't seen any tutorials that cover this.

Take, for instance, Contact Form 7 - you copy a specific string into a page body, and it triggers the content. Are they just replacing the content using a filter? I want to make sure there isn't an easier way to tackle this.

share|improve this question

I believe you're referring to a shortcode.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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