forked from corgus/eas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathart.php
48 lines (42 loc) · 1.4 KB
/
art.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
<?php
/*
Template Name: Art
*/
?>
<?php get_header(); ?>
<?php roots_content_before(); ?>
<div id="content" class="<?php echo CONTAINER_CLASSES; ?>">
<?php roots_main_before(); ?>
<div id="main" class="<?php echo FULLWIDTH_CLASSES; ?>" role="main">
<?php roots_loop_before(); ?>
<?php get_template_part('loop', 'artpage'); ?>
<?php roots_loop_after(); ?>
<?php eas_page_links(); ?>
<?php eas_get_gallery_forum_posts(get_query_var('paged'), 9); ?>
<?php/* ?>
<div class="span3">
<?php get_currentuserinfo(); ?>
<?php $favs = eas_get_favorites($user_ID);
if (count($favs)) {
?>
<div class="page-header favorites-header">
<h3>Your Favorites</h3>
</div>
<?php
foreach ($favs as $f) {
$img = eas_artwork_img($f->id, 'large');
$src = $img[0];
?>
<img src="<?php echo $src; ?>">
<?php
}
?>
<?php
}
?>
</div> <?php */?>
</div><!-- /#main -->
<?php roots_main_after(); ?>
</div><!-- /#content -->
<?php roots_content_after(); ?>
<?php get_footer(); ?>