The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
0answers
7 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
336 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
613 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
1answer
582 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 ...
1
vote
4answers
300 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
18 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
274 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
220 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
31 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
24 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
5 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
17 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
2k 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: ...
1
vote
3answers
460 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 ...
3
votes
3answers
2k 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
9k 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 ...
0
votes
0answers
79 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
20 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
130 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
39 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
26 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
137 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
60 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
59 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
54 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
15 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
0answers
35 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
89 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
31 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
76 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
459 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
44 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
119 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$ ...
1
vote
3answers
422 views

How to bypass the username as a required field in registration and just use email address instead?

Is there a clean way of doing so? I would prefer doing that in functions.php using some action and/ or filter hooks. The 2nd-best option would be using some good plugin out there. (I haven't seen 1 ...
0
votes
0answers
57 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
29 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
2k 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
74 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
0answers
30 views

Custom register and login page for Wordpress [duplicate]

i have 2 custom page template name: custom-login-page.php and custom-register-page.php I creat 2 page in wordpress using these 2 page template and try to login and register it, it' work. Problem is i ...
0
votes
2answers
66 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
246 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 ...
0
votes
0answers
46 views

Problem with remember login form

i've create a custom login form for my website but i have a problem. (I have the similar problem if ad i use the defoult login form). I've write this code for login form: <div ...
1
vote
3answers
4k views

Redirect user after login/registration globally

How it possible to redirect all users, even administrators after login to specific page? And also redirect users after successful registration? Any simplest way? For example I want to redirect users ...
0
votes
0answers
32 views

Remove user credentials from GET or POST on login

This may be a totally noob question but... I noticed that, with the standard Wordpress install, it seems like one can obtain the user's login credentials just by viewing the GET and/or POST vars ...
0
votes
0answers
59 views

How to programmatically add login form to wp_nav_menu X position

I have a menu I created in WP that registers 'main_nav' so the user can still use the Appearance > Menus screen to edit their menu. However I need to add the login form to the 4th (main) menu items ...
1
vote
3answers
5k views

Can't access wp-admin

When trying to login one of my WP installs (regular WP 3.4.2-no multisite), I keep being redirected to the wp-login.php file. I've checked nearly everything: Password is correct and ...
0
votes
0answers
83 views

403 Forbidden error when using the wp_login_form function

I use the function wp_login_form twice in my site for a simple client login. However, suddenly the problem started and every time I use it I receive this 403 forbidden error. My .htacess looks like ...
-1
votes
1answer
117 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. ...
0
votes
4answers
299 views

Filters on Login Page

I am trying to modify the login page using built in filters. The add_actions are working as expected, but I cannot get the filters to work. This is the code that I have in my functions.php: ...
5
votes
3answers
1k views

How do I change the language of only the login page?

My wordpress blog is set up as de_DE. This means that my login page is also displayed in de_DE. I would like to only have the login page in en_US. So, How would I programmatically change a single ...