[wp-hackers] Best way to create a "page" with plugin?
Rob
r at robm.me.uk
Sat Nov 25 23:53:55 GMT 2006
I've done this for ages by:
1. Hooking `template_redirect`
2. Including my full template file
3. `die`ing.
It works, but it still feels particularly clunky; for a start, it doesn't
work with all themes (the template has to be edited to fit the particular
HTML, although the inconvenience is sort of minimised by calling
`get_header()` etc.).
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
--
Rob Miller
http://robm.me.uk/
More information about the wp-hackers
mailing list