-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate-lol.php
70 lines (45 loc) · 1.51 KB
/
template-lol.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
<?php
/*
Template Name: LOL
*/
?>
<?php get_header(); ?>
<div id="content">
<div id="inner-content" class="wrap clearfix">
<div id="main" class="twelvecol first clearfix full-width" role="main">
<header class="article-header">
<h1><?php the_title(); ?></h1>
</header> <!-- end article header -->
<?php the_post(); ?>
<div class="sixcol first">
<?php the_post_thumbnail('full'); ?>
</div>
<div class="sixcol">
<?php the_content( ); ?>
</div>
<div class="clearfix"></div>
<h2>Featuring</h2>
<?php
$args = array(
'post_type'=> 'artist',
'category_name' => 'LOL',
'posts_per_page' => -1,
'order' => 'ASC'
);
query_posts( $args );
?>
<ul class="lineup">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<li class="threecol lineup-artist">
<div class="lineup-artist-hover"></div>
<a href="<?php the_permalink(); ?>">
<?php the_post_thumbnail('wtf-lineup')?>
<h3 class="artist-name"><?php the_title(); ?></h3>
</a>
</li>
<?php endwhile; endif; ?>
</ul>
</div> <!-- end #main -->
</div> <!-- end #inner-content -->
</div> <!-- end #content -->
<?php get_footer(); ?>