elbee-elgee / theloop.php

	 <?php /* Start The Loop */ if (have_posts()) { while (have_posts()) { the_post(); ?>
		<?php /* Permalink navigation has to be inside the loop */ if (is_single()) include (TEMPLATEPATH . '/navigation.php'); ?>
		<?php 
			$time = get_the_time('M d Y');
			list($mo, $da, $ye) = explode(" ", $time);
		?>
		<acronym class="published" title="<?php the_time('Y-m-d\TG:i:sO'); ?>">
			<span class="pub-month"><?php echo($mo); ?></span>
			<span class="pub-date"><?php echo($da); ?></span>
			<!--span class="pub-year"><?php echo($ye); ?></span-->
		</acronym>	
		<div id="post-<?php the_ID(); ?>" class="wppost">
			<h3><a href="<?php the_permalink() ?>" rel="bookmark" title='<?php printf(__('Permanent Link to "%s"','k2_domain'), strip_tags(get_the_title())) ?>'><?php the_title(); ?></a></h3>	

			<div class="itemtext">
					<?php if ( is_archive() or is_search() or (function_exists('is_tag') and is_tag()) ) {
						the_excerpt();
					} else {
						the_content(__('Continue reading','k2_domain') . " '" . the_title('', '', false) . "'");
					} ?>
					<div class="postinfo">
					<?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?>
					<?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>
					</div>
					<?php link_pages('<p><strong>'.__('Pages:','k2_domain').'</strong> ', '</p>', __('number','k2_domain')); ?>
			</div>

			<!--
				<?php trackback_rdf(); ?>
			-->
		</div>
	<?php } /* End while */?>
	<?php } /*End loop*/ ?>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.