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

Share login data/cookies between multiple installations

You can share user tables between different WordPress installations by installing the second site (“Site B”) to use the original site’s (“Site A”) database, then choosing to use an alternate table prefix during installation so as to keep the rest of the data separate. The second part of the problem is sharing login cookies between … Read more

Categories login Tags login

How to disable autocomplete on the wp-login.php page

Your only solution (without modifying core files) is to use JavaScript. function wpse_159462_login_form() { echo <<<html <script> document.getElementById( “user_pass” ).autocomplete = “off”; </script> html; } add_action( ‘login_form’, ‘wpse_159462_login_form’ ); Having said that, if you’re not the only one that will be signing in I would advise against disabling autocomplete, it will almost certainly **** people … Read more

Categories login Tags autocomplete, login

Woocommerce registration page [closed]

Using the [woocommerce_my_account] shortcode, a user will see their account details if they’re logged in and if they’re not logged in, they’ll see a login and registration form. Using the same page title “My Account” for these different users isn’t ideal because a user that has never created an account won’t naturally navigate to a … Read more

Categories login Tags login, user-registration, woocommerce-offtopic

Stop WordPress from logging me out (need to keep me logged in)

WordPress keeps you logged in for 48 hours by default. If you click the “Remember Me” checkbox, it will remember you for 14 days. If you would like to remain logged in for longer than this period of time, you must use the “Auth Cookie Expiration” hook that WordPress provides. Now, you’ve mentioned that you’ve … Read more

Categories login Tags login

Disable WordPress 3.6 idle logout / login modal window / session expiration

It finally hit me that javascript would be behind the interim login modal behavior, and that gave me a new direction in my search. I have disabled the new login popups by adding the following to my theme’s functions.php file: // Disable login modals introduced in WordPress 3.6 remove_action( ‘admin_enqueue_scripts’, ‘wp_auth_check_load’ ); If anyone’s interested … Read more

Categories login Tags authentication, login, session, wp-login-form

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

This will need to go in a plug-in, just put the following inside a file (login-languge.php) in wp-content/plugins/ /* Plugin Name: Log-in Language Plugin URI: http://wordpress.stackexchange.com/questions/72692/how-do-i-change-the-language-of-only-the-login-page Description: Changes the language for log-in/register screens only Author: Stephen Harris Author URI: http://stephenharris.info Version: 1.0 License: GNU GPL 2 */ add_action(‘plugins_loaded’, ‘wpse72696_login_language_init’); function wpse72696_login_language_init(){ if( in_array( $GLOBALS[‘pagenow’], array( … Read more

Categories login Tags language, login, multi-language, wp-login-form

How to check in timber if user is loggedin?

Found it already, to do this you can use the ‘user’ object: {% if user %} Hello {{ user.user_nicename }} {% else %} you are not loggedin {% endif %}

Categories login Tags login

Make my wordpress blog remember my login “forever”

I think I’ll wait for such a plugin Save this code in a file named set-cookie-expire.php and upload it your plugins folder. The plugin will give you the ability to set a time (in days) that cookies expire within the WordPress Settings admin. <?php /** * Plugin Name: Set Cookie Expire * Plugin URI: http://wordpress.stackexchange.com/a/11991/1685 … Read more

Categories login Tags login

Login members using web services

If I were you, I would look at solutions with Federated Identities. For example OpenID solutions. This link has a lot of examples of implementation on PHP. Advantages: open source, secure protocols, clear documentation

Categories login Tags authentication, login

What are the differences between wp_users and wp_usermeta tables?

wp_users is the primary table, with a fixed list of columns. wp_usermeta is an additional table for storing arbitrary information (custom fields). The wp_users table already has a user_email column, so I don’t know why the plugin uses wp_usermeta. The best person to ask would be the plugin author himself.

Categories login Tags email, login, wpdb
Older posts
Newer posts
← Previous Page1 … Page70 Page71 Page72 … Page74 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
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 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