elbee-elgee / theloop.php

Doug Stewart 985cf70 
Doug Stewart 11f6d1f 
Doug Stewart 3195d1a 





Doug Stewart edcb39b 
Doug Stewart ba2f84d 
Doug Stewart f5d9e13 
Doug Stewart 3e411b0 
Doug Stewart ba2f84d 

Doug Stewart f0faf99 
Doug Stewart a41f5af 

Doug Stewart 3e411b0 


Doug Stewart a41f5af 
Doug Stewart f9ef048 
Doug Stewart a41f5af 
Doug Stewart f0faf99 
Doug Stewart ba2f84d 
Doug Stewart f0faf99 



Doug Stewart 3195d1a 




<?php lblg_before_loop(); ?>
<?php 
	/* Start The Loop */ 
	if (have_posts()) { 
		while (have_posts()) { 
			the_post();
			/* Permalink navigation has to be inside the loop */ 
			if (is_single()) get_template_part('navigation'); ?>
		<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
			<?php lblg_before_post_title(); ?>
			<?php if( !is_single() && !is_page() ) { ?><h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php echo strip_tags(get_the_title()) ?>"><?php the_title(); ?></a></h2>
			<?php } else { ?><h1><?php the_title(); ?></h1><?php } ?>

			<?php lblg_before_itemtext(); ?>
			<div class="itemtext">
				<?php 
				if ( is_archive() or is_search() or is_tag() ) {
					the_excerpt();
				} else {
					the_content('Continue reading'. " '" . the_title('', '', false) . "'");
				}
				wp_link_pages( array( 'before' => '<div class="post-pagination">Pages: ', 'after' => '</div>', 'next_or_number' => 'number')); 
				?>
			</div>
			<?php lblg_after_itemtext(); ?>
			<!--
				<?php trackback_rdf(); ?>
			-->
		</div>
	<?php } /* End while */
		if(is_home() || is_archive()) get_template_part('navigation');
	} /*End loop*/ 
	
	lblg_after_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.