Articles of wp login form

Redirect away from login page

I’m trying to find a way to prevent the login screen from showing up when user makes a mistake filling out the login form. So, right now, I have the login form printed on a custom template. But if the users makes a mistake filling it out, it redirects them to the wordpress form to […]

How to trigger a login form notice message?

How can I trigger a message box to appear on the login form? I’l trying to get the little yellow notice bar to appear above the login form conditionally. The below code only print the content on the page (duh, I know). add_action(‘login_head’, ‘login_form_message’); function login_form_message() { echo ‘Custom Login Form Message’; }

Custom Login and Registration form in Ajax

How to create the custom login/Registration form using AJAX.

Allow access to a page for admins only

I need to know how to make a page template in WordPress that can only be accessed by admins. How could I apply it to the following template? <?php /* Template Name: Agency Area */ ?> <?php get_header(); ?> <div id=”body”> <div class=”agency_area_menu”> <?php wp_nav_menu(); ?> </div> </div> <?php get_footer(); ?> I’d prefer to do […]

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$ http://yourdomain.com/wp-login.php [NC, L] From what I gather however, going to /wp-admin will still allows people to login using that link. I was […]

Add class to input form in login form

is any way to add custom class name to input field in login from in wp_login_form function? <input type=”text” name=”log” id=”‘ . esc_attr( $args[‘id_username’] ) . ‘” class=”input” value=”‘ . esc_attr( $args[‘value_username’] ) . ‘” size=”20″ tabindex=”10″ />

Change 'Back To Website' link in wp-login.php

The login form on the page wp-login.php has a link at the bottom that says “Back to website-name” This link always redirects to the home page I would like it to redirect to the page the user has come from. I imagine this requires a hook added to functions.php but I’m not sure how and […]

Remove lost password form and URL

I’ve shut down password resets for all users. I now need to prevent /wp-login.php?action=lostpassword from doing anything should anyone manually input the URL into their browser. i.e. I don’t want the password reset form to show. Can I disable the action that’s being passed by the URL or can I redirect /wp-login.php?action=lostpassword to /wp-login.php?

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 changed…nothing Reset to a default theme…nothing Deactivated al plugins…nothing Reuploaded my wp-login.php file…nothing Checked the .htaccess files…nothing wp-config.php still looks the same. Erased my browser data […]

I want to disable E-Mail verifcation / activation when a user signs up for my WordPress site

when a new user registers an activation link is sent to his e-mail account. I want the user to enter his username, email address and password and straight register and be logged in without confirmation (confirmation does not prevent spam bots from signing up for the site, I don’t care about it really!) is there […]