[wp-hackers] Best practice: custom registration form
glenn at glennansley.com
Tue Aug 3 20:21:09 UTC 2010
You already have post_content in the wp_query object at the
Parse the wp_query object for your shortcode and do what's needed at
that point (before headers are sent).
On Tue, Aug 3, 2010 at 4:03 PM, Lox <lox.dev at knc.nc> wrote:
> 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
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers