From what I understand you’re using one theme across multiple blogs inside your network? If that’s the case, you could edit the header.php
to add a bit of php logic into it to check on what blog your header is currently loaded.
To make it work, you’ll need to get the ID of a blog you want to apply the change to (check for it in your network admin on a screen that lists all the blogs).
Then edit the header.php
and add something like this:
<?php
// 6 in my example is the blog ID that I want to apply the change to
if ( 6 === get_current_blog_id() ) {
echo `<meta name="theme-color" content="#ff6600" />`;
}
?>
The other way would be to create a new child theme with a header.php file that has the additional meta tag and activate it only on a particular blog.
Hope that helps!
Related Posts:
- Add additional Network constants to wp-config.php dynamically
- How do I change the Multisite URL?
- WordPress Multisite Multiple child theme
- Post and Page Inheritance to subsites in a WordPress Network
- Roles other than Super admin accessing manage_network_themes
- How to add super admin to all sites
- Listing of all site options in dashboard
- Multisite: How to store global options vs. site options?
- Single-user registration to access all sites in WordPress MultiSite Network
- WPMU vs WordPress MultiSite is there a difference anymore?
- Generate a user list per site to communicate upgrade plans
- Hard Code Pages into a Theme for a Network (multisite) Installation
- Timeout While Upgrading Network in Multi-site
- “Upgrade Network” error: stuck with SSL certificate verification
- Display custom homepage text based on domain
- Add new domain to ‘My Sites’ using network admin
- Child Theme CSS Not Overriding Parent Theme In MultiSite Site
- Favicon plugin for WordPress running in network mode (multisite)? [closed]
- Sharing Header Components Across Multisite
- No Network/Super admin after enabling Network
- WordPress Multisite: Have the same header and footer of main-blog on all sub-blogs
- PHP Notices appear when browsing any page in admin, but only for child theme, using code from WP Codex
- Problem in Internationalizing a plugin built for network level usage
- Multisite network admin – URL / redirect error
- Change Username?
- Why does the My Site dropdown show only a single domain?
- WP Multisite – domain mapping to domain.com and separate site to domain.com/help
- Activate Child Theme with Codex
- Is there a way to run upgrade.php for one blog?
- Include only a domain path in multisite Network
- Child Theme activates, but nothing from parent theme displays (MAMP, Multisite)
- Possible to enqueue scripts and CSS to Multisite Network dashboard?
- Adding new sites to Multisite won’t register in Dashboard
- WordPress Network admin options page: how to store options and where will they be stored?
- Grandchild themes and optimal network architecture
- Multi-Site Subdomain: Show master site under subdomain if no sub site exists
- How to force change Network site multi language subdirectory base URL?
- Merge Multisites with Shared Network Media Library
- Multisite Subdirectory with same domain subdomain
- How to create a Multi-Network subsite?
- Development of new theme and rollout on multisite
- Create Custom Multisite User Role to Reduce Capabilities
- Renaming admin user on multisite install by MySQL
- HTTPS Warning and Certificate Error when Updating Network
- Multisite, with virtual root
- 3 blogs on one site with the same header menu?
- Add access control origin header information across multisite
- Child Theme Based on Toolbox Not Found
- How to exclude specified from all list of Multisite
- How to wordpress multi site [closed]
- Network of multisites in WordPress, create new site with all the contents of the main
- How do I check if the user is a site owner in a network?
- Locking one blog of many in a multi user/blog WordPress installation
- Programmatically creating site in a network
- Is it necessary to network enable both the parent and child theme for multisite installations?
- switch_to_blog() not functioning while querying post_types, Why?
- WordPress Multisite with subdomains on different domains
- Can’t create a subdomain network – and WP is installed in webroot, not a folder
- How to have one installation at blog.example.com and multiple blogs in sub folders such as blog.example.com/userA?
- Multisite default theme and child applied to network
- Forward and mask a WordPress website
- WordPress multisite with same content
- Can I use the same Folder name as a Multisite Blog?
- unable to access network admin of a blog
- Website not listed under Sites (in a Network environment)
- Sites network with sub-folders
- How can I create network with different domains?
- multisite – unable to connect to network administration
- Add Network Sites are not working
- Getting stylesheet error after setting subdomain to false in multisite
- Remember language choice on multisite website
- Admin users not able to see network menus
- How to hold posts and accounts for moderation on WordPress Network site
- My Sites link in multisite is incorrect
- Downloading customized theme from wordpress
- Multisite network admin login redirect
- Created child theme from Themegrill Flash-Pro and the child theme is blank
- Multisite network subdomains doesn’t work
- Cannot enable WordPress Network – ‘MULTISITE’ already defined and false
- Modify new user email notification in network admin screen wp multisite
- the menu of the network does not display my second website
- Applying Child Theme to another site, which has its own URL
- WordPress Multisite – Auto enable theme
- Issue when transforming an existing site to multi-site with subfolders setup
- network admin pages not linked to correctly
- How to split database of WordPress multi-site network into multiple database
- Move two independent sites to network
- How to configure CNAMES to be part of a WordPress Network
- Cannot access network admin panel on multi site
- How to apply specific plugins to affect all sites (Multisite Network)
- Admin user getting redirected to /wp-admin/user
- Getting 404 after Update in Multisite
- 4th Network Site Database Errors?
- Can admins on network install view and edit users accounts?
- How to display update message only to admin
- How to disable admin access on new site registration for user in Multisite?
- WordPress Multisite (Network) some site users added to main site users list as subscriber
- Which is the recommended method to transfer a wordpress site to wordpress Multisite?
- Migrating a WP site with 2 WP installations
- Nginx rules for subdomain multisite install (Bedrock)