WordPress.org

Forums

Theme My Login
[resolved] Prevent forced focus (4 posts)

  1. benz1
    Member
    Posted 4 years ago #

    Great plugin but how can I prevent it from forcing focus to the first field (which blanks out an initial value).

    Thanks.

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

  2. Jeff Farthing
    Member
    Plugin Author

    Posted 4 years ago #

    Create/edit /wp-content/plugins/theme-my-login-custom.php and add the following to it:

    remove_action( 'wp_print_footer_scripts', array( &$GLOBALS['theme_my_login'], 'print_footer_scripts' ) );

  3. eastwoodarts
    Member
    Posted 3 years ago #

    Putting it in your functions.php also works.

  4. Jeff Farthing
    Member
    Plugin Author

    Posted 3 years ago #

    You brought up a 7-month-old thread to say that?

    I recommend putting it in the file I mentioned for two reasons:

    1. If you change themes, the code stays
    2. It keeps the code separate from theme related code

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Theme My Login
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic