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
- Upload path/URL weirdness for the main blog of a multisite/network setup
- WP_Site_Query vs. WP_Network_Query in WordPress 4.6
- Multisite/network–automatic self-registration, blog setup
- Restrict users on multisite WordPress install
- Possible to make custom role in multisite that can add sites?
- Hierarchical Page Listing of all Pages in a Multisite Network
- Asian language multisite IDN subdomain
- Using separate Apache log files for multisite
- Network setup tab is not shown under Tools
- Set multisite settings when new site created
- SQL to check how many sites a user is a member of
- Multi-site: Change the URL of main site to HTTPS
- How to show sites under “My Sites” Menu in admin panel wordpress multisite?
- What type of Google tracking should I use?
- How can I get multisite primary blog (url or path) for current user?
- convert from single site to multisite (network) with existing subdomains
- Yoast Sitemap grouping external sitemaps [closed]
- Change Username?
- Google Docs Viewer have problem in MultiSite sub-blogs
- What does “Use BalanceTags” Do?
- Images don’t show up
- How to list WP multisite languages
- How can I automatically duplicate a site’s pages onto network site?
- Draft preview and customize permission problems on multisite main site
- Gravity Forms: gform_wrapper stays hidden even though JS-scripts load without errors
- Will changing the folder name two directories above a fresh wordpress installation break the site?
- Migrating static site to multisite with multiple domains and subdomains
- Share DB tables between two blogs on the same WP Multisite installation
- 404 redirecting to home [closed]
- MULTISITE SUB-DOMAIN JUST SHOWS INDEX OF -> CGI-BIN INSTEAD OF SHOWING SITE
- How do I check if the user is a site owner in a network?
- Handling single.php in Multisite
- get_user_meta() in multiste with respect to subdomain
- Minimize Performance Issues of MultiSite Large Number of Tables Created
- How can I remove a site from a network?
- Using wp_insert_post with WP Network in a cron script
- featured image metabox MU
- Migrating Multisite setup to a different domain
- WordPress multisite second site admin resulting in too many redirects error
- WordPress multisite condition for certain blog_id’s
- the menu of the network does not display my second website
- Get variable from previous blog while using switch_to_blog
- WP Admin Panel for Multi-site install not loading JavaScript for one Subdomain
- WordPress multisite not working
- multisite detect subsite blog number
- New multisite redirects to main site
- How to disable style filtering in post?
- WP Multisite: Do a function after blog is activated
- How to login Separately in each blog?