Provides a simple login form for use anywhere inside your theme or plugin (in public/guest facing requests).

learn more… | top users | synonyms

2
votes
2answers
10k 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
675 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
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/' ), ...
3
votes
1answer
1k 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
232 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
249 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
192 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
1k views

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 ...
3
votes
3answers
932 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 ...
5
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
70 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
538 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
1k 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
84 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
110 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
630 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 ...
1
vote
1answer
67 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
210 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
163 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
5k 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
595 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
56 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
1k 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
6k 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
803 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
807 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
1k 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
370 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
108 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
593 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
262 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
793 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
723 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
516 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 ...
5
votes
4answers
5k 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? ...
2
votes
3answers
8k 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 ...
0
votes
3answers
1k views

Change 'Back To Website' link in wp-login.php

The login form on the page wp-login.php has a link at the bottom that says "Back to website-name" This link always redirects to the home page I would like it to redirect to the page the user has come ...
0
votes
1answer
951 views

send users logging in from wp-login.php directly to home page of site, rather than dashboard

I am currently using a plugin called Sidebar Login which allows users to bypass the dashboard and go directly to the site. However, when users login via /wp-login.php (e.g. when they click on their ...
0
votes
2answers
168 views

Positioning the “Lost your password?” and “← Back to Site”

I'd like to customize the log-in page for my WordPress theme and although I can play around with the CSS, I would love to re-position the "Lost your password?" and "← Back to Site" links to be inside ...
1
vote
1answer
319 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 ...
0
votes
1answer
105 views

Alert Message through email or phone(Message)

Hi all I am newbie I need to know how to alert email or message while attempt login if success or if failure .That alert mail describe that login IP and date and time . Is it possible to do this ...
1
vote
1answer
842 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
1answer
3k views

Custom Login and Registration form in Ajax

How to create the custom login/Registration form using AJAX.
0
votes
1answer
227 views

How to set where user is redirected to after logging in at wp-login?

So i'm fairly certain this probably has something to do with the fact that I'm using a custom role I've set up in my functions.php file with almost 0 permissions. However, I'm still able to access ...
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 ...
1
vote
1answer
180 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 ...
0
votes
1answer
87 views

Showing A Menu When Only Users Are Logged In [duplicate]

Possible Duplicate: How to Use the Function is_user_logged_in To Display Different Menus? I wish to create a log in page, that displays like an extended menu for example (the people who ...
1
vote
2answers
217 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
1answer
123 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 ...