Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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
add comment

1 Answer

I believe you're referring to a shortcode.

share|improve this answer
add comment

Your Answer

 
discard

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.