Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [wp-login-form]

Provides a simple login form for use anywhere inside your theme or plugin (in public/guest facing requests).

0
votes
1answer
28 views

Launch wordpress site to local computer from live website backed-up

A previous developer has created a wordpress site in the live server. Now after seeing the live website, it caught my attention that the website plugins, same with the theme, were buggy due to long ...
1
vote
1answer
14 views

Change username before login

How to change username before submitting in login form ? I have used mobile number as username when a user registers in site. also I have removed 0 from the beginning of the mobile number. Now in ...
0
votes
2answers
16 views

Modify wp-login.php Labels Conditionally Based On Referring URL

I apologize if this is an easily answered question - I've been looking for a while and can't quite get my head around it. I would like to modify the first label for the wp-login.php page based on the ...
0
votes
1answer
20 views

error at login page in wordpress

hi today my wordpress blog in wp-admin and wp-login.php had an error Notice: wp_deregister_script was called incorrectly. Scripts and styles should not be registered or enqueued until the ...
0
votes
0answers
23 views

Redirect after login when WordPress in subdirectory

I've a problem in my Wordpress website which is after I login from /wp-admin I didn't redirected to anywhere just keep seeing the login page without any errors. it was working fine when the site was ...
0
votes
1answer
32 views

Can't login with any account - No error message shown

I'm trying to login to one of my Wordpress sites through the /wp-login.php link. When submitting the login form the page refreshes but does not re-direct to the /wp-admin.php dashboard. I've tried ...
0
votes
0answers
16 views

Redirect problem on login page

I've create a custom page with a login form but I have a problem. When try to login I automatic redirect to my same login page (in my case I have the form on home page) and ULR change from www.mysite....
-1
votes
1answer
121 views

How to enable “remember me” checkbox in login forms by default?

I have wordpress website and i want to enable "remember me" checkbox on login forms by default because lot of user would like to login all the time until they will delete cookies. If the user does not ...
0
votes
1answer
49 views

Wordpress Login & Register works in localhost but don't work on server

how are you ? i have a Ridiculous problem. i created a ajax login and register function in wordpress . they works without any problem in localhost,but they don't work when i upload this project on ...
0
votes
1answer
50 views

Is it possible to remove the version number from the wp-login.php page?

I am trying to hide all version number on my WordPress site. Is it possible to remove the ver= version number from the stylesheet link in the wp-login.php page? href='https://example.com/wp-admin/...
0
votes
1answer
21 views

How do I validate extra pin field on my WordPress login form page?

I have been able to add an extra field to my WordPress login form using the following code inside wp_login.php file, thanks to stackxchange. add_action('login_form','my_added_login_field'); function ...
0
votes
2answers
48 views

Anyway to output the registration form like the login form with wp_login_form()?

I'm trying to create a dual login/register page with WordPress and so far I found out I can create my custom template and then output the login form with wp_login_form, however I cannot find any ...
0
votes
1answer
456 views

How can I modify the default reset (lost) password email text?

I found some similar questions on here, but was unable to apply the solutions that were provided. The standard password reset email that Wordpress is sending does not provide a clickable url for ...
0
votes
0answers
35 views

Frontend registration form doesn't save data only redirects to wp-login

I have another wordpress dilemma... I've built a frontend registration form, but for some reason whenever a user tries to register it doesn't work, and they get redirected to wp-login.php. The ...
0
votes
1answer
45 views

Wordpress cookie issue on login: “ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.”

recently I had the problem where on login page Wordpress reported an error: ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress. This was asked ...
0
votes
1answer
179 views

How to change form action of wp-login page with a function

I'm manually creating my own Wordpress login form. The action parameter of all the forms points to wp-login.php. I want to change it for all of them to custom url (/login). Any idea how to that? For ...
0
votes
0answers
20 views

Login redirects to home page and doesn't log in

When logging into the backend it redirects to the home page. If I try going to /wp-admin after it gives me the login again. I've tried deleting the htaccess, renaming the plugin and theme folders, ...
-1
votes
1answer
2k views

Replace standard Login and Register form for Woocommerce [closed]

When non-logged users click on "my-account" they see standard woocommerce login and register forms. I have a [short_code] of new login form. Is there any way to replace or redirect standard login and ...
0
votes
1answer
330 views

Possibility to login without password

I'm creating a webapplication for users that are racing in a rally. I have the following data from the different racers: Username Password Mobile phone Email The problem is they never know their ...
1
vote
3answers
970 views

How to change login labels

I want to know how to change the login label such as Username or Email Address to Username within the wp-login.php?
0
votes
0answers
64 views

redirect is ignored in wp_login_form

I have a loginform in the footer.And i have a problem that redirect parameter gets ignored in function wp_login_form. $args = array( 'redirect' => site_url( $_SERVER['REQUEST_URI'] ), '...
0
votes
0answers
13 views

How to set multiple user role in single registration page

This is a login/register page of jobroller theme. I want same login/register page with wordpress twenty-sixteen theme. I am kinda noob in this. How can i do this without using the jobroller theme?
1
vote
1answer
60 views

CSS style button For WP Login Function in page template

I am using Avada theme. I have a page template created where I placed the WP Login function: <?php wp_login_form(); ?> Here is a live page: https://webariaserverfour.com/content-restricted/?...
2
votes
2answers
603 views

Remove “Remember Me” from login form

I have a form that is on the front end of my site. I'm trying to remove the "Remember me" checkbox but can't get this to work. Here is my form code. <?php $args = array( 'echo' ...
0
votes
0answers
25 views

wp_signon not loggin in user to WordPress [duplicate]

I'm using the below script to log the user in, but when I run an if statement for is_user_logged_in(), but it doesn't seem to return the user as logged in. <?php if( isset($_POST['username']) ){ ...
0
votes
1answer
7 views

Custom transactional emails on user signup with wp_add_user

I've created a front-end form that handles creation of a user using wp_add_user and was wondering how I could send a welcome email to the user email that they entered into the form, upon form success. ...
1
vote
1answer
44 views

Customizing the Wordpress login form

using this doc from WordPress I was able to remove the default WordPress logo and add my own using function my_login_logo() { ?> <style type="text/css"> #login h1 a, .login h1 a {...
0
votes
0answers
12 views

How can I use the same fields for two different forms?

I'm trying to combine the login and register forms on a WooCommerce/WordPress site. The idea is that a single set of fields, username and password, could be submitted by two different forms. The first ...
0
votes
1answer
1k views

Custom password set/reset link in same URL format as default does't work

I'm trying to add custom wording to the basic WordPress registration password set/reset email. I'm using the plugin New User Approve to approve all users, but that doesn't seem to impact my issue. The ...
0
votes
2answers
1k views

How to destroy sessions after a user logout [closed]

Hi i have a ridiculous issue with my website, if a user tries to login by using his social account like google or Facebook or twitter account and then logs out after is work but my site wont destroy ...
0
votes
1answer
114 views

custom login query for custom login form?

I have a custom multi-step form which collects user data and other detailed information, in the last step it has 2 options for user, 1) asks user to enter login details and submit to save record 2) to ...
0
votes
1answer
278 views

Wordpress reCAPTCHA Problem

I have a WordPress site that has a google recaptcha on the login page, the problem is apparently it's outdated and now I can't even get in the background to update it. the google page it links you too ...
1
vote
2answers
1k views

WordPress login with Phone Number [closed]

Here is the code I'm using First i have Removed Wordpress Authentication remove_filter('authenticate', 'wp_authenticate_username_password', 20); Then i have added my own authentication add_filter(...
0
votes
0answers
144 views

Allow only numbers in username

I'm planning to take 10 numbers(imagine it as a phone number) in the username field on my website when a user signup. How can I do that? I don't want to solve this with any plugin because I am already ...
0
votes
1answer
28 views

How to login to wordpress via Cpanel

So I am 90% done with my website, I did a mistake with shortcode and removed the login option, now I cant login :(. I tried website/login but the admin login option doesn't appear. Any other way to ...
0
votes
1answer
23 views

Change default login auth

I am going to enhance my WordPress authentication page. My idea is simply, is just change the process to check password, like the default process login with username or email. I've change the ...
1
vote
1answer
235 views

Custom login doesn't work properly

I've a made a plugin which generates a login form, by using a shortcode. The login works, however, inside the dashboard I've noticed that the forms submits don't work properly. For example, the ...
1
vote
1answer
271 views

wp-login.php register/lost password links to buttons?

How do I style the wp-login.php register/lost password links to buttons for an easier mobile UI? Where do I find the HTML to append the ahref to a submit? And which CSS file do style that button in? ...
4
votes
4answers
109 views

adding rewrite rules in .htaccess

I was reading this answer, and tried to used its guide to hide login page. It suggest to edit .htaccess file of my website to something like this: RewriteEngine On RewriteBase / ##### ABOVE THIS ...
0
votes
0answers
21 views

I want to signin from first wordpress site to other wordpress website without registration..without using network mode

i have a wordpress website installed (without multisite wordpress network feature) on server so i want to login to other wordpress website with same credentials.. in-details: i want to create a link ...
0
votes
0answers
676 views

isset( $_POST['submitted'])) Not working with hidden fields & wp_nonce_field()

I try to implement google recaptcha v2 using isset( $_POST['submitted'])) method on form submittion. But it's not working because of hidden fields & wp_nonce_field(). And form submitted without ...
0
votes
1answer
442 views

How to add required attribute to wp_login_form fields?

I create a new form in wp header using function wp_login_form(), but form fields are not set required attribute. How to add required to field?
0
votes
1answer
206 views

Redirect non-admin after login, and in url - /admin

How and where, can i make function, that will redirect user (if it's not admin) to my specific URL? (the same - when logged user type /wp-admin URL.)
1
vote
2answers
352 views

wp_login_form() passing user ID into URL on redirect?

I have a custom page where I ask users to log in to access the page. Once they log in, I would like to redirect them to the same page but I want to add on their user ID to the URL string in the ...
1
vote
3answers
202 views

Why is my javascript not invoked in my hooks except wp_head?

I am asking in the last instance because I am totally confused after not being able to invoke custom javascript functions for 2 days straight. I am new to Wordpress plugin developmnet as my background ...
0
votes
1answer
52 views

Restricting frontend acess based on user role otherwise redirect to login form

I have created a custom user role in my functions.php file. I am creating a new page template for a page on my website that I would like to restrict by role(not by capabilities). Basically I would ...
0
votes
1answer
48 views

Custom Login Process

We have currently have a login process that uses a front page to handle the login process then redirects the user back to the Front page and logs the user in. Part of the reason for this process is ...
0
votes
0answers
102 views

How to enable a user to choose password on register?

I am using the default WordPress registration form. I added extra fields to the form (First Name, Last name, Password). I have some issues: I am supposed to use the default WP registration, no ...
1
vote
1answer
670 views

Why can't /wp-login.php be load balanced?

I've seen several questions posted but they either blow passed this specific item or go unanswered. Basically, I have a load balance set up between two instances of the same wordpress website with ...
0
votes
0answers
33 views

Brute Force Attack Help

Today, one of my clients sites has had an unusually high number of brute force attacks, over 2000 attempts from different IP address using trying different login credentials. I had installed the ...