Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

login

Theme My Login Shortcode Doesn’t Return Anything

It could be the quotes if the code you have pasted is the exact code you’re using. Notice around the word login the quotes are curly rather than straight. Try pasting the same straight quotes you have around the number 0.

Categories plugins Tags login, plugins, themes

Password not resetting on wordpress?

It’s possible that the email address for your account is not correct. Try putting in your email address as the account name, and see if it recognizes that as a valid email address. If not, then you will need to manually edit your user record in the database. That is assuming that you have authorized … Read more

Categories login Tags bug, login, password

add_action(‘init’) not work

I believe init is too early to determine is_page(). Try a later hook, like template_redirect. function wpse_344136_user_logged_in(){ if ( is_user_logged_in() && is_page( ‘login’ ) ){ wp_redirect( home_url() ); exit; } } add_action( ‘template_redirect’, ‘wpse_344136_user_logged_in’ );

Categories login Tags actions, init, login

WordPress ‘limit_login_lockouts’ using internal ip adress

I’m running a Nodejs/Nginx stack under AWS/ElasticBeanstalk. I was having an issue where I needed my server to log the full path to the request, but all it was logging was requests from the load balancer, (172.31.xx.xx). I had to get AWS support to help debug the issue, and they were able to get the … Read more

Categories login Tags login

Temporarily locked out … how long is a “short while”?

This is not core functionality but a “feature” of my security plugin (Wordfence, in this instance). Disabled the plugin by using FTP to rename the folder and was able to log back in.

Categories login Tags login

How can I insert wordpress login screen on a different domain?

You can add the static form code to your main site’s code (your domain in this case is example.com and your subdomain is sub.example.com): <form name=”loginform” id=”loginform” action=”https://sub.example.com/wp-login.php” method=”post”> <p> <label for=”user_login”>Username or Email Address</label> <input type=”text” name=”log” id=”user_login” class=”input” value=”” size=”20″ autocapitalize=”off”> </p> <div class=”user-pass-wrap”> <label for=”user_pass”>Password</label> <div class=”wp-pwd”> <input type=”password” name=”pwd” id=”user_pass” class=”input … Read more

Categories login Tags forms, login

Prevent display password on wp-login.php

The correct answer is to use SSL. However, you could use javascript to encrypt the password somehow before sending it to the server, but this isn’t going to offer much more protection because anyone looking at the data could just as easily unencrypt the password. Here’s more on that: https://stackoverflow.com/questions/12291495/how-to-encrypt-form-data. Use SSL 😉

Categories login Tags login, wp-login-form

Use another action instead of the shortcode API to display the last time a user logged in

You don’t need to store that information, WordPress already does this, and it does this across multiple sessions. If you log in on your phone, and on your PC, then go to your user in WP Admin, you’ll see them listed with a button to log you out on the other devices. Additionally, WordPress stores … Read more

Categories shortcode Tags actions, login, oop, shortcode

Exclude login page from custom maintenance code

I have a somewhat similar requirement to you. Currently I am using the below to test for the correct scenario: if ( is_user_logged_in() == true || in_array($GLOBALS[‘pagenow’], array(‘wp-login.php’)) || strpos($_SERVER[‘REQUEST_URI’], ‘wp-admin’) != 0) This doesn’t detect if you have changed the login URLs but you could define Globals or plugin variables to specify ‘wp-login.php’ and … Read more

Categories login Tags login

Https and Http Login Issue on WordPress Multisite

The problem is that when you log into the HTTPS site, WordPress sets the ‘secure only’ flag on the authentication cookie and so this cookie isn’t sent to your HTTP-only sites. You can change this by overriding the secure_signon_cookie filter in a plugin or theme and returning false: function no_secure_signon_cookie( $secure_cookie, $credentials ) { // … Read more

Categories multisite Tags login, multisite, subdomains
Older posts
Newer posts
← Previous Page1 … Page81 Page82 Page83 … Page164 Next →
+ More

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Post Navigation Elementor
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • WPFacet multiple loop displaying duplicate content
  • Get the name of the template/*html file used
  • Fix: WordPress.DB.PreparedSQL.NotPrepared Plugin Check (PCP)
  • Removing unnecessary CSS and JS code from wp_head()
  • hexagonal image gallery. Am I on the right track? [closed]
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
© 2026 Read For Learn
Next Page »
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress