The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
1k views

How to redirect users to custom lostpassword page?

How to redirect users to custom lostpassword page when they click on the Error: Lost your password?. Because I set a redirect for wp-login.php to my custom login page. when a user click on Error: Lost ...
0
votes
0answers
25 views

how to change the default login page of wordpress from wp-login.php to custom login page? [duplicate]

how to change the default login page of wordpress from wp-login.php to custom login page. So that any request for login by any user should redirect to custom login page instead of wp-login.php.
0
votes
1answer
1k views

how redirect users to custom login page when “login to reply” is clicked? [duplicate]

I am building my website on Wordpress and I have created my custom login page.But for a post when an user comments and other nonlogged see the comment with along with a line down "Login to reply".And ...
2
votes
2answers
844 views

Check if user is logged in else login page

I like to secure a certain page for admins. How do I check if a user is logged (and is admin)? Of their not logged in, I want to show the login module.
0
votes
1answer
54 views

Form Action submit over https

I am trying to make my website PCI compliant. It has a login form on top of each page in which the form tag is written like so: <form id="wp_login_form" action="<?php echo ...
0
votes
1answer
551 views

How to link that “logged in” in “you must be logged in to post a comment” with custom login page on WordPress?

How to link that "logged in" in "you must be logged in to post a comment" for a post on WordPress to custom login page. So that when the user clicks on that "logged in" gets redirected to the custom ...
1
vote
1answer
3k views

Unable to login to my wordpress site. reauth=1 redirection loop. Any ideas on how to fix this?

I am having some difficulty logging into my wordpress site. When I attempt to visit mysite.com/wp-admin, I see a blank page and the url bar changes to: ...
1
vote
0answers
54 views

WP not logging in at first time

I've been experiencing a weird "bug" in my website which I have a form in the front page to do the log in, it doesn't log, redirects me to the WP-login.php and it says the Cookies may not be active in ...
0
votes
1answer
126 views

Hide wp-login.php but not the widget

I have a website which is still under nascent construction stage: http://42charts.com . Lately I find that couple of users are registering themselves in my site. It seems like a bot as the mails IDs ...
0
votes
1answer
367 views

How to use wp-login.php page only for logout?

On my website I have removed wp-login.php to disable the login from default wordpress login window. Then I installed Social Login plugin, users are able to Login properly by using this plugin. But if ...
0
votes
0answers
103 views

How to use mobile number instead of email

How can I use mobile number in registration form instead of email? I want to remove email field and add mobile number there. How to do that?
0
votes
2answers
2k views

change register url on wp-login page

I am just trying to change the url of "register" on wp default login page(domain.com/wp-login.php) I want to change the url on register link. when you are on domain.com/wp-login.php?action=register, ...
0
votes
1answer
898 views

redirect doesn't work while using example code

I need a PHP page to be secured using wordpress login validation. Therefore I used this piece of code: $args = array( 'echo' => true, 'redirect' => site_url( $_SERVER['REQUEST_URI'] ), ...
0
votes
1answer
143 views

Password reset - Disabled for LDAP accounts

I'm using the wpDirAuth plugin to allow LDAP logins and automatic account creation. One snag I've run into is LDAP users can still request a password reset. They receive the email with the link, but ...
1
vote
2answers
752 views

Wp-login appears White Screen, Error: Cannot modify header information

Possibly duplicate of many Question, the reason I am posting here none of them helps, here is the log which appear on Wp-login.php page. Notice: automatic_feed_links is deprecated since version 3.0! ...
2
votes
2answers
6k views

How build a custom login/register form with error handling?

So, I'm working on a plugin in which I'm making a custom page containing a login form as well as one for user registration; I have the forms built and operational, below is my code. <!-- Begin ...
0
votes
1answer
392 views

Wordpress hide the username/password fields in login page

I have installed the wordpress social login and I want users to login only using social website IDs. Now as a second step I do not want the username and password fields for users in the login page as ...
1
vote
1answer
1k views

wp_login_form() redirect not redirecting users < admin

Any user that is not an admin is not being redirected to the defined URL with an instance of wp_login_form(). $args = array( 'echo' => true, 'redirect' => site_url( '/chat/' ), ...
3
votes
1answer
705 views

How to change “Registration complete. Please check your e-mail.” in wp-login.php

I want to override the phrase "Registration complete. Please check your e-mail." without modifying the core code in wp-login.php Does anyone know what the add_filter() or add_action() might look ...
0
votes
1answer
161 views

wp-login.php not returning error messages / or gives 404

I have several WP sites that were logging in fine last week. Now today thay are all failing to login using the native wp-login.php. The strange thing is some of the sites have the "Woocommerce" ...
0
votes
1answer
179 views

How can I do customizations on login, registration and password recovery forms?

There are a couple of answers here basically just linking to a plugin - to be fair there are some more specific ones too. I know there are many possibilities to use different hooks for the ...
0
votes
1answer
158 views

Registration page background color covering 1 screen not covering full page

Good Day, I have been researching this for a few days and cannot find a solution. The website is http://gwendolinesroadtrip.com/ The background color of the registration page is not filling the ...
0
votes
1answer
725 views

Wordpress : Cannot Get User id after login success in file wp_login.php

I have a problem when I want to get user id WordPress after login in file wp_login.php, I tried to insert some code in this file, after line wp_safe_redirect($redirect_to); in login case. I must get ...
2
votes
3answers
550 views

Avoid to load default WP styles in login screen

Is there some way to avoid the load of default WordPress styles in login screen to only load my custom stylesheets? Actually I'm using this code: function login_styles() { // Sets the styles if ...
3
votes
1answer
2k views

Disable WordPress 3.6 idle logout / login modal window / session expiration

I manage a WordPress site hosted at WPEngine that was recently force-upgraded to version 3.6. The upgrade introduced "In-line login following expired sessions", and therein lies the problem. The ...
0
votes
0answers
66 views

Custom front end login not working

I'm trying to create a photo sharing site for my brother and his fellow guardsmen who are over in Afghanistan. I'm having issues with wordpress login/register. I have everything set up so you can log ...
5
votes
1answer
434 views

Custom ReCaptcha Login

I'm trying to add ReCaptcha to my login page. I know there are many many plugins by per request I cannot use plugins. So far so good, I'm able to add the Captcha to my login but unable to show errors. ...
2
votes
2answers
854 views

Login with email (WP Modal Login)

I'm trying to fork this plugin to use the user email to login, as opposed to Username. The plugin is http://wordpress.org/plugins/wp-modal-login/ Is there a nice way to do this, perhaps by a filter ...
0
votes
2answers
72 views

Admin login not working

I can't log in as admin on my wordpress site. I've tried to change the password, and a bunch of other stuff, but no result. What happens is that I come back to the log in page, no message. The strange ...
1
vote
1answer
62 views

How to change wordpress Log In text

I just started learning WordPress and in my current project I want to change WordPress default: Log In Text to: Welcom To Monastery Any ideas or suggestions?
0
votes
1answer
404 views

How can I redirect on a url after successful registration?

I am a newbie to Wordpress. I am currently working on registration and login. I have a page restrict url let http://xyz.com/abc. Login/registration is required for this url. I need that when a user ...
0
votes
1answer
52 views

How to Get Logged-in to “Remote WP Site” from my local script (in Same Browser)?

In Wordpress, is it possible: To "make my current browser" to get "logged-in" to the a WP site, from a script in my localhost? Means, i will be running a script in my localhost: ...
1
vote
1answer
181 views

Wordpress custom login page

I found a little article on how to create a custom Wordpress Login page and I am wondering if this technique/practice is safe to use? The article: ...
1
vote
1answer
106 views

Redirect outside WP after login

I have http://example.com/admin.php There I check whether the user is admin or not. If not, I send the user to the wp-login page like this: ...
1
vote
1answer
3k views

How to get login data (session) outside WordPress?

I guess WP uses a PHP session (or a cookie) to save login data, right? I have a website, which uses WP as a CMS, but display (and create) content from outside. I allow anonymous posts, by simply not ...
0
votes
4answers
339 views

Filters on Login Page

I am trying to modify the login page using built in filters. The add_actions are working as expected, but I cannot get the filters to work. This is the code that I have in my functions.php: ...
0
votes
1answer
51 views

I lock the site's contents, click on a post, redirect to login, enter uname+password but fail to redirect to article

As stated in the following: http://wordpress.stackexchange.com/a/100573/16266 I lock the site's contents. I then click on a post. I am navigated to wp-login screen. I enter the correct username + ...
0
votes
3answers
899 views

How do you add a custom link to the wordpress login page?

http://redrokk.com/wordpress/wp-content/uploads/2012/07/blank_wordpress_login_form1.png I want to add a custom link before the 'Lost your password?' link. I'm currently using a function that has some ...
1
vote
3answers
4k views

Redirect user after login/registration globally

How it possible to redirect all users, even administrators after login to specific page? And also redirect users after successful registration? Any simplest way? For example I want to redirect users ...
0
votes
1answer
653 views

Prevent redirect on custom wordpress login form

I'm having a little trouble with a custom login form that I've created. <?php if (!(current_user_can('level_0'))){ ?> <div class="login-form"> <form action="<?php echo ...
1
vote
1answer
725 views

Wordpress error on log out 'Not Permitted' and can't log out

I've got a weird situation whereby I sometimes can't log in as clicking on a link (or going directly) to /wp-login.php shows me a blank page with the words 'Not Permitted'. If I go to the ...
2
votes
1answer
650 views

How can I add a custom script to footer of login page?

I need to add this: <script> jQuery(window).load(function() { ...
0
votes
1answer
250 views

Replace dash with space in username on login

All my users have usernames that follow this pattern: firstname-lastname (with a dash between them). However, I would like to allow them to login to WP (multisite) with a space instead of a dash. ...
0
votes
2answers
96 views

Is there anyway to get the inputted password string from the login form?

Is there anyway to get the password string from the login form?
1
vote
3answers
450 views

How to bypass the username as a required field in registration and just use email address instead?

Is there a clean way of doing so? I would prefer doing that in functions.php using some action and/ or filter hooks. The 2nd-best option would be using some good plugin out there. (I haven't seen 1 ...
1
vote
1answer
217 views

Autologin only working the second time

I want to auto-login visitors to WP through email links. I use a "userid" parameter with their email and a "redirect_to" one to know where to point them. There are some protected areas in the site, ...
0
votes
1answer
703 views

Properly customizing login/register form

I'm working on a customized login form for WordPress. I noticed that it's pretty difficult to achieve what I wanted. Here's the HTML of the form: <form method="post" action="<?php ...
3
votes
1answer
530 views

Logout/login redirect CSS issue

I'm using WordPress Multisite. When I use wp_logout_url(), I get redirected to the login page but somehow I end at a different login page without any styles applied <a href="<?php echo ...
1
vote
1answer
489 views

Redirect wp-login

I have a custom page called owner-login that has a wp_login_form() How can I disable wp-login.php so that: when a user writes wp-admin/ it will redirect him to the owner-login (if not logged) when ...
4
votes
3answers
3k views

wordpress redirect after password reset

I would like to able to redirect to get_bloginfo('url'); after reseting password. But I cannot for life of me find any simple answer or function to do this. Does anyone know if this is possible? ...