| Server IP : 121.121.20.254 / Your IP : 216.73.217.51 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/AIWEBSTATION/wp-content/novamira-sandbox/ |
Upload File : |
<?php
/**
* Template Name: AIWEBSTATION V2
*
* A full-screen scroll-driven landing page for AIWEBSTATION.
* Bypasses default WordPress formatting so raw HTML/CSS/JS render intact.
*/
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
<title><?php echo esc_html(get_the_title()); ?></title>
<?php wp_head(); ?>
<?php
remove_filter('the_content', 'wpautop');
remove_filter('the_content', 'wptexturize');
remove_filter('the_content', 'shortcode_unautop');
add_filter('wp_kses_allowed_html', function($tags, $context) {
if ($context === 'post') {
$tags['style'] = ['type' => true];
$tags['script'] = ['type' => true, 'src' => true];
$tags['svg'] = ['class' => true, 'viewBox' => true, 'preserveAspectRatio' => true];
$tags['path'] = ['id' => true, 'd' => true, 'fill' => true, 'stroke' => true, 'stroke-width' => true, 'stroke-dasharray' => true, 'stroke-dashoffset' => true];
}
return $tags;
}, 10, 2);
?>
</head>
<body class="aiwebstation-v2-body">
<?php
while (have_posts()) : the_post();
echo get_post_field('post_content', get_the_ID(), 'raw');
endwhile;
?>
<?php wp_footer(); ?>
</body>
</html>