-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsidebar.php
More file actions
56 lines (51 loc) · 2.94 KB
/
sidebar.php
File metadata and controls
56 lines (51 loc) · 2.94 KB
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
<div id="page-sidebar" class="news-sidebar">
<div class="sidebar-contents">
<form action="" method="post" id="news-search">
<input type="image" src="<?php print(get_template_directory_uri()); ?>/images/search.png">
<input type="text" name="search" placeholder="Search...">
<div class="clear"></div>
</form>
</div>
<div class="sidebar-contents-sub">
<h2>Archives</h2>
<ul id="news-archives">
<?php wp_get_archives(array()); ?>
</ul>
</div>
<div class="sidebar-contents-sub">
<h2>Tags</h2>
<div id="news-tags">
<?php print(get_the_tag_list("", ", ")); ?>
</div>
</div>
</div>
<div id="awards-sidebar">
<h2>Monthly Awards</h2>
<?php
$CN_Awards = new CN_Awards();
$CreativeChampion = $CN_Awards->getCreativeChampion();
$CrackinStartup = $CN_Awards->getCrackinStartUp();
$CannyApprentice = $CN_Awards->getCannyApprentice();
?>
<a href="<?php print($CreativeChampion->getProfileURL()); ?>">
<div class="directory-cta-item first-item">
<h4>Creative Champion</h4>
<p><?php print($CreativeChampion->getName()); ?></p>
<img src="<?php print(get_template_directory_uri() . "/images/award_item_arrow.png"); ?>" alt="View Profile" />
</div>
</a>
<a href="<?php print($CrackinStartup->getLink()); ?>">
<div class="directory-cta-item">
<h4>Crackin' Start up</h4>
<p><?php print($CrackinStartup->getCompanyName()); ?></p>
<img src="<?php print(get_template_directory_uri() . "/images/award_item_arrow.png"); ?>" alt="View Profile" />
</div>
</a>
<a href="<?php print($CannyApprentice->getProfileURL()); ?>">
<div class="directory-cta-item">
<h4>Canny Apprentice</h4>
<p><?php print($CannyApprentice->getName()); ?></p>
<img src="<?php print(get_template_directory_uri() . "/images/award_item_arrow.png"); ?>" alt="View Profile" />
</div>
</a>
</div>