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 trying to bring buddypress user registration form to front page and send data by doing a post method to original registration page and go through registration process.

What I've done is copying some fields from registration page source (without any changes in field name) and pasting to the page that goes to be front page.

form tag contains these attributes:

<form action="http://mysite.com/signup-page" name="signup_form" class="pure-form pure-form-aligned" id="signup_form" method="post" enctype="multipart/form-data">

I also noticed that there is a _wpnonce hidden input in registration page so I found the related function from bp-default/registration/register.php and put it within form tag: <?php wp_nonce_field( 'bp_new_signup' ); ?>

The problem is that when I click submit button, it goes to the link I used in action but page only has title and a box to login and leave a comment. no field and no warning is there! However when I access registration page directly all things are correct.

Any help will be appreciated!

share|improve this question
which theme you are using ? –  Strik3r Sep 21 '13 at 8:37
@Strik3r bp-default theme –  revo Sep 21 '13 at 9:24
i checked that on default theme and its working fine ! –  Strik3r Sep 21 '13 at 9:28
that is weird, i check on my local its working. have added <?php wp_nonce_field( 'bp_new_signup' ); ?> in form, there are two _wp_http_referer hidden fields in form ! –  Strik3r Sep 21 '13 at 11:37
@Strik3r I've also done that, and for _wp_http_referer, yes I was testing some works. but that doesn't matter! –  revo Sep 21 '13 at 15:01

1 Answer 1

What exactly are you trying to achieve? what data do you want to send? If you would like to just print out the registration page "front-end" / index.php or whatever template you have on homepage.

try assigning the registration page to any page by going into the buddypress settings and assign page use BuddyPress tutorial

and then use another free wordpress plugin named RPS Include Content

and make a shortcode using their "show hows" if you do not know

and just place that code in the front-page php that you are using

like so

<?php do_shortcode('[my-shortcode]'); ?>

Registration should work like normal via this method.

share|improve this answer
front page is a custom page so it has its own styles and I just put necessary registration fields and not all. so I don't wan to include all things. –  revo Sep 22 '13 at 20:47
You can do the above and then add some custom css to make some fields not show. –  clickmac Sep 23 '13 at 12:56

Your Answer


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.