The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
14 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
1answer
731 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
2answers
491 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
11 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 ...
0
votes
1answer
17 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: ...
3
votes
0answers
28 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
59 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
2answers
323 views

Log In & Log Out Code In Header

I have been searching for hours. I need a code that allows me to display a Login & Register link and when logged in display the users avatar along with name and logout button. I'm not exactly ...
0
votes
0answers
23 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
77 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'] . ...
1
vote
0answers
388 views

White screen of death for wp-admin and error for wp-login.php after entering credentials

I am getting the white screen for wp-admin and "ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress" when i try to login through wp-login.php Earlier ...
1
vote
1answer
698 views

Blank page for wp-admin after i uploaded the website from my localhost to the live server

I recently moved the site from localhost to the live server. And when I try to access the wp-admin page I keep getting the blank page and no errors are shown although WP_DEBUG is true. And when I open ...
0
votes
1answer
26 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
35 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 ...
1
vote
2answers
5k 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: ...
0
votes
2answers
52 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 ...
0
votes
2answers
30 views

Wordpress 4 invalid username special charachters issue

I have some danish users that uses special chars like æøå and they can't log in to my wordpress blog. I tried on a fresh install on 4.2.2 and on 4.1.5 and it did not work, for example Andrew ...
0
votes
1answer
211 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 ...
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 ...
0
votes
1answer
442 views

How to use wp-login.php page only for logout?

On my website I have removed wp-login.php to disable the login from default wordpress login window. Then I installed Social Login plugin, users are able to Login properly by using this plugin. But if ...
0
votes
6answers
14k 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
1answer
55 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
742 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 ...
0
votes
1answer
273 views

Call header and footer on login page

Is there a way to call theme header and footer on the default login/register page? I understand that we can easily make a custom login page still asking. Thanks
0
votes
1answer
173 views

force login and redirect to custom login page

I am really desperate, looking for a solution for days now. I need to achieve: restricted access for logged in users only not logged in users need to be redirected to a custom login page I am on a ...
-1
votes
1answer
81 views

Login user after registration programmatically

I have setup some process that should register a new user and login the new user right after registration. This is my function for registration: add_filter('the_content', ...
-1
votes
1answer
92 views

Website visible only to Registered users (non wp-admin)

I have created a page with a custom login using wp_login_form() function but how can I redirect all visitors to that page in similar way described in that topic? My code looks like: function ...
0
votes
1answer
45 views

disable WP_error: authentication_failed

I am modifying my wp-login.php but from within functions.php (in order not to hack the core). I need to disable one WP_error with code: authentication_failed. if i hack the core and modify ...
-1
votes
1answer
117 views

Remove built in wordpress login and use only google auth

I am using Google apps login plugin. I would like to keep this only as a login mechanism and remove the built in: username/password that appears below it. How can I disable the wordpress built in ...
0
votes
1answer
121 views

Any way to disable /wp-login.php redirecting to the site folder?

We have our WP installs in folders on the server. We created folders called wp-admin and login to thwart hackers. However, incredulously, when you type in /wp-login.php it REDIRECTS to our ...
0
votes
0answers
34 views

wp-admin won't load when domain includes Hungarian characters

I have a Hungarian domain: "akadálymentes-honlap" After I login, wp-login.php redirects to "www.akadlymentes-honlap.hu/wp-admin". Hungarian character "á" is missing. I made a test, where I put IDN ...
3
votes
1answer
98 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". ...
0
votes
1answer
45 views

Deep customization of wp-login.php

I'm developing an intranet platform (so no external web access) and using the Password only login plugin. I need to make a deep customization to the wp-login.php page: the plugin i linked allows ...
1
vote
1answer
45 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() { ...
0
votes
0answers
61 views

Translate in wp-login.php page

I'm trying to add a form for the user to register, to choose a role that can edit pages. The code I used is as follows: <?php function my_register_form() { global $wp_roles; ?> <p> ...
1
vote
0answers
89 views

Wordpress server change - slow admin login time for first time

I have a large Wordpress site. On local system we create a git repo for deploy a local version of Wordpress to DigitalOcean VPS servers. All Works great, but here is a problem to update a sql ...
0
votes
1answer
403 views

Redirect default login page to a custom page [duplicate]

I want to redirect the default WordPress login page to a custom login page. I am adding this code in a plugin: if (!is_user_logged_in()) { wp_redirect( wp_login_url( $redirect ) ); exit(); } ...
0
votes
0answers
99 views

Customize WP Admin Login Page and Restrict Access

I am a newbie to WP and by late trying my hands on customizing admin login page. So far I have made a custom login and registration form which allow access only using e-mail address. I need to allow ...
0
votes
0answers
67 views

How can I intercept the login script?

I want to write a plugin which will intercept the user's login, show a "second login" page (for two-factor authentication) and then redirect to standard login+a hook for my two-factor authentication ...
0
votes
0answers
184 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 ...
5
votes
5answers
18k 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 ...
1
vote
4answers
814 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 ...
0
votes
1answer
317 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
1
vote
1answer
71 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 ...
0
votes
2answers
119 views

Enqueue stylesheet in plugin for wp-login.php

What I have: A basic plugin that's calling a stylesheet contained in the plugin folder: function my_login_enqueues() { // First attempt: //wp_enqueue_style( 'custom-login', ...
0
votes
0answers
26 views

Customizing what happens when the user logs in - Hook or custom file?

I'm trying to get used to the S2 Members plugin and I am using it to build a membership based website. It's fairly simple stuff, but it's just to get used to working with the Framework and Wordpress. ...
0
votes
0answers
57 views

Login page send credential via mail?

I'm working on a small script, and I need to send credential from WordPress login page via email. I suck in php coding, maybe someone could help ?
3
votes
3answers
730 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 ...
4
votes
3answers
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? ...
0
votes
0answers
38 views

Retrieve password only by login. Users with same email

First: Which lines I should comment in wp-login.php that user can retrieve password only by login (without email)? Second: I want try do possible register users with same email. It is possible with ...