Skip to content
This repository
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 34 lines (32 sloc) 0.794 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
<?php
/**
* The template for displaying content in the single.php template
*
* @package WordPress
* @subpackage Twenty_Eleven
* @since Twenty Eleven 1.0
*/
?>

<article id="small-project-<?php the_ID(); ?>" class="small_project">
<a href="<?php echo get_permalink(); ?>">
<div class="clipper">
<?php
    the_post_thumbnail(array(500, 170));
    ?>
</div>
<hgroup>
<h1 class="entry-title">
<?php the_title(); ?>
</h1>
<h2><?php
        $terms = wp_get_object_terms(get_the_ID(), "project_department");
        $c = 0;
        foreach($terms as $term) {
            if($c)
                echo ", ";
            echo $term->name;
            $c++;
        }
        ?> Intern</h2>
</a>
</article><!-- #post-<?php the_ID(); ?> -->
Something went wrong with that request. Please try again.