Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

login

Check if user is logged in using JQuery

August 4, 2022August 3, 2022 by Magenaut

I want to execute custom jquery code which shows login dialog to user if he clicks a button and he is not logged in. How could I do that?

Categories Q&A, Wordpress Tags jquery, jquery-ui, login Leave a comment

How can I redirect user after entering wrong password?

August 4, 2022August 3, 2022 by Magenaut

I’m using wp_login_form() to display login form in a jQuery dialog window.

Categories Q&A, Wordpress Tags login, wp-login-form Leave a comment

SSO / authentication integration with external ‘directory service’

August 4, 2022August 3, 2022 by Magenaut

I’m about to start working on a prototype for a client – and one of the required features is integration with an in-house user authentication / registration system.

Categories Q&A, Wordpress Tags login, rest-api, single-sign-on, user-registration, xml-rpc Leave a comment

How to redirect/rewrite all /wp-login requests

August 4, 2022August 3, 2022 by Magenaut

Is there any simple way to have wordpress, php or apache rewrite all urls which involve /wp-admin to /admin?

Categories Q&A, Wordpress Tags login, url-rewriting, wp-admin Leave a comment

Separate registration and login for different roles

August 4, 2022August 3, 2022 by Magenaut

I’ve set 2 new roles for my site using the “Members” plugin – “sellers” and “buyers”.

Categories Q&A, Wordpress Tags login, user-registration, user-roles Leave a comment

How to change the wp-login.php page title?

August 4, 2022August 3, 2022 by Magenaut

I’ve been using the document_title_parts hook to change the page title for some front end pages. However, this doesn’t seem to work for the login, register and password management pages.

Categories Q&A, Wordpress Tags filters, login, php Leave a comment

Enqueue a stylesheet for login page and make it appear in head element

August 4, 2022August 3, 2022 by Magenaut

I try to style the login page in my theme. Very simple:

Categories Q&A, Wordpress Tags css, login, theme-development, wp-enqueue-style Leave a comment

Check for correct username on custom login form

August 4, 2022August 3, 2022 by Magenaut

I have used Jeff Star’s tutorial for creating my own custom login form http://digwp.com/2010/12/login-register-password-code/. It works great, but I have one problem. On the reset password form, if someone enters their username incorrectly (so that it doesn’t verify), they get kicked to the default wp-login.php?action=lostpassword with the error message.

Categories Q&A, Wordpress Tags forms, login, password, reset Leave a comment

Is there a hook that runs after a user logs in?

August 4, 2022August 3, 2022 by Magenaut

I am writing a plugin that fetches some extended user info from a remote service and I need it to execute its function each time a user logs in.

Categories Q&A, Wordpress Tags actions, hooks, login Leave a comment

How to prefill the username/password fields on the login page

August 4, 2022August 3, 2022 by Magenaut

For a demo environment, I would like to pre-fill the username and password fields of the wp-login form with respectively “demo” and “demo” string.

Categories Q&A, Wordpress Tags login Leave a comment
Older posts
Newer posts
← Previous Page1 … Page7 Page8 Page9 … Page11 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress