-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.php
52 lines (52 loc) · 1.64 KB
/
project.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
<?php
/*
Template Name: project
*/
?>
<?php get_header(); ?>
<div class="row" id="projectPage">
<div class="sideBar">
<h1 class="backLink"><a href="<?php bloginfo('url'); ?>/projects"><span class="navArrow">←</span> projects</a></h1>
</div><!--sideBar-->
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div class="contentWithSidebar post" id="post-<?php the_ID(); ?>">
<div class="metadata">
<div class="bar"></div>
status: <span class="status">
<?php
$mykey_values = get_post_custom_values('status');
foreach ( $mykey_values as $key => $value ) {
echo "$value";
}
?>
</span><br />
updated <?php the_time('j M Y') ?>
<ul class="topics">
<?php
$mykey_values = get_post_custom_values('topic');
foreach ( $mykey_values as $key => $value ) {
echo "<li>$value, </li>";
}
?>
</ul>
<div>
<?php edit_post_link('edit', '', ''); ?>
</div>
</div><!--metadata-->
<div class="entry">
<h2>
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a>
</h2>
<div class="text">
<?php the_content('Read the rest of this entry »'); ?>
</div>
</div><!-- entry -->
<?php trackback_rdf(); ?>
</div><!-- post -->
<?php endwhile; else : ?>
<h2 class="center">Not Found</h2>
<p class="center">Sorry, but you are looking for something that isn't here.</p>
<!-- <?php include (TEMPLATEPATH . "/searchform.php"); ?> -->
<?php endif; ?>
</div><!--row-->
<?php get_footer(); ?>