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
1answer
54 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; ...
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
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 ...
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 ...
0
votes
1answer
46 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
58 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 ...
0
votes
1answer
32 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
1answer
69 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
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
21 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
24 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
36 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
53 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
188 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
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. ...
1
vote
1answer
48 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
196 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
1answer
653 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
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 ...
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
77 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
39 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
2answers
29 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
130 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
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
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( ...
0
votes
2answers
46 views

how to error_log(wp_login_url())

I am trying to confirm if a filter I have applied has changed the wp_login_url to the correct address. I just want to print out the result of wp_login_url somewhere I can see it. if ( has_shortcode( ...
0
votes
0answers
50 views

Restrict a 'login with email' plugin to work only on the login page

I am using the bellow plugin from the @bainternet site to allow authentication by email. I adapted it only a little, as suggested a site visitor, and removed completely the 'Username' word. This works ...
0
votes
2answers
31 views

Is wp_login_form secure on a non secure page?

I am using the wp_login_form on a non-secure (http) website. The form is in a modal window, so that you can log in from any page on the website. Is using the wp_login_form() in this way safe? Thanks, ...
0
votes
1answer
98 views

I wanna create a custom login form template

I wanna crete a custom login form template basically it's not for default user it's for site visitor who can resgister and login for view any things or a redirect template.
0
votes
0answers
71 views

wp_login_form to redirect the same as login_redirect filter

I have installed the plugin WPFront User Role Editor and it has redirect settings so that you can specify where each type of user is redirected upon login. This works great for the regular login form ...
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 ...
0
votes
1answer
25 views

Wordpress Failed to Login (DB Error)

is there anyone experience how to fix DB Error on WordPress (switch back to default theme and reset all plugins from FTP) but still cannot login). This is the erro I got: WordPress database error: ...
0
votes
1answer
392 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
118 views

login_enqueue_scripts not working with javascript

I have this little modification to the login form: // Load Jquery before login styling add_action('login_enqueue_scripts', 'my_login_jquery', 100); function my_login_jquery() { ...
0
votes
0answers
269 views

Add custom field in wp_login_form()

I am using wp_login_form() to display my custom login form.. $args = array( 'echo' => false, 'redirect' => ( is_ssl() ? $redirect : $redirect ) . $_SERVER['HTTP_HOST'] . ...
0
votes
1answer
159 views

Modify WP-Login Page With Javascript?

This may be a 'noob' question, but... It doesn't seem possible to modify the WP-Login page via PHP (eg. add the get_header() code or new DIVs) to match the site theme. That is, without hacking the ...
0
votes
1answer
49 views

How can I have customers log in using ONLY customer number? No password

I am needing to allow users to log in using nothing but a single number that is provided to them(their subscriber number). No password. Our current .NET website is set up this way, but we may switch ...
0
votes
2answers
97 views

Why won't my custom login page CSS load?

Hoping for some help here as I'm scratching my head. I'm trying to create a custom login page for my site which has gone rather well until I try to add in a custom CSS to make it look pretty. I'm ...