WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Creating a custom wp-signup page (8 posts)

  1. dguyen
    Member
    Posted 3 years ago #

    Can someone help me with creating a custom signup page. Currently I have a graphic background on my home page (sorry no link, I'm on a local build).

    When accessing ../wp-signup.php for a new user to register a new blog, the signup form uses the home page-template. I've scoured the internet and still can't find a solution to fixing this. I'm not solely referring to styling the form itself, but the page template the form uses.

    I've tried copying the wp-signup.php file into my theme directory and linking my signup page to it... it works but the confirmation and error pages still re-direct to the home page-template.

    Does anyone have a suggestion, I would truly appreciate it...

  2. alm06130
    Member
    Posted 3 years ago #

    Registering seems to use link to wp-login.php?action=register.
    action register in wp-login.php :

    case 'register' :
    if ( is_multisite() ) {
    // Multisite uses wp-signup.php
    wp_redirect( apply_filters( 'wp_signup_location', get_bloginfo('wpurl') . '/wp-signup.php' ) );
    exit;
    }

    I think you can modify location of signup script using filter 'wp_signup_location'
    I'have not tested, hopes this can help.

  3. Make a page template with the wp-sgnup.php code. There's a few places in that code itself that you need to change the references to wp-signup itself.

  4. yianniy
    Member
    Posted 3 years ago #

    wp-signup.php has an action hook 'before_signup_form'
    You could create an action that prints out css just for this form.

  5. dguyen
    Member
    Posted 3 years ago #

    Thanks Andrea_r and yianniy... I've messed around with creating a page template with copied wp-signup.php code, but I'm not sure me changing all the references/links to wp-signup to match my needs is worth it.

    I've decided the best option so far is to use @Andrea_r ra-signup-css plugin and style the page that way. Thanks Andrea.

  6. 416member
    Member
    Posted 3 years ago #

    @dguyen Please if you provide the link for that ra-signup-css plugin, I'm trying to locate it but I haven't been successfull in the past hour..

    Thanks

  7. 416member
    Member
    Posted 3 years ago #

    Thanks Andrea!

Topic Closed

This topic has been closed to new replies.

About this Topic