Questions tagged [wp-login-form]

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

1
vote
1answer
20 views

Login error redirecting to wp-login page

I have a custom login page for a blog. If the user gets the logins incorrect then its re-directing them to wp-login page, but I'd like the error to be echoed out on the custom login page - is that ...
0
votes
0answers
27 views

I need to block or redirect my wordpress admin access to my site visitors

I need to block or redirect my wordpress admin access to my site visitors I have block my wordpress backend access using itheme plugin but still i can access using this URL https://my-site.com/wp-...
1
vote
0answers
27 views

How to fix 'Wordpress redirection loop problem in wp-login.php page'?

When I am going to the wp-login.php page of my wordpress website, the login form is not showing. Instead I can see its redirecting back infinitely to the same page. I am confused why suddenly this is ...
0
votes
1answer
23 views

How to auto login after registration? [duplicate]

I create an user using $user_id = wp_create_user($username, $password, $email); After creating the user I want them to auto login and so according to ravi patel, I have added the following code in ...
0
votes
0answers
27 views

Customize wp_login_form appearance

I embedded a login form in my websites header for not logged in users. I added it using this code in my navigation-top.php: <?php if ( is_user_logged_in() ) { ?> <?php } else { ?> ...
0
votes
0answers
21 views

Special link for no automatic login (no username and no password)

My goal is: Login to different wordpress sites of mine without any steps other then pressing a link. So for example the link will be: https:/domain.com/wp-login.php?username="admin"&password="...
0
votes
1answer
43 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
18 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
20 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
25 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
24 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
35 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
18 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
225 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
59 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
54 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
24 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
97 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
2k 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
41 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
63 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
242 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
3k 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
385 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
1k 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
82 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
16 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
94 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
703 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
26 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
8 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
50 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
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
2k 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
140 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
304 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
1answer
30 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
25 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
283 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
118 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
1answer
521 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
256 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
440 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
233 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
60 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
53 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 ...