/
page-may-4th-landing-page.php
119 lines (110 loc) · 3.93 KB
/
page-may-4th-landing-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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<?php get_header(); ?>
<script type="text/javascript" src="<?php bloginfo("template_directory"); ?>/assets/scripts/slideshow.js"></script>
<div class="featured l-featured">
<ul class="featuredArtists">
<li class="featuredItem">
<p class="featured__artist l-inline-block">Real estate</p>
<i class="fa fa-circle"></i>
<p class="featured__artist l-inline-block">cloud nothings</p>
</li>
<li class="featuredItem">
<p class="featured__artist l-inline-block">Domo genesis</p>
<i class="fa fa-circle"></i>
<p class="featured__artist l-inline-block">The mynabirds</p>
</li>
<li class="featuredItem">
<p class="featured__artist l-inline-block">David bowie</p>
<i class="fa fa-circle"></i>
<p class="featured__artist l-inline-block">frank ocean</p>
</li>
</ul>
<hr class="featuredDivider">
<ul class="featuredArticles">
<li class="featuredItem">
<p class="featured__article l-inline-block">Innovation</p>
<i class="fa fa-circle"></i>
<p class="featured__article l-inline-block">Night Market</p>
</li>
<li class="featuredItem">
<p class="featured__article l-inline-block">Workshops</p>
<i class="fa fa-circle"></i>
<p class="featured__article l-inline-block">Yp week</p>
</li>
</ul>
<a class="featuredFullLink l-block" href="#">SEE FUll lineup</a>
<img class="corner-top-left l-pos-top-left mobile-hide" src="<?php bloginfo('template_directory'); ?>/assets/images/corner.png">
<img class="corner-top-right l-pos-top-right mobile-hide" src="<?php bloginfo('template_directory'); ?>/assets/images/corner.png">
<img class="corner-bottom-left l-pos-bottom-left mobile-hide" src="<?php bloginfo('template_directory'); ?>/assets/images/corner.png">
<img class="corner-bottom-right l-pos-bottom-right mobile-hide" src="<?php bloginfo('template_directory'); ?>/assets/images/corner.png">
</div>
</div>
<div class="starDivider l-starDivider"></div>
<div class="outerContainer">
<div class="buyTicketsDecor">
<div class="buyTicketsButton">
<a href="http://bit.ly/LC201701">BUY TICKETS</a>
</div>
</div>
</div>
<div class="starDivider l-starDivider"></div>
<div class="outerContainer">
<div class="widgets l-widgets">
<div class="widgets__youtube l-widgets__youtube">
<?php if ( have_posts() ) :
while ( have_posts() ) : the_post(); ?>
<?php the_content(); ?>
<?php endwhile;
endif;
?>
</div>
<div class="widgets__slideshow l-widgets__slideshow">
<div class="slideShow js-slideShow">
<?php // Set wp_query to ask for updates posts
$args = array(
'posts_per_page' => 5,
'category_name' => 'updates',
'orderby' => 'date',
);
query_posts( $args ); ?>
<div class="slideShowImages">
<div class="imageStrip js-imageStrip">
<?php if ( have_posts() ) :
while ( have_posts() ) : the_post(); ?>
<!--
<div class="img" style="background-image:url('<?php echo get_field('article_image')['url']; ?>');"></div>
-->
<img src="<?php echo get_field('article_image')['url']; ?>"></img>
<?php endwhile;
endif;
?>
</div>
</div>
<div class="slideShowControls">
<?php if ( have_posts() ) :
while ( have_posts() ) : the_post(); ?>
<i class="slideShow__control fa fa-circle"></i>
<?php endwhile;
endif;
?>
</div>
<div class="slideShowArticles">
<?php if ( have_posts() ) :
while ( have_posts() ) : the_post(); ?>
<a class="slideShow__article" href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
<?php endwhile;
endif;
wp_reset_query();
?>
</div>
</div>
</div>
<div class="widgets__spotify l-widgets__spotify">
<?php if ( have_posts() ) :
while ( have_posts() ) : the_post(); ?>
<?php the_field("spotify"); ?>
<?php endwhile;
endif;
?>
</div>
</div>
<?php get_footer(); ?>