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

learn more… | top users | synonyms

0
votes
1answer
458 views

wp_login_form redirect problem

I have added a login form to a page template using wp_login_form(). This page template is used for a welcome/login page for an online seminar. When the user logs in I want them to be redirected to the ...
0
votes
0answers
26 views

Block user redirection to wp-login.php on leaving password blank in frontend login

When a user leaves the Username / Password / Both Blank and clicks login in frontend buddypress login, he is being redirected to wordpress admin login url stating wrong username/password/empty ...
0
votes
2answers
6k 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, ...
1
vote
2answers
789 views

custom login page redirect to logged in user profile page

If I click on sign in then it should go to the login page. The issue is that when I put the link then it goes to redirect_to home page, but I want to go on user profile page instead. I don't want to ...
0
votes
0answers
19 views

Wordpress 4.5 wp-login.php label names

I made a plugin to overwrite changes to the CSS and label names to the login page of WordPress (wp-login.php), but now I can't change the Label names from "Username or Email" back to just "Username". ...
0
votes
0answers
21 views

Login form redirect problem when checking if user is logged in on page

I created a private page, but this page needs to be more than just available by entering a code for a page that has been listed private in the Publish settings of Visibility, so I created a page and ...
3
votes
1answer
64 views

Making Wordpress' page and menus visible only for logged in users, checking session variables

I'm trying to login users in wordpress through an API of another platform, so what I do is use an ajax function to call an external API sending the user credentials (username, password) and getting ...
0
votes
2answers
480 views

How to create a custom Wordpress front page

I want to create a custom front page for a Wordpress site, which will have an image, some text, an embedded login form, and a metaslider slider, and nothing else (no menu, no sidebar, no footer). ...
0
votes
1answer
20 views
0
votes
5answers
367 views

Moving from one host to another - cannot access the dashboard

I'm having a problem with my WordPress installation. I'm trying to move it from one host to another (switching hosting providers for my sites). I was following the instructions given here, and ...
0
votes
1answer
826 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 ...
0
votes
1answer
716 views

FORCE_SSL_ADMIN not working

Any ideas why define('FORCE_SSL_ADMIN', true); wouldn't work? I'm not getting any errors at all, but a http request to example.com/wp-admin isn't redirecting to https
0
votes
1answer
758 views

How to show woocommerce login / registration form in modal

I have developed E-commerce Website using Woocommerce Plugin. I would like to show the login/registration form in modal. Is there any way to automatically show the login/registration form when the ...
0
votes
1answer
16 views

Logging in takes a few refreshes to show you are logged in, is this a cache issue?

This error has plagued me for years, when you login to the website via the buddypress widget on the right, or via the direct wp-login.php even if its successful, the page you are on when you logged in ...
2
votes
1answer
72 views

login_enqueue_scripts does not ovewrite the default styles

UPDATED: The solution is to use login_head if you need to overwrite – @Jevuska After updating to WP 4.5 my styles to customize the login page do not overwrite the default WP styles. Here's my code: ...
0
votes
0answers
19 views

Handling user logins on the front and back end

I'm currently working on a site which has 2 areas where users can log in. One on the front end for BuddyPress and the standard login area (wp-login.php). As It stands whenever validation for the ...
0
votes
0answers
31 views

Restrict acces to chosen pages

So i'm restricting access to a few pages based on some conditions: example: function restrict_wp_admin() { if (is_admin() AND !current_user_can('manage_options')) { global $wp_query; ...
-1
votes
2answers
1k views

Change Login URL Without Plugin

I want to change the login url of my Wordpress install away from /wp-admin.php I am aiming to do so and am looking at changing the .htaccess file to add in: RewriteRule ^login$ ...
0
votes
0answers
17 views

Tidying up URL at login/homepage

I am creating a website where you essentially land on the wp-admin from the homepage. I want the website to simply have www.exampledomain.com but have the wp-admin as the homepage with nothing like ...
0
votes
0answers
7 views

Integrate member logins to control blog commenting?

I'm using the Tower WP theme to build a new website. The client wants to install a member login feature that will allow members to send messages to each other and comment on blog posts. Users who are ...
3
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
1answer
74 views

Send admin to a different login than users?

I have created a separate login page on /login/ and have wp-login.php redirecting there as well - I have also hooked into a few WP login related hooks such as wp_login_failed so that people get ...
0
votes
1answer
30 views

Where is the email content for retrieve_password_message stored?

I have taken over a project that has a customized password reset email. I've searched through all the text in project for this email but cannot find it. I suspect it might be in a .po file or ...
-1
votes
1answer
63 views

You do not have permission to access this document on form submit

I have few little problem. If i submitted the user credential for login no matter login detail correct or incorrect page goes to Forbidden on submit button. What i do for this problem Forbidden page ...
2
votes
4answers
10k 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 example.com/wp-admin, I see a blank page and the url bar changes to: ...
0
votes
1answer
77 views

Enqueue style for Password Reset page

I've enqueued a style for my WordPress login page like so: function login_stylesheet() { wp_enqueue_style( 'custom-login', plugins_url( 'style-login.css', __FILE__ ) ); } add_action( ...
0
votes
1answer
38 views

Is the login encrypted before it is sent? If so how to do I encrypt it the same way?

I've moved my WordPress site onto a https server, but now I'm wondering if I still need to manually encrypt the login credentials for my remote login. Is the default login encrypted before it is ...
0
votes
0answers
21 views

Why Password not work when new user registration

I have problem in registration new user in my site, that i have form in frontpage that can user registration in my site, But the problem is when user write password in registration and go to login ...
0
votes
1answer
22 views

Make WordPress User Name the Email Address When Register

Is it possible to make WordPress user name the Email Address? when user register in my site. So unername could be hidden or not required and is replaced with email address. I use WP User Frontend ...
0
votes
0answers
30 views

How to create session for user which is not an admin user

Hello I am working on building a plugin which has the following functionality like stated below My problem is I am stuck at point I have created registration form for the users where users will be ...
0
votes
1answer
34 views

HTML5/CSS3 Polyfill for wp-login.php

As a result of my customizing of wp-login.php, using HTML5 (e.g. placeholders etc.) and CSS3 (e.g. various selectors), I would like to polyfill for older browsers. Does WordPress, by default, have ...
4
votes
2answers
116 views

Change “You are now logged out” text

I want to wrap <strong></strong> around the words "logged out": add_filter( 'gettext', 'wpse17709_gettext', 10, 2 ); function wpse17709_gettext( $custom_translation, $login_texts ) { ...
0
votes
1answer
30 views

Changing the title of “<- back to” website in wp-login.php

The login form on the page wp-login.php has a title at the bottom that says "<- Back to website-name" This title then always redirects to the home page, but I want the title just reading "back to ...
1
vote
1answer
148 views

Remove lost password form and URL

I've shut down password resets for all users. I now need to prevent /wp-login.php?action=lostpassword from doing anything should anyone manually input the URL into their browser. i.e. I don't want ...
0
votes
1answer
38 views

Login Form Redirection

I'm using a theme and the login form on a site at the moment, and when I log in correctly it redirects the user to the appropriate URL. Unfortunately if i make a mistake in the username/password or ...
0
votes
1answer
59 views

I want to disable E-Mail verifcation / activation when a user signs up for my Wordpress site

when a new user registers an activation link is sent to his e-mail account. I want the user to enter his username, email address and password and straight register and be logged in without ...
0
votes
1answer
27 views

Requiring wp-login.php sends headers automatically

I'm creating a custom password reset page on a site, and am trying to leverage retrieve_password() to send the reset email. Upon sending the reset email, I'd like to wp_redirect the user back to the ...
1
vote
1answer
236 views

Add class to input form in login form

is any way to add custom class name to input field in login from in wp_login_form function? <input type="text" name="log" id="' . esc_attr( $args['id_username'] ) . '" class="input" value="' . ...
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 ...
0
votes
0answers
34 views

When I login with correct username and password, It shows blank page with 402 Payment Required Error

I am using wordpress site. It is working fine. But problem is when I am going to login with correct username and password, It shows an blank page. In the network console there is a error saying "402 ...
0
votes
0answers
38 views

Display wp-login in my theme content section

My problem is this: I need to customise my website to the point where the user does not know its wordpress. This includes the login, register, forgotten password and reset password forms at wp-login. ...
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 ...
1
vote
1answer
58 views

Auto login from custom registration form

I am trying to login a user from custom user registration form. My Code for Custom user Register is function register_user($data) { $userdata = array( 'user_login' => ...
0
votes
1answer
235 views

reset password label text change

Please see my screenshot. I want to change the "New Password" label text and "login" text. I used following code to change the hint text. function change_password_hint ( $text ) { ...
0
votes
0answers
71 views

Redirect user to login and then to page where they came from

I have changed the wp_login.php name with a plugin I have a custom login and this is mandatory from my webhost because they want to make sure their servers are secure. The use of their suggested ...
1
vote
1answer
418 views

reset password link redirect to login page

When we try to reset the password using link www.example.com/wp-login.php?action=lostpassword email is sent with some link like ...
0
votes
0answers
35 views

Custom Field For Login

I have managed to create a plugin which creates a unique number on registration. However, now it comes to having the player login into their front end control panel. So far I am using the following as ...
0
votes
1answer
84 views

How to change the title attribute for the WP logo image on wp-login.php

This is how I change the url for the WP logo on the wp-login.php page: function my_login_url() { $url = esc_url( home_url() ); return ( $url ); } add_filter('login_headerurl', ...
0
votes
1answer
40 views

What is the CODEX intercept for wp-login.php?action=lostpassword

I want to write a plugin hook for wp-login.php?action=lostpassword. Does anyone know what the add_action() is for wp-login.php?action=lostpassword? I searched the CODEX and could not discover it. ...
1
vote
6answers
22k views

Disable Or Redirect WP-login.php

Is there a way to prevent visitors, whether logged in or not, from reaching mysite.com/wp-login.php? I have a separate login form which is all we need. I know I can re-style the form generated by ...