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

learn more… | top users | synonyms

1
vote
1answer
72 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
96 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
134 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
969 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
100 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 ...
1
vote
1answer
329 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 ...
3
votes
1answer
202 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
595 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
98 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
193 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
87 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
0answers
456 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
44 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
869 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
0answers
152 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
1answer
362 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
470 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
708 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
122 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
1answer
145 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
1answer
257 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
77 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
83 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
2answers
76 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
1answer
886 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
1answer
324 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
vote
1answer
42 views

How do I replace “Username” in the Wordpress login form?

I would like to replace "Username" in the Wordpress login form with another word. How do I go about doing that?
0
votes
2answers
408 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
166 views

Redirection loop error after login from a custom post type post

I have created a custom post type called portfolio so such posts have an url like this: mydomain.com/portfolio/post-name/ This is fine so far, however i just found I am having a problem with my ...
0
votes
1answer
924 views

Can't login through wp-login.php on fresh installation

I have currently installed a fresh Wordpress on a dedicated server. It's the latest version with no plugins at all. Everything went successfully as always, I can see the website, but when I try to ...
-1
votes
1answer
241 views

Different customer login form than administrator login form?

I've recently installed Woocommerce. I have realized that the administrator can access the back-end through the same login form presented to the customers. This, to me, presents a huge security risk. ...
1
vote
2answers
679 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 ...
1
vote
4answers
1k 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 ...
1
vote
1answer
219 views

How do I force “users must be registered and logged in” on subsites?

So now I have finally found plugins for social network login that works on my web hotel. (The Nextend plugins.) :-) I have set "users must be registered and logged in to comment" on the main site ...
1
vote
1answer
1k views

Custom Login iframe doesn't work

I have a custom login window that I am building. The client requires a modal window for the login, so I have to use HTTP (for performance) for the regular page, and HTTPS for the login window (in the ...
2
votes
1answer
2k views

How to override wp-login.php

I would like to override the default Wordpress Login page (wp-login.php). The reason is that, i want to write some custom code at the top of the file, that checks some conditions in the backend, and ...
-1
votes
2answers
130 views

How to add a new link to the default register form's footer links?

I would like to add a custom link to the footer section of the register form. How can I do this? I am using the login_footer hook: add_action( 'login_footer',array($this, 'add_forum_menu'), 50, 2 ...
0
votes
1answer
3k views

How to redirect users to custom lostpassword page?

How to redirect users to custom lostpassword page when they click on the Error: Lost your password?. Because I set a redirect for wp-login.php to my custom login page. when a user click on Error: Lost ...
0
votes
0answers
29 views

how to change the default login page of wordpress from wp-login.php to custom login page? [duplicate]

how to change the default login page of wordpress from wp-login.php to custom login page. So that any request for login by any user should redirect to custom login page instead of wp-login.php.
0
votes
1answer
3k views

how redirect users to custom login page when “login to reply” is clicked? [duplicate]

I am building my website on Wordpress and I have created my custom login page.But for a post when an user comments and other nonlogged see the comment with along with a line down "Login to reply".And ...
2
votes
2answers
1k views

Check if user is logged in else login page

I like to secure a certain page for admins. How do I check if a user is logged (and is admin)? Of their not logged in, I want to show the login module.
0
votes
1answer
100 views

Form Action submit over https

I am trying to make my website PCI compliant. It has a login form on top of each page in which the form tag is written like so: <form id="wp_login_form" action="<?php echo ...
0
votes
1answer
855 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 ...
2
votes
4answers
8k 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: ...
1
vote
0answers
73 views

WP not logging in at first time

I've been experiencing a weird "bug" in my website which I have a form in the front page to do the log in, it doesn't log, redirects me to the WP-login.php and it says the Cookies may not be active in ...
0
votes
0answers
161 views

Hide wp-login.php but not the widget

I have a website which is still under nascent construction stage: http://42charts.com . Lately I find that couple of users are registering themselves in my site. It seems like a bot as the mails IDs ...
0
votes
1answer
524 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
0answers
297 views

How to use mobile number instead of email

How can I use mobile number in registration form instead of email? I want to remove email field and add mobile number there. How to do that?
0
votes
2answers
5k 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, ...
0
votes
1answer
2k views

redirect doesn't work while using example code

I need a PHP page to be secured using wordpress login validation. Therefore I used this piece of code: $args = array( 'echo' => true, 'redirect' => site_url( $_SERVER['REQUEST_URI'] ), ...