All pastes #1841115 Raw Edit

page.php (modified)

public php v1 · immutable
#1841115 ·published 2010-03-15 11:44 UTC
rendered paste body
<?phpfunction render_content() {	?>	<?php if (have_posts()) : while (have_posts()) : the_post(); // the loop ?>		<!--Post Wrapper Class-->	<div class="post">		<?php if (!(is_page('about') || is_page('test-page-2'))) { ?>	<!--Title-->	<div class="title wrap">		<div class="post-title">			<h1 id="post-<?php the_ID(); ?>"><?php the_title(); ?></h1>		</div>	</div>	<?php } ?>		<!--post text with the read more link-->	<div class="post-content">		<?php the_content(); ?>		<?php edit_post_link('Edit this entry.', '<p>', '</p>'); ?>	</div>	<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>	<!--post meta info-->	<div class="meta-bottom wrap">	</div>		</div><!--end .post-->		<?php comments_template(); // include comments template ?>		<?php endwhile; // end of one post ?>	<?php else : // do not delete ?>		<div class="post">	<h3><?php _e("Page not Found"); ?></h3>	<p><?php _e("We're sorry, but the page you're looking for isn't here."); ?></p>	<p><?php _e("Try searching for the page you are looking for or using the navigation in the header or sidebar"); ?></p>	</div>		<?php endif; // do not delete ?><?php	}add_action( 'builder_layout_engine_render_content', 'render_content' );do_action( 'builder_layout_engine_render', basename( __FILE__ ) );?>