Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function address_mobile_address_bar() {
- $color = "#008509";
- //this is for Chrome, Firefox OS, Opera and Vivaldi
- echo '<meta name="theme-color" content="'.$color.'">';
- //Windows Phone **
- echo '<meta name="msapplication-navbutton-color" content="'.$color.'">';
- // iOS Safari
- echo '<meta name="apple-mobile-web-app-capable" content="yes">';
- echo '<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">';
- }
- add_action( 'wp_head', 'address_mobile_address_bar' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement