-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgallery.php
More file actions
52 lines (32 loc) · 778 Bytes
/
gallery.php
File metadata and controls
52 lines (32 loc) · 778 Bytes
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
<?php
/*
Template Name: Gallery
*/
get_header();
?>
<section id="content">
<div class="wrap-content zerogrid">
<div class="row block03">
<?php
$zboom_gallery = null;
$zboom_gallery = new WP_Query( array(
'post_type' => 'zboom_gallery',
'posts_per_page' => -1,
'order' => 'ASC',
) );
while ($zboom_gallery->have_posts() ) {
$zboom_gallery->the_post(); ?>
<div class="col-1-4">
<div class="wrap-col">
<article>
<?php the_post_thumbnail(); ?>
<h2><a href="<?php the_permalink(); ?>"> <?php the_title(); ?> </a></h2>
</article>
</div>
</div>
<?php } ?>
</div>
</div>
</section>
<?php get_footer(); ?>