Skip to content

Instantly share code, notes, and snippets.

@rwkyyy
Created April 26, 2022 10:26
Show Gist options
  • Save rwkyyy/422fa0b9e4438b0f6d180e948bfd38c2 to your computer and use it in GitHub Desktop.
Save rwkyyy/422fa0b9e4438b0f6d180e948bfd38c2 to your computer and use it in GitHub Desktop.
Browser Theme Color (Android) for WordPress
add_action('wp_head', 'head_meta_hookin');
function head_meta_hookin() {
echo '<meta name="theme-color" content="#6eb726">';
echo '<meta name="msapplication-navbutton-color" content="#6eb726">';
echo '<meta name="apple-mobile-web-app-capable" content="yes">';
echo '<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment