All pastes #2053960 Raw Edit

Miscellany

public text v1 · immutable
#2053960 ·published 2011-05-04 20:35 UTC
rendered paste body
<?php if (have_posts()) : ?>
		<?php while (have_posts()) : the_post(); ?>
		
		<div id="single-content" class="container_24">
		<?php the_content(); ?>	
		
				<div class="meta grid_12">
				<?php  
				// Let's find out if we have taxonomy information to display  
				// Something to build our output in  
				$taxo_text = "";  
				  
				// Variables to store each of our possible taxonomy lists  
				// This one checks for an costumer classification  
				$kund_list = get_the_term_list( $post->ID, 'kund', '<strong>Kund:</strong> ', ', ', '' ); 
				
				if ( '' != $kund_list ) {  
		  		$taxo_text .= "$kund_list<br />\n";  
				}  
				
				// Output taxonomy information if there was any  
			    // NOTE: We won't even open a div if there's nothing to put inside it.  
			    if ( '' != $taxo_text ) {  
			    ?>  
			    <div class="entry-utility">  
			    <?php  
			    echo $taxo_text;  
			    ?>  
			    </div>  
			    <?  
			    } // endif  
			    ?>