Forums

Custom Login Form (2 posts)

  1. FutureHasNoBounds
    Member
    Posted 1 year ago #

    BACKGROUND: I'm trying to create a custom login form that uses wp-login.php - see code snippet below.

    PROBLEM: When user enters incorrect login details, the page gets redircted to the original wp login form page, which displays an error message. Anyway of preventing the redirection, and getting the error message to display in current page?

    I'm guessing people might suggest I have to hack wp-login.php, which i don't want to do or I might have to make a new login form that doesn't use wp-login.php :(

    <!---Code Snippet--->
    <form action="<?php echo get_option('home'); ?>/wp-login.php" method="post">
    </form>

  2. pioneerka
    Member
    Posted 1 year ago #

    Here is a bit of inspiration for you:
    Custom Login/Register/Password Code
    Hope it'll help.

Topic Closed

This topic has been closed to new replies.

About this Topic