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

Admin Login page not working at all

I’m no expert, but am I understanding correctly that you logged into wp_admin, went to the Settings page and changed the WordPress Address and/or Site Address? If so, when I ran myself into that in the past, I fixed it by doing a find and replace in my database using phpMyAdmin. I searched for the … Read more

Categories wp-admin Tags admin, login, wp-admin

Show Site Name on WP login screen

The function you are looking for is get_bloginfo(). function wpse407167_custom_login_message( $message ) { $message=”<p class=”natz-login”>Log in to ” . get_bloginfo(‘name’) . ‘</p><br>’; return $message; } add_filter( ‘login_message’, ‘wpse407167_custom_login_message’, 99 );

Categories customization Tags bloginfo, customization, login

Why doesn’t the “Remember Me” checkbox work for me on a live website? Only works on a local server environment

Check your browser settings. You can change the settings for size and time to keep the cookies.

Categories login Tags cookies, login

“Headers already sent” while trying to add a CSS file to my login page?

“Headers already sent” means that some code tried to set a HTTP header (eg. to set a cookie), but that PHP already sent content that will end up in the HTML page. The most likely cause is that you added extra newlines after the ?> closing tag when you edited config.php or functions.php. The simple … Read more

Categories functions Tags functions, login

WordPress and Magento: let WordPress manage user registration and logins?

There is a plugin Mage Enabler http://wordpress.org/extend/plugins/mage-enabler/ which makes Magento session available to WordPress, it’s probably a good place to start. The author has written a couple of good posts on his blog detailing integrating the two.

Categories login Tags customization, login, shared-user-tables, user-registration

wp_login_form: Redirect to dynamic url according to username

You can filter and set where you want to redirect to which user or role with the plugin Peter’s Login Redirect.

Categories redirect Tags login, redirect

How do I to override login redirect on specific pages?

Answer: I’ve figured this out myself. Add the following code to your theme’s functions.php file: // Plugin by http://wordpress.org/extend/plugins/peters-login-redirect/ // Solution by http://www.dominornovus.com function login_widget_redirect( $empty, $redirect_to, $requested_redirect_to, $user ) { // If the referring page contains “/forums/”… if (stripos($_SERVER[‘HTTP_REFERER’],’/forums/’) !== false) { $referringpage = $_SERVER[HTTP_REFERER]; return $referringpage; } //Otherwise, check the referring page contains … Read more

Categories plugins Tags bbpress, login, plugins, redirect

Redirect non-members to about/intro page

Open your theme’s headr.php file and add at the top <?php if( !is_user_logged_in() ) { wp_redirect(get_permalink(123)); exit; } ?> just change 123 to the id of your about page, or replace get_permalink(123) with the about page URL example: <?php if( !is_user_logged_in() ) { wp_redirect(‘http://mydomain.com/about’); exit; } ?>

Categories login Tags buddypress, login, members, private

Change All Login/Signup Links in Plugin

I have looked over the wordpress.org plugin directory and I couldn’t find anything… but you can always do this: 1) Create a copy of the wp-login.php and name it to something secret so you can always login later (like superlog_in1234.php) 2) Edit wp-login.php and look for all the <form> elements, and replace them with <meta … Read more

Categories plugins Tags authentication, login, plugins, signup

update_user_option not working as expected

I think you need to use update_user_meta(), I may be misunderstanding what you’re trying to do though. EDIT (doesn’t work): add_action( ‘user_register’, ‘my_save_extra_fields’ ); function my_save_extra_fields( $user_id ) { update_user_meta( $user_id, ‘deposit’, 5 ); } EDIT: WORKING SOLUTION: add_action( ‘user_register’, ‘my_save_extra_fields’ ); function my_save_extra_fields( $user_id ) { global $wpdb; $cash=5; $wpdb->update( $wpdb->users, array(‘deposit’ => $cash), … Read more

Categories functions Tags functions, login
Older posts
Newer posts
← Previous Page1 … Page16 Page17 Page18 … 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