Support » Plugin: WP Custom Login » Two Questions

  • Resolved KTS915

    (@kts915)


    This looks a really helpful plugin: neither bloated nor full of javascript. Thank you!

    I do have two questions:

    1. In addition to the header and footer, is there a way to get both right and left sidebars to show up on the login and lost password pages?

    2. I am getting an error message:

    Incorrect Use of wp_register_style()
    Used in wp-content/plugins/wp-custom-login/wp-custom-login.php on line 11.
    Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks.

    Is it possible to fix this?

    Thanks very much!

    https://wordpress.org/plugins/wp-custom-login/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ninos

    (@ninos-ego)

    1. You can use following action hooks:

    • wp_custom_login_header_before
    • wp_custom_login_header_after
    • wp_custom_login_footer_before
    • wp_custom_login_footer_after

    2. I’ll have a look on it 🙂

    Plugin Author Ninos

    (@ninos-ego)

    Hey KTS915,
    because of the notices: I’m planning a rewrite of this plugin when I find a little bit more time. Atm you can deactivate all php notices & errors (should always be done on a productive system).

    Thanks!

    OK, thanks again!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Two Questions’ is closed to new replies.