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
5answers
351 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
824 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
689 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
668 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 ...
1
vote
2answers
767 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 ...
2
votes
1answer
56 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
2answers
459 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
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
48 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
28 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
59 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
9k 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
70 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
33 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
18 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
25 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
33 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
103 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
129 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
37 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
55 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
26 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
192 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
33 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
50 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
213 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
69 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
394 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
34 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
78 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 ...
1
vote
2answers
30 views

How can I prevent my custom form from redirecting to wp-login?

I'm building an application for a client that is accessed via an email address and a project number - a custom field. I created a really simple form from scratch (i.e. not using wp_login_form), and I ...
2
votes
1answer
81 views

How to customise wp-login.php only for users who are setting a password for the first time?

As administrator, if I make a new user, I can choose to email my new users a link which they click to go to wp-login.php where they are invited to set their password for the first time. (Wordpress ...
0
votes
2answers
57 views

Can not login with correct username and password

I can not access to Wordpress dashboard with correct username and password. If I give any wrong password it's not showing any error message for the wrong. When I press on Log in button then the same ...
0
votes
1answer
44 views

Multisite login and redirect to users main blog,

On the multisite main page (http://example.com/) I have a login-form where users can login to their multisite like so: <?php $args = array( 'redirect' => get_active_blog_for_user(), ); ...
0
votes
1answer
131 views

How to redirect wp_login_form to new page after user loged in?

I have insert the login form on the header part and when a user is logedin i need to redirect them based on their role to their profile page(like if they are normal than normal-member.php and if pro ...
0
votes
0answers
155 views

How to make wp-login.php and wp-admin not accessible

Hello guys I wanted to limit my LOGIN and WP-ADMIN without using plugins. I have a network (multi-site): I have done so: wp-config.php define('WP_ADMIN_DIR', 'controlpanel'); define( ...
3
votes
1answer
174 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 ...