test chuyen huong

/**
 * Tạo trang chuyển hướng trong WordPress – Nguyễn Huy Hiệu (nguyenhuyhieu.com)
 * Code có tham khảo từ blog: https://raynoblog.com/wordpress-co-ban/chuyen-huong-lien-ket-ngoai-wordpress.html
 * Hiệu ứng SVG Animated Birds tham khảo từ: https://codepen.io/matchboxhero/pen/RLebOY
 */
// get the redirection url from GET variable
$redirect_to = !empty($_GET[‘url’])
 ? trim(strip_tags(stripslashes($_GET[‘url’])))
 : ”;
$wait_time    = 15000; // thời gian tự động chuyển hướng (tính bằng millisecond – ở đây là 30000 ml = 30s).
$wait_seconds = $wait_time / 1000;
add_action(‘wp_head’, ‘redirect_to_no_index’, 99);
function redirect_to_no_index()
{
?>
   
 
}
add_action(‘wp_head’, ‘redirect_to_external_link’);
function redirect_to_external_link()
{
    global $redirect_to, $wait_seconds, $wait_time;
    if (empty($redirect_to) || empty($wait_time)) {
    return;
    }
    ?>
   
   
        ?>
 
}
get_header(); //hiện thị header
?>

     style=”display:inline-block;width:970px;height:90px”
     data-ad-client=”ca-pub-2914745769880228″
     data-ad-slot=”8081090298″>
   

       

           

       
       

           

       
       

           

       
       

           

       
   
 

       

       
        echo ‘‘;
        echo ‘

*Donate whith Paypal helps maintian our website and storage*

‘;

        ?>
       

^^ Thank you ^^

         

(File đang chuyển đến bạn > giây)