Questions tagged [login]

Refers to the act of gaining access to a WordPress site, as well as the WordPress account itself.

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

Embed username in wp-login field

I want to automatically display the username in the username field with a url parameter. Something like : https://mywebsite.com/wp-login.php?action=login&log={theusername}
1
vote
0answers
21 views

Login WP - Connect single field to an external api

I made a plugin to allow wordpress login with external api. Everything works, now what I have to do is that when a user logs in for the first time, the plugin checks to see if it is already present on ...
1
vote
0answers
35 views

how to use reCaptcha 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 ...
0
votes
0answers
25 views

One account with multiple logins

I have searched google and this site and can't seem to find an answer. I would like to be able to add multiple logins for an account. Meaning one account could have several emails and passwords ...
0
votes
0answers
33 views

Ajax login fails: script sets cookies, but is_user_logged_in() returns false

Summary Ajax request to a back-end plugin PHP script successfully logs in the user and sets login cookies in the browser. However, the page making the call fails to recognize those cookies, and ...
0
votes
2answers
23 views

How show login popup to guest only and redirect logged in users?

I have a menu item "Checkout". When clicked it links to the login popup prompting users to register/login/continue as guest and from there to checkout. How can I make that same button ...
1
vote
0answers
12 views

Protect sequence of pages with same password for each of two groups of users

I'm currently creating a home page (learning environment) with wordpress. It should serve for an experimental study with two conditions. Based on the condition a participant will be assigned to, he or ...
1
vote
0answers
17 views

Login issues wordpress page

When my users want to login on my wordpress site, sometimes the process keeps hanging (circle in dots keeps spinning). Sometimes they get a green screen (login ok) and the username isn't showing up. ...
0
votes
0answers
20 views

Logging in directly without a password (not via OTP)

I'm developing a website there the users are going to have access to their own data. I'm gonna use a specific authenticator called BankID which is widely used in Sweden, a kind of extern authenticator ...
0
votes
1answer
11 views

insert a Wordpress page content into a pop up

Is it possible to include a page content into a popup to login users when they click in a specific button ? Thanks
0
votes
1answer
12 views

timeouts (ERR_CONNECTION_RESET) on seemingly random files after upgrading to HTTPS

I have a WordPress site on a managed host (discountasp.net) that has run for several years. A few days ago I upgraded the managed site to use https by installing an SSL certificate (the actual ...
0
votes
2answers
42 views

Login without Password

In Wordpress I need to add a filter where user role subscriber just put his email address in form to login, no need for password, just check if the email is for a subscriber and redirect him to a ...
0
votes
0answers
14 views

Adding “Show/Hide Password” Feature to Custom WordPress Login Page (using Divi Builder)

I'm new to development so am hoping someone can help me out a bit here. I am designing a website using the Divi builder. I built a custom WordPress login page using their login module. However, there ...
0
votes
0answers
18 views

Share login credential with QR code

this is what I would like to achieve, I looked for a plugin but found nothing really good for me. I am creating a site for my wedding day and I want to share it with my guests. My idea is to give each ...
1
vote
1answer
20 views

I want to disable login of admin (/wp-admin) with email and make it accessible only with username

I want to do it as a security precaution. I've already taken other actions. But I want to be able to login only with my admin username. Is there a way to do that or even a plugin?
0
votes
0answers
8 views

how to change the url rediction of the woocommerce login page of the flatsome theme for my own in wordpress?

the objective is to change the login page of my site. I use the flatsome template. In my functions.php file in the flatsome-child folder I created a redirection function <?php // Add custom ...
0
votes
0answers
9 views

email validation for new user registration

Every new registration needs to validate the email to get access to user login. The website was asking only for the email and was sending one email to the user to put his own password. In the ...
0
votes
0answers
14 views

Make an order of products without login

I am trying to create an eshop/site in Wordpress CMS in which I can add products to cart without having to login/register and when I procceed to checkout only an email will notify about the order. Is ...
0
votes
0answers
13 views

wordpress redirects to login page on first access for existing site

I have downloaded wp-content and re-created MySql db from a dump provided by my hosting. By task is to run Wordpress locally to reproduce all steps on how to set it up so that we can deploy it in a ...
0
votes
0answers
11 views

Wordpress member login in Unity or C# or .NET?

I want to make a PC software application where my customers will be able to login into their WordPress account. Is this possible? I am using the Unity engine, and C#. If yes, can you please guide me ...
0
votes
1answer
27 views

wp-login.php not working goes back to home page

If i enter mydomain/wp-login.php it does not open the sign in page but goes back to the home page. However, if i enter mydomain/wp-admin its working it opens the sign in page and it shows the url ...
1
vote
1answer
28 views

How do I get WordPress login to ignore the password input if a particular username is used?

I am trying to build a login where users with an account number as their username can login without a password or email. When the user clicks login, if the username that has been input exists in the ...
0
votes
0answers
34 views

Updated : how to make email optional while user registration using default wordpress form

I wonder if there is any way to make email an optional field while registering using default form. So that those who don't know mail may leave it blank. I got code from stackexchange but that doesn't ...
0
votes
0answers
10 views

Admin alert for when someone tries to log in with an invalid username/email

We recently switched our company website and database to wordpress. For security, we didn't transfer most of our users. Right now I'm going through our Wordfence firewall logs to find all the users ...
0
votes
3answers
69 views

How to Login a User inside a Plugin and Redirect to page?

In my plugin I try to login a user and redirect them to a specific page, but when I redirect the user, they are not logged in :-/ I have tried multiple variations of code that looks like this: $...
0
votes
0answers
36 views

Using custom IDP with WP

I got a client and they have a custom made IDP now they are moving to WordPress from Blogger and I made the full setup for the new WP site. Now they want the logins to be made from the IDP and not in ...
1
vote
2answers
100 views

When I try to login in wordpress it is showing “USER Doesn't Exists”

The main Issues is that I am entering the email address & password that I used in creating my WordPress site in digital but It shows that the email address & username doesn’t exist even I ...
0
votes
0answers
17 views

Unable to login into WordPress 401

I am trying to login to my site but when i hit the root URL i get a pop says to login there but my wordpress username and passowrd never worked there nither i can get into wp-admin. Please kindly ...
0
votes
0answers
28 views

How to post frontend login form to a different authentication script from wp-login?

I would like to separate my front-end login from back-end login, but the front-end login will use oAuth-based third-party authentication whereas the back-end will continue to use the WordPress ...
0
votes
0answers
29 views

Too many redirects on wp-login.php and wp-admin 404 not found

I am having issues with my wordpress website. I can't login in at all. When I try to goto wp-admin I get a 404 page not found error and it redirects to wp-login.php (wp-login.php?redirect_to=https%3A%...
0
votes
0answers
17 views

I can't log in to `wp-admin` after changing my domain

I created a website using wordpress. I decided to change my domain and bought it using the website: https://www.aftermarket.pl/ After buying a domain in the wordpress panel, I took the following steps:...
0
votes
1answer
19 views

On Homepage “is_user_logged_in()” function is not working after login and it is working after refresh the page?

I'm trying to add the menu items using filter. Below is the full function function new_nav_menu_items($items) { $loginLink = '<li id="menu-item-login" class="menu-item menu-...
0
votes
0answers
27 views

My wordpress site crashes when I login!

My wp site: https://mgraselbar.com/ runs very well as long as I browse it as a user.. but when I login it crashes.. all it's content git mixed. And when I logout it runs well again. I get this in ...
0
votes
0answers
26 views

Share User data and account login across subdomains

Lets say I have a domain: domain.com and 2 subdomains: sub1.domain.com and sub2.domain.com sub1.domain.com is a woocomerce site. and sub2.domain.com is a blog site. How do I manage all users for all ...
2
votes
1answer
51 views

Why is it that not all users have a 'session_tokens' meta_key record in the usermeta table?

I've created my own code based on this good article - https://shocksolution.com/2019/04/16/find-last-login-time-for-wordpress-users-in-the-sql-database/ to get the last login date for a user. I'm ...
0
votes
0answers
21 views

End session screen not close automatically after login

I configured the login screen and the login process for my purposes. but there is an issue I don't know how to solve. after the session ends, there is a pop-up with a login screen called "wp-auth-...
0
votes
1answer
56 views

How to add custom authentication to wordpress login and register

I want to create a function that will halt the login process in wordpress and let a user to validate an otp form or code before he logins in fully. And i intend this interception to be just after the ...
3
votes
2answers
104 views

How to keep always logged in development environment

I have a little non-standard WP dev environment, I use one WP core for all my projects and switch each project in core's wp-config.php just changing the $project variable (e.g. proj1, proj2, example......
0
votes
0answers
45 views

Unable to login with email address as the username - WordPress

I just noticed that on my production site users are not able to login using their usernames (user_login field in wp_users) that are in an email format. So for example a username like john.doe works ...
0
votes
0answers
10 views

Facebook Open Graph Attributes for Wordpress Contents that requires Log in

I have a membership Wordpress website. All the post requires log in from users before they get to read it. If the user access the post without login, a 302 Redirect will be activated and will bring ...
1
vote
0answers
9 views

How can I get my Script to work on the Login page?

I am trying to disable the right click feature, on the login page, using the following code: <?php function disable_right_click() { ?> <script> jQuery(document).ready(function(){ ...
0
votes
2answers
42 views

check the first login for specific roles

Based on this answer i created a small functionality for users that are logging in for the first 3 times to make some elements classes use css animation. What i am trying to do is to adjust this code ...
0
votes
0answers
15 views

How to apply jQuery code to login page?

I'm just trying to apply some jQuery code to the login page of my website, but none of the hooks I've tried work. All the hooks I've tried: //add_action('login_enqueue_scripts', 'my_custom_scripts'); ...
0
votes
0answers
18 views

Login Redirect Based on Action Parameter in Login URL

I'm trying to redirect logged in users to a specific page based on what is in the login url. For instance, I have added an action parameter to the login url like this: https://mywebsite.com/wp-login....
0
votes
1answer
39 views

How to Prevent Brute Force Attack on WordPress

my site went down for 1hr. and after then continuously. So I asked my hosting what the problem is with my website. they say I am in under brute force attack. told me to hire someone. I Limit Login ...
0
votes
1answer
23 views

Moving from a non Wordpress site to a Wordpress Site - Login between both sites

I have been using a site for the past few years which I wrote myself in PHP. The site was to create events for people to join and take part in, with different features in them for different events. ...
0
votes
0answers
17 views

change login url and redirect users to current page

If a user wants to submit a comment it redirects user to wp-login-url instead of my woocommerce shop login page. I found my first part answer in this question Change “logged in” link in (you must be ...
0
votes
2answers
164 views

How can I change the email that is inside the default email texts of wordpress?

Wordpress sends some various default email texts to the users. For example when the password reset email has been sent, then the user gets an automatic email like this: Hello user, This notification ...
0
votes
2answers
36 views

Can't login to my own website

I've had a WordPress site since March 2016 but a few years ago I lost the ability to log into my own website. I'm using the twentysixteen theme so there's a little panel at the bottom of the screen ...
0
votes
1answer
39 views

Enqueue script globally

This only works for admin dashboard. add_action('admin_enqueue_scripts',array($this, 'login_register96_adminscripts')); And this only works for the user place. add_action( 'wp_enqueue_scripts', array(...

1
2 3 4 5
29