All pastes #2053962 Raw Edit

Miscellany

public text v1 · immutable
#2053962 ·published 2011-05-04 20:36 UTC
rendered paste body
		<!-- loop in the single post -->
		<?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  
			    ?>  
							single-nyheter.php

				</div> <!-- end meta -->
		</div> <!-- end single-content -->
		<?php endwhile;?>
		<?php else : ?>
		<?php endif; ?>
		<!-- end of the single post content -->