Skip to main content

All Questions

Tagged with
0 votes
0 answers
34 views

Redirect to current URL and append specified URL parameter on unsuccessful login through Elementor login form widget

I have the following code running in the Code Snippets plugin, which works the way I need it to work for the most part. Basically I have the Elementor login form in a popup on my website, that way, a ...
David's user avatar
  • 1
0 votes
0 answers
18 views

change Dashboard default page on login

I found almost the same question here - Remove dashboard, use Pages tab as default and I tried to implement it for my own needs and couldn't get it to work. I am doing a hotel site and I am making a ...
Will Bode's user avatar
0 votes
0 answers
80 views

Unable to correctly logout after changed wp-login.php

I've followed a guide on internet that suggested how to change the wp-login.php page to something custom by modifing the wp-login.php file itself and by renaming it. I've copied the wp-login.php ...
OHICT's user avatar
  • 133
0 votes
1 answer
248 views

wp-login - unable to redirect user to a custom login url

I have this code in a template file that will contain my vue app that I want to load in WordPress. <?php /* * Template name: App */ ob_start(); get_header(); if( is_user_logged_in() ) { ?> ...
OHICT's user avatar
  • 133
0 votes
1 answer
133 views

wp_login_url always redirects me to wp-admin

I have a specific site on my website which needs to be logged in. So if I visit the page and I am not logged in, I want to redirected to wp-loginand back to the page. But everything I am trying, I ...
Ted Logan's user avatar
  • 101
0 votes
2 answers
532 views

change div text and link for logged in users

this question was already similar asked but I don't find a way to get it working without using a plugin. So basically I got a text on my homepage which says login, so it's a normal text which i want ...
Alex K's user avatar
  • 1
0 votes
0 answers
220 views

How to change wp-admin and wp-login urls

I need to have a custom login url for a wordpress website that will use an headless theme to show a registration form. I've tried using the login_url filter but the result isn't really what I was ...
devdev's user avatar
  • 1
0 votes
1 answer
588 views

Check user last login date

I need to show to the user a password change page at first login and ever month. Is there any hook or filter that can I use to check in my plugin code when the user have done last login?
devdev's user avatar
  • 1
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
0 votes
1 answer
259 views

Plugin or ways to limit number of users logging in the website,

Would like to check if there is any way (or plugin) available that can: a.limit the number of concurrent users session by of user currently logged in to the website b.limit the number of users logging ...
BBBBB86's user avatar
  • 23
0 votes
1 answer
53 views

Can't log in to WordPress wp-admin after adding code to functions.php

I am adding the following code to the end of my functions.php file to populate a taxonomy based on a Custom post's post-title. The problem is that when I add the code I get the following error trying ...
Alex P's user avatar
  • 1
0 votes
1 answer
270 views

Check if user had autologin & if so, logout

I'm trying to create a function which autologins users, but upon visiting certain pages also performs an autologout if the initial login was obtained via autologin. I've written the following code but ...
BarrieO's user avatar
  • 89
0 votes
1 answer
86 views

Admin Panel 404 Error after login

well i've created a custom login page (NOT customizing orignal login page) and use the code below to log in users: if($_POST){ if (!empty($_POST['username']) && !empty($_POST['password'])) ...
KoCo's user avatar
  • 1
0 votes
2 answers
2k views

PHP warning - Use of undefined constant ‘FORCE_SSL_LOGIN’ ‘FORCE_SSL_ADMIN’ on wp-config.php

I have a bothering PHP warning for ages, and I am wondering if someone has solution to this. The following two-line warning is constantly recording in my error_log file: PHP Warning: Use of undefined ...
Mahdi's user avatar
  • 1
0 votes
2 answers
841 views

How to block specific user id in custom login form?

I've been looking for this method for weeks, but still can't find it. There are so many sites that discuss how to create a custom login page, but they don't cover how to block a specific id like the ...
Ari's user avatar
  • 3

15 30 50 per page
1
2 3 4 5
7