Support » Networking WordPress » hook to customise the register page

  • Resolved rec19

    (@rec19)


    I’m trying to css the registration page at mysite.com/wp-signup.php

    So far I have customised the login, lost password and admin pages as follows:

    add_action('login_form', 'custom_admin');
    add_action('admin_head', 'custom_admin');
    function custom_admin() {
       echo '<style type="text/css">
    css code here
    	</style>';
    }

    But I can’t do the registration page, iv’e tried using register_form and user_register hooks but they don’t work.

    any help will be appreciated, thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter rec19

    (@rec19)

    *I was supposed to put; login_head for the top one.

    Just an update, I still haven’t found the hook for the registration page, but I’ve used wp_print_scripts instead, seems to of done the trick, is this ok?

    Have a look at the code in the wp-signup.php:

    signup_header is there.

    I offer…

    add_action( 'signup_header', 'custom_admin' );

    Thread Starter rec19

    (@rec19)

    Thanks a lot for this, been looking for this for ages. It didn’t have that in the wordpress hook references.

    I like looking for hooks here: http://adambrown.info/p/wp_hooks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘hook to customise the register page’ is closed to new replies.