The tag has no usage guidance.

learn more… | top users | synonyms

5
votes
5answers
19k views

How can I redirect user after entering wrong password?

I'm using wp_login_form() to display login form in a jQuery dialog window. If user enters wrong password, the user is taken to the backend. I don't want that. Is there a way to notify user that he ...
5
votes
3answers
2k views

How do I change the language of only the login page?

My wordpress blog is set up as de_DE. This means that my login page is also displayed in de_DE. I would like to only have the login page in en_US. So, How would I programmatically change a single ...
5
votes
1answer
504 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. ...
4
votes
4answers
4k 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? ...
4
votes
2answers
3k views

Multi-steps WordPress registration : in 4 steps how to?

I saw in several WordPress sites up on registration that the registration process is in 3 or 4 steps. how can i implement such process to my theme? ie: choose your role + fill in register ...
3
votes
2answers
2k views

Action wp_login_failed not working if only one field is filled out

I created a login form in the frontend with wp_login_form(). In my functions.php file I added an action to prevent the redirect to /wp-login.php if the login failed with ...
3
votes
1answer
968 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 ...
3
votes
3answers
760 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
111 views

Clarification on auth_redirect()

Trying to secure some pages redirecting non-loegged-in users to the log-in page, i found auth_redirect() function here Docs says "Checks user is logged in, if not it redirects them to login page". ...
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 ...
3
votes
1answer
56 views

WordPress AJAX Login Screen

In recent versions of WordPress, when you have been logged in to the dashboard a while with the page still open, WordPress times out your session and opens a login box. This box appears in a little ...
3
votes
1answer
657 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 ...
2
votes
3answers
7k views

Custom login form

I am very new to WordPress. I am trying to display a login form in the header section of my website. However, when I look at all of the files in my directory it is very overwhelming and I am afraid to ...
2
votes
2answers
5k views

Prevent wp_login_form() from redirecting to wp-admin when there are errors

I have made a login form on the front-end of my site using wp_login_form(). However, when the user types in an incorrect username/password they are redirected to the wp-admin login form. How can you ...
2
votes
4answers
7k views

How to redirect all requests to wp-login.php?

I created some custom login/registration template pages and now I want that every request to wp-login.php to be redirected to a custom url. Now I have something like this: ...
2
votes
2answers
944 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 ...
2
votes
1answer
1k views

How to override wp-login.php

I would like to override the default Wordpress Login page (wp-login.php). The reason is that, i want to write some custom code at the top of the file, that checks some conditions in the backend, and ...
2
votes
2answers
1k 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.
2
votes
1answer
864 views

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

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

Modify Wp-Login Labels: Username to Email

Simple straightforward, question: How can you edit the labels of the wp-login.php form? I am using emails for logins, so I need to change 'username' to 'email' The answer here seems to be out of ...
2
votes
2answers
8k 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 ...
1
vote
3answers
6k views

Can't access wp-admin

When trying to login one of my WP installs (regular WP 3.4.2-no multisite), I keep being redirected to the wp-login.php file. I've checked nearly everything: Password is correct and ...
1
vote
1answer
3k views

Custom Login and Registration form in Ajax

How to create the custom login/Registration form using AJAX.
1
vote
1answer
119 views

Allow access to a page for admins only

I need to know how to make a page template in WordPress that can only be accessed by admins. How could I apply it to the following template? <?php /* Template Name: Agency Area */ ?> <?php ...
1
vote
1answer
698 views

Redirect away from login page

I'm trying to find a way to prevent the login screen from showing up when user makes a mistake filling out the login form. So, right now, I have the login form printed on a custom template. But if ...
1
vote
1answer
184 views

How do I force “users must be registered and logged in” on subsites?

So now I have finally found plugins for social network login that works on my web hotel. (The Nextend plugins.) :-) I have set "users must be registered and logged in to comment" on the main site ...
1
vote
2answers
6k 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
1answer
199 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
4k 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 ...
1
vote
1answer
269 views

How to trigger a login form notice message?

How can I trigger a message box to appear on the login form? I'l trying to get the little yellow notice bar to appear above the login form conditionally. The below code only print the content on the ...
1
vote
1answer
169 views

The comment login form is visible to me but not to the user

I am beginner in wordpress & i am working on my own blog ( http://cssground.com/ ). Right now i am facing an issue with the comment form. The comment form is visible to me & it's work fine but ...
1
vote
2answers
204 views

Load .txt file for login_message in wp-login.php

How do I load the contents of a text file - or any other file, like .php - and use the test for the login_message hook that prints a message above the #login box in wp-login.php? (BTW, this is in a ...
1
vote
1answer
3k views

Making the wordpress login form a jQuery dropdown

I'm using a plugin called sidebar-login to display a wordpress login form (it uses wp_login_form) in my sidebar. However, I feel like it the actual form (textboxes and labels) take up too much space ...
1
vote
2answers
466 views

Using /wp-admin works, using /login gives a 404. Why?

I just did a manual install and tried to login, but was unable to do so using domain.com/login. I got a 404 error. When I used domain.com/wp-admin, no issues. Did I do something wrong or forget to do ...
1
vote
1answer
76 views

Is there an earlier hook than login_head or login_enqueue_scripts?

What I have: A basic plugin that enqueues a style-sheet and JavaScript file to modify the log-in forms. The logo, colour scheming and other styles are affected. My problem: As the /wp-login.php ...
1
vote
1answer
37 views

How do I replace “Username” in the Wordpress login form?

I would like to replace "Username" in the Wordpress login form with another word. How do I go about doing that?
1
vote
4answers
866 views

Replace wordpress login logo with custom text

I wanted to replace the wordpress logo which is displayed on login screen with some custom text. Here is the code what I tried so far: function my_custom_logo() { echo '<style ...
1
vote
1answer
866 views

Custom Login iframe doesn't work

I have a custom login window that I am building. The client requires a modal window for the login, so I have to use HTTP (for performance) for the regular page, and HTTPS for the login window (in the ...
1
vote
2answers
878 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! ...
1
vote
1answer
2k 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/' ), ...
1
vote
1answer
60 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
3answers
5k 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 ...
1
vote
3answers
526 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
238 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, ...
1
vote
1answer
756 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 ...
1
vote
1answer
759 views

replace wp-login.php login forms via a hook & use custom forms with wp-login form validation

I am customizing all the wp-login.php forms, i.e., login, lost password, register, etc. I have a working model but when I decoded to toss in the default error messages on my custom forms I thought ...
1
vote
2answers
631 views

deny IPs from wp-login using .htaccess

i am trying to ban a spam bot IP from my wordpress, since the "limit login attempts" extension mails me multiple times every day, that the same IP is trying to login. so i added the following to the ...
1
vote
2answers
565 views

Wordpress Login Footer URL

I want to change the url of the Wordpress 'Back to XXXX' on the wordpress url. I've used this function to change the logo url, but there doesnt seem to be a footerurl reference. add_filter( ...
1
vote
1answer
62 views

Disabling standard registration login with username/email and password?

Would it be possible to remove both the login and password fields from the login/registration form? I'm currently trying to implement logging in/registration for my users using this plugin: ...
1
vote
1answer
49 views

Add text on wordpress admin login page

I want to add a text in admin login page, i searched a lot about this but can't find any thing else a plugin (its my last option). I also use this filter: function my_login_logo_url_title() { ...