The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
655 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
666 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
34 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
104 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
55 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
40 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
19 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
0answers
25 views

Login Page - Custom Background Image - Bottom cut

I'm trying to customize the Login page with custom background and some colors to Form etc. Everything is working well, except the Background image. See the screenshot below: Notice the cut at ...
-1
votes
1answer
48 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
103 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
11 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 ...
1
vote
2answers
312 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 ...
3
votes
1answer
66 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
383 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
1answer
28 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
24 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
32 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
50 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
53 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
55 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
41 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
88 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 ...
4
votes
5answers
16k 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
593 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
115 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
0answers
325 views

wp-login returns blocked

I'm working on a site where i let users sign-up and login from the front-end. But a random problem is making my head spin. On some occasions the users can't log in. After typing username and password ...
1
vote
1answer
48 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
59 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
17 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
42 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 ?
1
vote
1answer
4k 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: ...
2
votes
3answers
588 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
3k 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
6answers
11k 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
0answers
228 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 ...
0
votes
0answers
29 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 ...
1
vote
1answer
415 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
90 views

Disable Admin CP authentication (or auto login)

Is there a way to allow anyone into the admin panel, without the need to log in? Or, if need be, is there a way to have Wordpress auto-login using a certain set of credentials? This seems like ...
0
votes
0answers
41 views

Wordpress login process is hanging

I am trying to log in to the admin of my wordpress site that is hosted on my server. Currently when I enter my username and password I do not get an error message, the login process seems to hang on ...
0
votes
0answers
168 views

Pass UserName and Password to WordPress wp-login.php from custom login template

i have a my custom login template where user enter his/her login details now i want like when user will click on button for Login user's details username and password i want to send to wp-login.php ...
0
votes
0answers
163 views

How to place wp-login.php in page or page template?

I want to place the wp-login.php box or page kind of in the templates of the website. As in I want a page which has all of it in. I did search and found that I can use wp_login_form(). Yes, I've ...
0
votes
2answers
142 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
88 views

Webpage not found upon entering wrong username and password on custom login form?

I'm running the WordPress instance on MAMP. Everything works fine if I try to login using wp-admin page; however, I'm trying to login using a custom page with the wp_login_form(). Custom login page ...
0
votes
0answers
17 views

Separate Register Login

I plan to create a bespoke login and register feature on my WordPress Frontend. These users won't have access to the backend of WP. Just to a frontend area. Should i store the information submitted ...
0
votes
1answer
123 views

Custom login form for frontend user ass well as admin

I am working on matrimonial site I have created login and registeration form for user. And for storing info I have created custom tables. In my login form there are two fields EmailID and password. ...
0
votes
1answer
41 views

How to fix Sign In option in WordPress

I have a WordPress site with “Sign In”option right side top: http://www.chicago-plastic-surgeons.com/ I want that when login in my WordPress site the then display a “Log Out” option only and “Sign ...
0
votes
1answer
78 views

Theme Development for a Newbie

TL;DR, Skip to Trouble I am a programmer and web developer by trade. I'm attempting to launch my own small business website in order to showcase my talents. As such, I've created subdomains for ...
0
votes
1answer
578 views

How to link that “logged in” in “you must be logged in to post a comment” with custom login page on WordPress?

How to link that "logged in" in "you must be logged in to post a comment" for a post on WordPress to custom login page. So that when the user clicks on that "logged in" gets redirected to the custom ...
0
votes
2answers
56 views

A truely custom login page?

I don't want to use a plugin for this one and i would like to know how i can use a custom form for WP login. I made a form with bootstrap and i added the form action and two hidden fields but it ...
0
votes
0answers
272 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$ ...