1. DeePublished: 10 months ago

    Hi , can i use this in my custom login form as well. ? shortcode ? thanks.

    • IftekharPublished: 10 months ago

      Hi, I can’t guarantee that as I don’t get to see your custom login page. However, this snippet definitely works with default wp login page. I am using the same snippet on this site as well. Hope that helps. Thanks.

  2. DeePublished: 8 months ago

    Sorry its doesnt work with the latest wordpress update, reason being now wp-login accepting the login by username OR email .

    here need to review:
    $user = get_user_by(‘login’, $username); need email ? agree?

    • IftekharPublished: 7 months ago

      I am using the latest version of WP (4.9.8) on my site and its working just fine.

Leave a Reply

Note: Convet HTML, PHP, JavaScripts from Postable, before posting from comment section.
License: By submitting a comment here you grant this site a perpetual license to reproduce your words and name/Web site in attribution. Please use your real name or a pseudonym (i.e., pen name, alias, nom de plume) when commenting. If you add your site name, company name, or something completely random, I'll likely change it to whatever I want.