| Server IP : 62.60.133.156 / Your IP : 216.73.217.51 Web Server : LiteSpeed System : Linux linux24.centraldnserver.com 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64 User : mimradmin ( 1166) PHP Version : 7.4.33 Disable Function : show_source, system, shell_exec, passthru, exec, popen, proc_open MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/mimradmin/.trash/wp-content.1/themes/wp-buka/ |
Upload File : |
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<?php the_post() ?>
<!DOCTYPE html>
<html <?php language_attributes() ?>>
<head>
<!-- Metas -->
<meta charset="<?php bloginfo('charset') ?>">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<!-- Theme Color -->
<meta name="theme-color" content="<?php echo get_theme_mod('theme_color', '#111111') ?>">
<title><?php the_title() ?></title>
<style>
* {
margin: 0;
padding: 0;
outline: 0;
}
html, body {
height: 100%;
}
body {
background: #000;
direction: ltr;
overflow: hidden;
}
img {
max-width: 100%;
max-height: 100%;
position: relative;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
-moz-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
-o-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
vertical-align: top;
}
video {
width: 100%;
height: 100%;
vertical-align: top;
}
</style>
</head>
<body>
<?php
$portfolio_video = rwmb_meta('portfolio_video');
if($portfolio_video){
$video = array_pop($portfolio_video);
?>
<video controls autoplay>
<source src="<?php echo $video['src'] ?>" type="<?php echo $video['type'] ?>">
<?php esc_html_e('Your browser does not support video tag.', 'wp-buka') ?>
</video>
<?php
}
else if( has_post_thumbnail() ){
?>
<img src="<?php the_post_thumbnail_url('full') ?>" alt="">
<?php } ?>
</body>
</html>