The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
556 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 ...
3
votes
2answers
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
1answer
262 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
61 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 ...
1
vote
1answer
518 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
298 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
25 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
42 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
3answers
386 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
27 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
0answers
13 views

Add register form inside theme template

Goodafternoon guys, I was wondering how I can add a custom register form inside my wordpress theme. So it will fit the styling of the website and doesn’t redirect to the normal register and login ...
1
vote
1answer
16 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
1k 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
41 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
15 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
49 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
60 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
19 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 ...
0
votes
0answers
53 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 ...
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
5answers
7k 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
24 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
93 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 ...
0
votes
0answers
36 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
4k 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
61 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
85 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
228 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: ...
4
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 ...
1
vote
1answer
214 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
2answers
4k 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 ...
1
vote
3answers
103 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
0answers
47 views

When logging out i get some weird redirect loop?

i was trying to customize my loging page. by using wp_login_form(). after i did that when i logged in with wrong username/password i got redirected to the ugly normal page at ...
1
vote
1answer
96 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 ...
0
votes
1answer
215 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 ...
0
votes
1answer
427 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
62 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
942 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
1answer
749 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 ...
0
votes
0answers
24 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.
1
vote
2answers
520 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
41 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 ...
1
vote
0answers
1k 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
4answers
5k views

How to redirect all requests to wp-login.php?

I created some custom login/registration template pages and now I want that every request to wp-login.php to be redirected to a custom url. Now I have something like this: ...
1
vote
0answers
49 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
1answer
103 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 ...
3
votes
1answer
458 views

How to change “Registration complete. Please check your e-mail.” in wp-login.php

I want to override the phrase "Registration complete. Please check your e-mail." without modifying the core code in wp-login.php Does anyone know what the add_filter() or add_action() might look ...
0
votes
0answers
59 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
0answers
199 views

add login and signup popup form in header

I use <?php wp_register(); ?> <?php wp_loginout(); ?> to show a link to the wordpress login and sign up screen. It opens up another page. My question is how do I make it so that when ...
0
votes
1answer
517 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'] ), ...