Stack Exchange Network

Stack Exchange network consists of 174 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
0answers
17 views

Wordpress Login redirects to wordpress.com

I've never seen this issue before and searched google to no avail. When I go to a WordPress login page for a domain hosted on our GoDaddy with Cpanel, the wp-login page redirects me to a WordPress....
0
votes
0answers
17 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
28 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
12 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
50 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
42 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
46 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
18 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
21 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
57 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
32 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
37 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
121 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
24 views

Cannot access wp-admin but can authenticate frontend login

I have a custom function which is based off the wp_login_form(). I copied the function and essentially wrote it to add in two new fields to validate against - "mbjbookdomain" and "mbjbookreference". ...
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, ...
0
votes
0answers
39 views

Login and registration integration with 3rd party API

I have a 3rd part API that regiter/log in users to its system after buying a product, I want to integrate this API with the login and registration. Scenarios: 1. WP user login -> call API for ...
-1
votes
1answer
1k 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
232 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
729 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
43 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
11 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
41 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
470 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
23 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
38 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
826 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
91 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
240 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
805 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
61 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
22 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 ...
0
votes
0answers
30 views

login redirect setting

I am making homepage that user can register. I made 'page-login.php' with 'wp_login_form()'. It looks work fine. And in specific template, I made link to login. like bellow. (I need to redirect to ...
1
vote
1answer
234 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 ...
0
votes
0answers
51 views

wp_login_form ignores redirect

I'm on WordPress 4.9.4 and I'm building a custom theme using Advanced Custom Fields Pro 5.6.9 and Timber 1.7.0 (the base theme is the the packed Timber Starter Theme). I'm building a page that has ...
1
vote
1answer
236 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
105 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
13 views

LinkedIn Registration

I am trying to create an option for users to register with linkedin. I've gotten that much to work through a plugin, but it automatically is allowing users to login. I'd really like to have the option ...
0
votes
0answers
611 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
0answers
25 views

Processing login error on a custom page template

I am trying to create a very simple WordPress plugin to display and process the WordPress login form. The plugin should display a login form on a custom page template and display login error on that ...
0
votes
1answer
352 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
144 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
285 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
177 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
48 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
43 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 ...