Skip to main content

All Questions

Tagged with
1 vote
0 answers
15 views

wp reset password page - head inline script

In the reset password page, i have this core inline script in the head section : <script type='text/javascript'> /* <![CDATA[ */ var userSettings = {"url":"\/","uid&...
rafa226's user avatar
  • 121
0 votes
0 answers
116 views

'Problem' with login_redirect filter - why does it lose the redirect_to parameter

This has kept me busy all day and I just want to clarify my understanding as this seems really bizarre behaviour if this is by design. I am redirecting the login according to roles by using the ...
mmacneill123'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
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
0 answers
78 views

How to redirect a unique link based on login status

I have webstore on woocommerce, and on one of my wordpress pages (that page is not woocommerce page, but just wordpress and it is edited by Colibri free theme) I have download links for some products. ...
pajczur's user avatar
  • 101
0 votes
2 answers
2k 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 ...
Honoluluman's user avatar
0 votes
0 answers
384 views

login_url filter creates permanent wp-admin -> wp-login redirection loop

I have created a custom login page on my site and used the login_url filter to redirect to that page each time there's a request. The filter looks like: // Login page function my_login_page($...
Kevin Mamaqi's user avatar
1 vote
1 answer
258 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 ...
Javad Yousefi's user avatar
0 votes
1 answer
541 views

Redirecting the lost password page request when using a custon login page

I have a custom login page and hence have setup the following redirects: add_action('init', 'my_redirect_login_page'); add_action('wp_login_failed', 'my_custom_login_failed'); add_filter('...
Brett's user avatar
  • 414
1 vote
0 answers
44 views

How to add an extra variable to login and authenticate it?

I want to add an extra variable to my custom login and to authenticate it to then add it to an SQL database. My custom login: <?php require('wp-load.php'); require('site_config.php'); function ...
Ole Lasse Bjellaas's user avatar
0 votes
0 answers
254 views

Wrap WordPress Login Form in custom Div

I'm customizing the WordPress login form with the help of the WordPress Documentation. I'm using the described filters to alter the appearance of the form, mainly by injecting new CSS styles. I'd now ...
Sam's user avatar
  • 435
0 votes
1 answer
36 views

Login logout below menu bar

I would like to display a Login / logout link above menu as my theme doesn't have this feature. Login/Register at right top corner and same it should show in mobile version as well. I am using ...
Vamshi Krishna's user avatar
1 vote
1 answer
2k views

add filter login_redirect does not contain original requested redirect

I link to WP's login page passing: redirect_to=play ...ttp://www.my.com/wp-login.php/?redirect_to=play">Click here... I use the value (in this case: play) as a flag, not an actual redirect url, ...
MLH's user avatar
  • 13
6 votes
3 answers
9k views

How to change the wp-login.php page title?

I've been using the document_title_parts hook to change the page title for some front end pages. However, this doesn't seem to work for the login, register and password management pages. How can I ...
henrywright's user avatar
  • 3,077
2 votes
2 answers
6k views

Customizing the default logout page of WordPress

What are the proper filter/hooks to modify the wp-login.php?action=logout confirmation page When you logout of your site using yoursite.com/wp-login.php?action=logout , You will go to a standard page ...
Carl Alberto's user avatar
  • 1,097

15 30 50 per page