-
Notifications
You must be signed in to change notification settings - Fork 1
/
home_cb.php
42 lines (39 loc) · 1013 Bytes
/
home_cb.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
<?php
/*
Template name: Home CB
*/
?>
<?php get_header(); ?>
<?php roots_content_before(); ?>
<?php
$recentlyviewed = eas_random_cb_works();
?>
<div class="sliderwrapper">
<div class="slider">
<ul class="slideritems">
<li class="slidertitle">
<h3 class="slidertitleinner">
Works on display right now
</h3>
</li>
<?php
foreach ($recentlyviewed as $a) {
echo '<li><div class="relative">';
eas_figure_tag($a, 'slider-thumb');
echo '</div></li>';
}
?>
</ul>
</div>
</div>
<div id="content">
<?php roots_main_before(); ?>
<div id="main" role="main">
<?php roots_loop_before(); ?>
<?php get_template_part('loop', 'home'); ?>
<?php roots_loop_after(); ?>
</div><!-- /#main -->
<?php roots_main_after(); ?>
</div><!-- /#content -->
<?php roots_content_after(); ?>
<?php get_footer(); ?>