/
front-page.php
45 lines (45 loc) · 1.95 KB
/
front-page.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
global $meta_description;
$meta_description = "Australia's Best Male Strippers. Whether you're celebrating a bachelorette, birthday, or divorcé party, or even a girl's night out, it'll be totally epic!";
get_header();
?>
<section class='hero-img'>
<?php
if( has_post_thumbnail() ):
echo get_the_post_thumbnail();
endif;
?>
</section>
<section class="slide-in">
<?php
global $title;
global $page_heading;
$page_heading = false;
$title='sneak peak';
include 'components/title.php';
?>
<iframe
width="560"
height="315"
loading='lazy'
src="https://www.youtube.com/embed/M0psxBbptuQ"
srcdoc="<style>*{padding:0;margin:0;overflow:hidden}html,body{height:100%}img,span{position:absolute;width:100%;top:0;bottom:0;margin:auto}span{display:grid;place-items:center;height:100%;font-size:3rem;color:white;text-shadow:0 0 0.5em black}</style>
<a href=https://www.youtube.com/embed/M0psxBbptuQ?autoplay=1>
<picture>
<source media='(max-width: 480px)' srcset='https://i.ytimg.com/vi_webp/M0psxBbptuQ/hqdefault.webp' loading='lazy' type='image/webp'>
<source media='(max-width: 480px)' srcset='https://i.ytimg.com/vi/M0psxBbptuQ/hqdefault.jpg' loading='lazy' type='image/jpeg'>
<source srcset='https://i.ytimg.com/vi_webp/M0psxBbptuQ/sddefault.webp' loading='lazy' type='image/webp'>
<source srcset='https://i.ytimg.com/vi/M0psxBbptuQ/sddefault.jpg' loading='lazy' type='image/jpeg'>
<img src='https://img.youtube.com/vi/M0psxBbptuQ/sddefault.jpg' alt='Have you had the Raw Muscle experience yet?'>
</picture>
<span>►</span>
</a>"
frameborder="0"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen
title="Raw Muscle trailer"
></iframe>
</section>
<?php include('components/tour-dates.php'); ?>
<?php include('components/image-slider.php'); ?>
<?php get_footer(); ?>