コード例 #1
0
 function output_layout_block($section = 'start')
 {
     global $context;
     $section = $section == 'start' ? 'start' : 'end';
     if ($layout = has_layout()) {
         generate_content_layout($section, $layout, $context);
     } else {
         // NOTE: There's got to be a better way. This should be revisited.
         echo $section == 'start' ? '<div class="row-fluid">' : '</div>';
         // the default
     }
 }
コード例 #2
0
		<?php 
the_city_background_slider();
?>
			
		<div id="Top" class="clearfix">
			<header><?php 
get_template_part('design', 'header');
?>
</header>
		</div>

		<div id="Middle" class="clearfix">
			<div class="inner-1 pageWrapper content" id="MiddleInner">
				<div class="inner-2 contentMargin">
					<?php 
generate_content_layout($theLayout);
?>
				</div>
			</div>
		</div> <!--! end of .pageWrapper -->

	
		<div id="Bottom">
			<footer><?php 
get_template_part('design', 'footer');
?>
</footer>
		</div>

	</div>