shared with Droplr
 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php


function render_content() {
	
?>
	<?php if ( have_posts() ) : ?>
	<div class="loop">
	
		<div class="loop-content">
		<?php while ( have_posts() ) : // The Loop ?>
			<?php the_post(); ?>
			
			<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
				<!-- title, meta, and date info -->
				<div class="entry-header clearfix">

					<h3 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>		
										
				</div>			

			</div>
			<!-- end .post -->			
			
		<?php endwhile; // end of one post ?>
		</div>
		
		<div class="loop-footer">
		<!-- Previous/Next page navigation -->
		<div class="loop-utility clearfix">
			<div class="alignleft"><?php previous_posts_link( __( '← Previous Page', 'it-l10n-BuilderChild-Dockside' ) ); ?></div>
			<div class="alignright"><?php next_posts_link( __( 'Next Page →', 'it-l10n-BuilderChild-Dockside' ) ); ?></div>
		</div>
		</div>
		
	</div>	
		
	<?php else : // do not delete ?>
		<?php do_action( 'builder_template_show_not_found' ); ?>
	<?php endif; // do not delete ?>
<?php
	
}

add_action( 'builder_layout_engine_render_content', 'render_content' );

do_action( 'builder_layout_engine_render', basename( __FILE__ ) );


?>