Replace The WordPress Logo on Login Page with your own logo (copy)

add_filter( ‘login_head’, function () { // Update the line below with the URL to your own logo. // Adjust the Width & Height accordingly. $custom_logo = ‘https://qcs-ghana.stromstadafroshop.se/wp-content/uploads/2024/04/logo-email-header.webp’; $logo_width = 100; $logo_height = 100; printf( ‘.login h1 a {background-image:url(%1$s) !important; margin:0…Continue reading

normalize css (the new normal)

// Add custom styles function add_the_new_normal_css() { wp_register_style( ‘the-new-normal-css’, ‘https://github.com/sarahschopick/the-new-normal.css/blob/c413cad2074e314774f538dd044ad30d8b5ce31d/the-new-normal.css’, array(), ‘1.0.0’ ); wp_enqueue_style( ‘the-new-normal-css’ ); } add_action( ‘wp_enqueue_scripts’, ‘add_the_new_normal_css’ );Continue reading

Login Restrict

// Restrict login to only the senior developer by user ID function restrict_login_to_senior_dev( $user, $username, $password ) { // Allow login only for the specified user ID $allowed_user_id = 1; // Replace with your user ID (e.g., 1, 2, etc.)…Continue reading