Site icon Anthony Carbon

Theme my login (TML) or WordPress login form does not show the login error.

Theme my login (TML) or WordPress login form does not show the login error. This error display after you have login the wrong username or password.

The reason why it is not showing is the current login form action URL and your current page has different URL. Theme my login (TML) is using /login/ page and if you attempt to login in home page using TML, the error is not going to use.

How to see the login form action URL? See the HTML markup below. You use inspect element to check your action URL.

<form methor="" action="https://www.anthonycarbon.com/login">

How to solve this issue?

1. If your using a login form in a popup window, you can change the form action via jQuery by getting the current page URL add replace to you login form action URL.

jQuery(document).ready(function($){
$('#myloginformID').attr('action',window.location.href);
});

2. If your using static login form, you can just put the page URL where the login form is to be place.

Note:

In order to show the login form error, make sure the form action URL is the same on your current page URL.

Exit mobile version