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

Integrate recaptcha and wp_signon – what is needed?

So Wordfence uses JavaScript to add the CAPTCHA fields to the login/registration form, but by default only on https://example.com/wp-login.php. And if you want to add the fields to your form, or integrate the CAPTCHA security with your custom login form, the steps are: Enqueue the (re)CAPTCHA scripts, preferably only on the page having the custom … Read more

Categories login Tags captcha, errors, login

Add Confirm Password field in wp-login.php Password Reset page

It’s tempting to unhide the pass2 input but that’s not enough. In the file /wp-admin/js/user-profile.js the bindPass1() binds it to pass1 that makes writing to it not possible. The pass2 input is then hidden in bindPasswordForm() with $(‘.user-pass2-wrap’).hide(); We can instead add our own input field to validate the password. First we add it via … Read more

Categories login Tags login, password

How to keep always logged in development environment

Here’s one milder suggestion to try out, assuming different cookie domains, if you’re using WordPress 5.5+ For your development installs, set the getenv environment variable WP_ENVIRONMENT_TYPE or define: define( ‘WP_ENVIRONMENT_TYPE’, ‘development’ ); within the corresponding wp-config-development.php or the name you use for it. Then extend the authentication cookie expiration period for the development installs with … Read more

Categories login Tags login, single-sign-on, wp-login-form

How can I create a separate blog that is private?

Yes, you can set up a separate, private blog that requires members to log in. You can do this with a plug-in called Members Only – it’s freely available from the WordPress plug-in repository. Anyone who visits the site who’s not logged in will be directed automatically to the login screen. After users log in, … Read more

Categories login Tags login, private

Login email after registration never sent or received

In my case it was that my web hosting company was blocking my emails. Let me explain. When I created my WordPress install I used my personal email to create the main user account. That email is a GMail email address like, “[email protected]”. That’s all well and good except if the email is not hosted … Read more

Categories login Tags activation, email, login, user-registration

Need to execute a cron job

Your option using WP internals would be to use the HTTP API along with wp schedule event Create a scheduled event, something like: register_activation_hook(__FILE__, ‘my_schedule’); add_action(‘execute_my_url’, ‘do_this_daily’); function my_schedule() { $timestamp = //some time you want it to run wp_schedule_event($timestamp, ‘daily’, ‘execute_my_url’); } function do_this_daily() { wp_remote_get( ‘../ =myvideoblog/mvb_main.php&action=processfeed&updatefeed=67’, $args); } This is a simple … Read more

Categories login Tags authentication, cron, login, wp-cron

Customize wp_new_user_notification_email()

You need to use the get_password_reset_key function (see reference) which will query the database and return the reset password key of the user. Here’s a full working example: add_filter( ‘wp_new_user_notification_email’, ‘custom_wp_new_user_notification_email’, 10, 3 ); function custom_wp_new_user_notification_email( $wp_new_user_notification_email, $user, $blogname ) { $key = get_password_reset_key( $user ); $message = sprintf(__(‘Welcome to the Community,’)) . “\r\n\r\n”; $message … Read more

Categories login Tags email, login

Brute force attack?

There’s an app plugin for that, Limit Login Attempts. Some more info available in this wp beginner post: http://www.wpbeginner.com/plugins/how-and-why-you-should-limit-login-attempts-in-your-wordpress/

Categories login Tags hacks, login, security

How can I add a custom script to footer of login page?

This is what ended up working for me: Put your script into a .js file and then: add_action( ‘login_enqueue_scripts’, ‘enqueue_my_script’ ); function enqueue_my_script( $page ) { wp_enqueue_script( ‘my-script’, ‘http://domain.com/path/myjs-file.js’, null, null, true ); }

Categories login Tags footer, login, wp-login-form

How to remove the WordPress logo from login and register page?

You can add a filter to login_head. As explained in the Codex, add this to your code: function my_custom_login_logo() { echo ‘<style type=”text/css”> h1 a {background-image:url(http://example.com/your-logo.png) !important; margin:0 auto;} </style>’; } add_filter( ‘login_head’, ‘my_custom_login_logo’ );

Categories login Tags login, logo, user-registration
Older posts
Newer posts
← Previous Page1 … Page68 Page69 Page70 … Page75 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