WordPress.org

Support

Support » Requests and Feedback » Apply theme to registration page.

Apply theme to registration page.

  • Themes do not apply to wp-register.php. A small enhancement to WP would apply themes to the registration page. This is what I am trying.

    In wp-register.php I replaced the include of the config with wp-blog-header.php. In wp-blog-header.php I check for wp-register.php then load register.php from the theme.

    The code at the end of wp-register.php does not run so I am inserting the code in to smaller files that can be included by wp-blog-header.php. When wp-blog-header.php sees the action register, it includes wp-register-register.php.

    What do people think about implementing this back in to WP so that everyone can theme the registration page without modifying files outside the theme?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Mark (podz)

    @podz

    Support Maven

    I’m don’t think that such a change would make it into the core, and it seems a little complex for a plugin. Perhaps you could write up a ‘How To’ on Codex ?

    For me, getting the register page to use my theme was as simple as going through wp-register.php and replacing each occurance of wp-admin/wp-admin.css with the stylesheet of the theme I use and hardcoding the peices of the header I use.

    Of course this is more of a lazy way to do it, as it will not change when you switch around your theme or use your actual header. But I don’t use any others than my custom theme so it’s of no real consequence.

    Also a writeup in the Codex would be awesome (I checked, it wasn’t there) for others looking to use the original commenters method.

    Although I do not keep up with the WordPress developers standards, I belive the next logical step would allow theming of not only “external” components like wp-register.php but the Dashboard as well. This seems to be the only lacking feature of a very intuitave theming system.

    I’d like to apply my theme to this as well. Posting here in order to watch this thread.

    It is as “easy” as opening up the wp-register.php and wp-login.php (if you want) and applying some of the same markup that is from your template files (header + index + footer– or however your template is setup) and inserting it in the different places in the wp-register page.

    For example:
    My Register and My Login

    wow… easy is definitely a relative term there. A bit beyond my skill level at this point. I’ll have to revisit this when a plugin or a simple cut and paste becomes available.

    Thanks!
    Tony

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Apply theme to registration page.’ is closed to new replies.