WordPress.org

Ready to get started?Download WordPress

Forums

Theme My Login
[resolved] Confict with WP Maintenance Mode (2 posts)

  1. Matteo Legittimo
    Member
    Posted 2 years ago #

    Hi!
    If "WP Maintenance Mode" plugin is in active mode, no way to login to the backend. It redirect to the home.

    I need to change the wp-admin, so i did like this:

    - Copy login-form.php to the root of my theme
    - Made a new template page where i put this code:
    <?php theme_my_login(); ?>
    NB: if i put something like this:
    <?php theme_my_login( array( 'register_form' => 'this-page-not-exist.php' ) ); ?>
    still working, but the name of the file it's wrong.
    - create a new page with my new template and slug "backend"
    -Assign the ID Page
    - if WP Maintenance Mode is NOT in active mode, in http://mysite/backend i can see my login.

    It's the best way to do this?
    And, how i can customize the string ('Log In')? From where come from?
    Can't see in login-form.php file.
    thanks so much!

    Matteo

    http://wordpress.org/extend/plugins/theme-my-login/

  2. Jeff Farthing
    Member
    Plugin Author

    Posted 2 years ago #

    Since WP Maintenance Mode shuts down before the request is dispatched, TML will not work with it, by default. TML uses a WordPress Page, which are based out of the DB, not a physical file. With that said, there are probably a few ways to inject the login form via other methods. You've mentioned one, which works for you, so why worry if it's "the best way" or not?

    As far as translations, see Translating WordPress.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic