[wp-hackers] Best way to create a "page" with plugin?

Matt Mullenweg m at mullenweg.com
Mon Nov 27 16:36:05 GMT 2006

Rob wrote:
> Is there a better way to create what is in effect a page? I'm thinking no,
> since themes vary so much, but here's hoping! :k

What I've seen done that is neat is simply asking people to put in a 
static string, like %%CONTACTFORM%%, in any post/page they want your 
stuff to appear. Then just strstr for that, and if it's there 
str_replace in a filter on post_content.

Matt Mullenweg
  http://photomatt.net | http://wordpress.org
http://automattic.com | http://akismet.com

More information about the wp-hackers mailing list