Skip to main content

Questions tagged [wp-login-form]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

Looking for a way to align log in form fields with background image and scale responsively

I only know basic CSS and I am not a developer. I am trying to find a way to make a custom log in form on my wordpress site where there is a specific background image (such as of a lined notebook) and ...
I have many questions's user avatar
1 vote
1 answer
84 views

Redirect Login Based on User Role

I'm currently using the following code to add a login form to a page. How can I redirect users after they have logged in based on a custom user role. function my_login_form() { $args = array( ...
Jon's user avatar
  • 313
1 vote
0 answers
19 views

Customize Wordpress Password-Reset Behavior

quite a lot of my users dont receive the Password Reset Mails. It seems they are flagged as spam by some providers, probably due to an HTML Link (automatically converted by Brevo/Sendinblue) in ...
tim's user avatar
  • 164
0 votes
0 answers
53 views

Spam Registrations Bypassing WordPress Registration

I have a custom platform built that requires users to register with more information than is required by the standard WordPress registration process. I also have custom front-end login and password ...
Tony Djukic's user avatar
  • 2,108
0 votes
0 answers
33 views

Unable to login or reset password via wp-admin

I have a Serverpilot-managed server that has 2 apps installed on it. One of the apps is my Wordpress website that I haven't touched in a while. When I'm on the login page, I enter my username/email ...
Shrenik Raj's user avatar
0 votes
0 answers
14 views

WordPress does not allow me to login until another dashboard is open

I am trying to login https://whimzy.in/wp-admin but it does not allow me to login until another Admin dashboard is open, anyone know how to fix this issue?
Whimzy - Dine and Decor's user avatar
0 votes
1 answer
36 views

add custom image to bottom of wordpress default login screen

Is it possible to somehow via functions.php to add an extra image on the bottom of the default wordpress login page? Obs! - not the logo, this would be an extra image, below the "normal" ...
Adam Larsson's user avatar
0 votes
1 answer
22 views

Can't change login logo & css - older plugin data blocking?

I'm having problem chancing the login logo & css in the wordpress standard login. I must previusly had an old plugin or something, because it's using an old image. Now I have addedd the php code ...
Adam Larsson's user avatar
0 votes
1 answer
90 views

Replace Header Element on Wordpress Login Page

The default Wordpress Login and Registration pages use the following markup for the page's top-level heading: <h1><a href="<?php echo esc_url( $login_header_url ); ?>"><?...
The-Coder-Who-Knew-Too-Little's user avatar
0 votes
1 answer
56 views

Gravityforms login form custom redirect if form not submitted

I am using Gravity forms with Wordpress. For project I want to add function that allow to redirect to different pages based on condition: loginin person didnt submit specific form. For example after ...
user2482734's user avatar
1 vote
1 answer
25 views

login_enqueue_scripts changes are not reflecting

I tried adding a custom CSS for my wp-login page and login forms within my website using the login_enqueue_scripts hook. My issue is that my changes don't initially reflect on the front end. But the ...
Nalin Vyas's user avatar
0 votes
1 answer
38 views

Redirect after registration and auto login is not working

the user can register on the frontend form, and will be auto logged in after submission. Then he should be redirected to a custom URL, but the redirect is not working. // Shortcode für das ...
LovinQuaQua's user avatar
0 votes
0 answers
598 views

Replace the "wp-admin" in the URL with "xyz-admin" in WordPress dashboard

I want to replace the "wp-admin" in my URL with "xyz-admin" all across my dashboard after a user logs in. I know that there are some plugins that could help, but those plugins only ...
Programming Geek's user avatar
0 votes
1 answer
95 views

wp_login_form display no styled form

I've created a custom template for a custom theme, I need to show the vue app that will manage the front end only to logged users. I've used this code inside my functions.php file and it's supposed ...
OHICT's user avatar
  • 133
0 votes
0 answers
101 views

How to Disable Pre-population of Password on Password Reset

because of the way my site template works, I need to stop WordPress from pre-populating a new password when a user is brought back to the site, after clicking on the password reset link in the email ...
Ironlion's user avatar
  • 111
0 votes
0 answers
123 views

Remove login link from Reset Password-screen

I haven't been able to find anything useful regarding removing or hiding the "Login" link from the Reset Password screen and the screen after succesfully choosing a new password. I'm using a ...
S. Gski's user avatar
0 votes
0 answers
126 views

Why am I not able to login to the admin

After the login credentials are submitted, the login page is retained. There is no invalid username or password message. The URL changed from wp-admin to wp-login.php with the querystrings. The ...
Jun Dolor's user avatar
  • 101
0 votes
1 answer
69 views

How to authenticate/verify login credentials & check for user meta without logging in?

I have custom login form and i used wp_signon() to authenticate. However, i wanted to run an additional check for usermeta and if the user has account_status === pending, throw an error or or prevent ...
CruzZ's user avatar
  • 11
1 vote
0 answers
123 views

How do you create a front end form that enables the editing of member-specific custom fields in WordPress?

I would greatly appreciate any help you can provide regarding the creation of a front end form to allow members to edit custom posts that I have created in their admin panel. I have successfully ...
Richard Emmett's user avatar
-3 votes
1 answer
148 views

Custom login form logo not displaying

I'm tryng to customize the logo and the login form of a child theme I have in a wordpress site. I've tried to use the add_action('login_enqueue_scripts', 'my_custom_logo') action and inside the ...
devdev's user avatar
  • 1
0 votes
1 answer
738 views

Custom error messages for login and lost password forms

When a user enters wrong username/email or password in the login form, I want them to see "Invalid username/email or password." error message. That's easy to do with the following code: ...
user9646910's user avatar
0 votes
1 answer
65 views

Redirect users by role to custom pages

I have created a custom login form that will use the default action of the wordpress one. I need to display errors on it if occurs but at the moment the user will be redirected to wp-login.php in case ...
devdev's user avatar
  • 1
0 votes
1 answer
244 views

Registration fields prefilled with URL parameters

I’d like to invite some users via email to register and would like to prefill the user registration fields, such as A.) username and B.) email. Unfortunately it is not working and my JS skills suck... ...
VolkerHarz's user avatar
0 votes
1 answer
329 views

Can we intercept user_login and user_pass from a wp_login_form?

with my plugin, I have a login form. I use the wp_login_form() function of Wordpress. As you know, this function links to the wp-login page. But if the user_login is not present or if the email is ...
Jonathan's user avatar
2 votes
1 answer
1k views

Disable Remember Me in Login Form

I need to disable the 'Remember Me' prompt in login screens. Based on answers here https://wordpress.stackexchange.com/a/306746/29416 (including my own answer from 2018 with code that I had working ...
Rick Hellewell's user avatar
0 votes
0 answers
120 views

Open login logo URL in new tab

Using add_filter('login_headerurl', fn() => FRONTEND); i was able to change the login logo URL. But i couldn't find a way to make it open in a new tab. Or in other words, how can i add target=&...
TheDoctor's user avatar
  • 113
0 votes
1 answer
25 views

Login page wordpress tagline remove [duplicate]

I changed the Title and Tagline of my Wordpress site. But the tagline on the login page shows "Wordpress". How do I change that. Anyone can help to solve this? Regards, Abhi
Abhijith Govind's user avatar
0 votes
1 answer
567 views

Adding line break in esc_html__

I would like to add line break in the output of esc_html__ WordPress function. The original code is: echo "<span class='gp-success'>" . esc_html__( 'We have just sent you an email with ...
user193310's user avatar
0 votes
1 answer
798 views

how to prevent wordpress admin from logging in via woocommerce my-account page

website administrator can login using woocommerce my-account page. is there any way to prevent this and change the login page for admin? I mean the admin username, email and password will be ...
Nina's user avatar
  • 21
1 vote
1 answer
1k views

Removing "There is no account with that username or email address." error message in "/wp-login.php?action=lostpassword"

Would like to find out if there is any way I could customize the wp_login page to remove the "There is no account with that username or email address." validation (show below) and any email/...
BBBBB86's user avatar
  • 23
1 vote
2 answers
2k views

Customizing login error messages

Where and how would I be able to customize the login error messages? "Error: The username <> is not registered on this site. If you are unsure of your username, try your email address ...
ceetee's user avatar
  • 11
0 votes
1 answer
249 views

Custom Login page, redirection and restrictions

I'm having some issues with my custom login page with redirections and restrictions. Any user can browse a 'community' page but they can't access the 'distributors' pages. I have set a rule so if ...
Maluco's user avatar
  • 1
0 votes
1 answer
52 views

No plugin populate user information in to form

I want to create my own form in order to get information on my site. For learning purposes, I do not want to use a plugin. So, please don't tell me to use one. I know they are easy to use, but I want ...
Mac's user avatar
  • 1
0 votes
1 answer
904 views

wp_login_form() redirect same page

Im trying to redirect same page using wp_login_form(). this is my code function loginform() { if ( is_user_logged_in()){ echo '<p> <a href="'.esc_url(home_url('/my-dashboard/')).'" ...
chamboy's user avatar
0 votes
0 answers
244 views

After limiting the access to my wp-login.php by IP through .htaccess, all my password-protected posts stopped working. What's the best solution now?

To avoid brute force and illegal access to my WordPress website, I've limited the access to the wp-login.php script by IP addresses, using the .htaccess file. In other words, only certain IPs can ...
RIchard Branson's user avatar
1 vote
2 answers
955 views

Change Wordpress default registration error text [Error: This username is invalid because it uses illegal characters. Please enter a valid username.]

May I know how could I change the error text? Example, I want change it from. [Error: This username is invalid because it uses illegal characters. Please enter a valid username.] to [Error: Username ...
Liang's user avatar
  • 15
0 votes
0 answers
134 views

How do I change the language of the login page to Arabic?

I have a website where the backend is english and the frontend is Arabic. My wordpress login is in English but i want to make it Arabic. I have tried the first solution listed here How do I change the ...
Abdul-aziz's user avatar
0 votes
1 answer
770 views

How to hook a logout funtion for specific usr role in wordpress?

I am using plugin for login/logout(https://wordpress.org/plugins/login-logout-menu/) navigation link to be dynamic. Once user role logged in they will redirect to specific page and functionality is ...
mike's user avatar
  • 11
0 votes
1 answer
70 views

How do you implement a login feature on a Wordpress site?

How do you implement a login feature on a Wordpress site? I am wondering if Wordpress natively supports a login feature for the webpage itself. I am not talking about implementing a login page for the ...
Sayaman's user avatar
  • 135
0 votes
1 answer
883 views

Hide front-end from every logged out user and redirect them to the default login page

I want to hide the front-end from every visitor/logged out user. To see the front-end, every user must have been registered and logged in. Any visitor that's logged out should be redirected to the ...
Zaeem Javed's user avatar
0 votes
1 answer
163 views

Why can I log into wp-login.php and not wp-admin.php?

I have recently changed the config.php file in Wordpress in my FTP because the URL was wrong ( I did it with define('WP_SITEURL', 'http://www.myyyysite.com'); define('WP_HOME', 'http://www.myyyysite....
Michelle T.'s user avatar
0 votes
1 answer
24 views

animate.style on wp-login.php

I am relatively new to WordPress code and would like to enhance my login page with https://animate.style/ or other jQuery code. Do you think there are any security concerns in doing this? Thanks for ...
Robin Alexander's user avatar
0 votes
0 answers
196 views

How to allow access based on the user meta flag

I want to check user meta data and allow access. where I am inserting user_status in wp_usermeta table at the time of Registration. How to validate/verify meta value with password for login. Here is ...
sridharnetha's user avatar
0 votes
1 answer
55 views

Copying My account/Login/Register button outside header

My client is looking for a way to have a Sign up/Login button outside the header menu area. For instance this website - https://poshmark.com/ . The "sign up with email" forwards to a login ...
Kostov's user avatar
  • 3
1 vote
1 answer
1k views

How do I create a function that modifies a message in the wp-login.php file?

When a user uses the password reset functionality in WordPress, they are asked to enter their email and click confirm. After doing so, they get the message: Check your email for the confirmation link,...
Dalen's user avatar
  • 13
2 votes
1 answer
1k views

how to use reCaptcha v3 in wordpress custom login form?

I tried to create a custom login form and custom register form by ajax. I have been successful to make that and you can see my code below for custom login form. the issue is, I need to use reCaptcha ...
Sh.Dehnavi's user avatar
1 vote
1 answer
2k views

Use Password Protected Form without the use of wp-login.php

I need to password protect a page, but from what I looked up -- the action of the form needs to use something like this: action="' . esc_url( site_url( 'wp-login.php?action=postpass', 'login_post'...
devMonkey93's user avatar
0 votes
1 answer
65 views

When I enter password, I'm redirected to the WordPress login form

I have a page at http://localhost/wix/dss/ when I enter, I get redirected to http://localhost/wix/wp-login.php with the error message Error: The password you entered for the username ak is incorrect....
James's user avatar
  • 113
1 vote
1 answer
478 views

Auto redirect after session expire, but only for one user

Does anyone have an insight as to how I could auto redirect only one user instead of for everyone when a session times out? IE user - paul when his session times out, takes him to XYZ.com/page instead ...
Theodore 's user avatar
0 votes
0 answers
301 views

Issue with cookies in wp-login

After I’ve switched the /wp-login.php standard login URL to a different alternative (lets say /wploginaccess) every time I input the login credentials it fails only once with the following message: ...
SirLouen's user avatar

1
2 3 4 5
7