Apply theme to registration page. (6 posts)

  1. peterx
    Posted 11 years ago #

    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?

  2. Mark (podz)
    Support Maven
    Posted 11 years ago #

    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 ?

  3. Gridmark
    Posted 10 years ago #

    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.

  4. Tfleming
    Posted 10 years ago #

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

  5. JoeyE
    Posted 10 years ago #

    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

  6. Tfleming
    Posted 10 years ago #

    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.


Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.