Change the code to:
function my_login_logo() {
$site_id = get_current_blog_id();
?>
<style type="text/css">
body.login div#login h1 a {
background-image: url(<?php echo get_stylesheet_directory_uri(); ?>/images/Logo-B-Classic-<?php echo $site_id; ?>.jpg);
}
</style>
<?php }
add_action( 'login_enqueue_scripts', 'my_login_logo' );
Then, update the logo image file names to append the site ID accordingly to each different logo image file, for example Logo-B-Classic-21.jpg where ’21’ is the site ID.
Related Posts:
- Is there a is_user_logged_in() for multisite?
- Unable to login to new custom domain on multisite?
- share login/logout sessions across two installs?
- How to Login Once to an Entire WP Multisite Network
- Multisite – Redirect All Users to Subsite Home Page on Subsite Login
- WordPress Multisite Login Access
- Subdomain login problems
- WordPress Multisite local: wp-login.php refreshes on login Chrome Browser
- ‘Remote Login’ with MultiSite Domain Mapping still forcing users to login to all blogs individually?
- How to stay logged in on a multisite with different domains?
- Login on Multiple Sub-Domains without Multisite
- Fresh Multisite Install – Can’t Log In
- Auto Redirect after login
- WordPress MultiSite login to the respective site
- How to fix blocked cookies error that doesn’t let me log into wp-admin?
- Good way to block users within a multisite setup without deleting them?
- Automatically login user across multisite
- How can you override the is_multisite check in wp-login.php for individual login/registration?
- How to write RewriteRule for login in multisite
- Multisite Login problem
- Https and Http Login Issue on WordPress Multisite
- Different Domains in Multisite Setup
- Multisite infinite redirect loop
- Disable site visiting and user logins excepting for a specific user
- Infamous admin login redirect
- Is there something I need to know in order to use WordPress on foreign (Swedish) TLDs?
- Restrict users of site 1 to login in site 2 in wordpress multisite
- Unable to execute Ajax request, status code 400
- Moving from a non WordPress site to a WordPress Site – Login between both sites
- WordPress Multisite: Login to all subsites at once
- Multisite – site user limited only for this site
- Unable to sign in to network after moveing address but able to login into child sites
- User not staying logged into one of sub sites in multisite after SSL
- Single sign on to sub-sites in Multisite Network
- WordPress automatic Login on other page?
- how to make a cronjob run, when user needs to be logged in
- How to change a logo on a wordpress site that is part of a 7 site multisite?
- WordPress Network with SSL for multiple domains
- Why does this multisite redirection loop vanish when I add “www.”?
- One login for 3 WordPress installations with combined user table doesn’t work
- Multisite: Redirect Subsite Administrator to Subsite Home Page, Bypassing Dashboard
- Admin user getting redirected to /wp-admin/user
- How to login a user with wp_set_auth_cookie on a specific blog within a multisite environment
- Is it possible to create a login for restricted visibility?
- How do I combine wp_redirect and add_filter?
- Some Subdomains on a Multisite Install Not Found
- Common login for websites belonging in different networks
- Best Way to Setup a Network of WP Sites?
- WordPress Multisite restict user access
- Error Message when logging into WordPress on Xampp
- WordPress MU: Cookie error when trying to login on network WP instance
- something in database is causing me to not be able to log into network admin of multisite
- Can i merge 2 new WP_Query($variable) ‘s?
- How to reliably flush rewrite rules on multisite?
- Convert a Multisite WordPress install into a Single site
- Using wp_insert_post() with Networking enabled
- Sharing Dynamic Sidebars across Multisite Blogs
- Multisite: How to store global options vs. site options?
- Hide a theme on list of themes in wp-admin without editing core files
- WordPress Multisite Network installation and dev questions
- Turn off trackback/pingbacks and comments on all existing multisite sites
- My subsites accidentally went from one multisite network to another. How do I change it back?
- How to change a WordPress network domain
- Creating multisite in wordpress using php
- WordPress Multisite Sites show in Dropdown but not in Sites menu
- WP Multisite Static Frontpage
- Depth > 2 possible with multisite?
- What are Attributes used for in a WordPress Multisite?
- Redirecting non www to www ONLY for domain, subdomain without www
- WordPress Multisite Question
- Wrong Redirect/Rewrite Rules?
- Initiate multisite with blog_id outside of wordpress
- Show media-frame-menu on custom Media Frame
- How to run a WordPress site across multiple ccTLDs?
- How to get blog_id of an MU site when running a custom function on the parent site
- WordPress multisite domain
- WordPress multisite not work wp-admin
- How to install seperate theme on certain page
- Using Same User Database on Subdomain
- Multisite subdomain-site redirects to primary site
- Permission warning in wordpress multisite
- Static directories in a WordPress multisite network
- How to update wordpress content of wordpress multi-site subdomain
- How to post same content on multisite?
- Configure redirects with web.config
- Events Calendar Multisite 404 for events
- WordPress Database Cleanup
- Multisite – How sync posts to multi sites
- Optimal setup for Multi Domain WordPress with Woocommerce
- Blog switch wpml string translation (multi-site)
- Transfer Part of Multisite to new Domain
- Is there any way to give all users access to one blog in a multisite network without using a plugin?
- Some widgets on Multisite not showing up in template for particular theme
- In a loop, do not display content that does not have a thumbnail
- How to set an option for all sites in my Multisite network?
- Does the ‘init’ hook works for all sites in multisite?
- Non-super-admin users cannot access CPT even though I have explicitly added the capabilities to the user role
- Multisite Network Admin
- wordpress multisite set up on localhost, redirects to live site
- Media Attachment Pages Redirect to Media Files After Migrating to WordPress Multisite