[wp-hackers] Best practice: custom registration form

Lox lox.dev at knc.nc
Tue Aug 3 20:03:35 UTC 2010

2010/8/4 Patrik Bóna <patrik.bona at mrhead.sk>:
> I've created custom registration form for one website.
> I've used custom page template for doing this (together with my form
> system). Execution of form is first thing in template, so i can do
> redirection, or set cookies...
> If you are creating it just for yourself and not for some plugin which
> should be for everybody then i think that best solution is to use custom
> page template.
> I've created a lot of forms this way and for me it is best approach.

This what I end up using: a custom page template with a

But when the template is called, the headers are already sent, so I
wonder how you can send headers there (like wp_redirect does), even at
the very beginning of the template ..


lox.dev at knc.nc

More information about the wp-hackers mailing list