コード例 #1
0
?>
		<div id="content" class="<?php 
echo $roots_options['container_class'];
?>
">
		<?php 
roots_main_before();
?>
	
			<div id="main" class="<?php 
echo $roots_options['main_class'];
?>
" role="main">
				<div class="container">
					<?php 
roots_loop_before();
?>
					<?php 
get_template_part('loop', 'page');
?>
					<?php 
roots_loop_after();
?>
				</div>
			</div><!-- /#main -->
		<?php 
roots_main_after();
?>
		<?php 
roots_sidebar_before();
?>
コード例 #2
0
ファイル: archive.php プロジェクト: nbohlen/roots
		<div id="content" class="<?php echo $roots_options['container_class']; ?>">	
		<?php roots_main_before(); ?>
			<div id="main" class="<?php echo $roots_options['main_class']; ?>" role="main">
				<div class="container">
					<h1>
						<?php if (is_day()) : ?>
							<?php printf(__('Daily Archives: %s', 'roots'), get_the_date()); ?>
						<?php elseif (is_month()) : ?>
							<?php printf(__('Monthly Archives: %s', 'roots'), get_the_date('F Y')); ?>
						<?php elseif (is_year()) : ?>
							<?php printf(__('Yearly Archives: %s', 'roots'), get_the_date('Y')); ?>
						<?php else : ?>
							<?php single_cat_title(); ?>
						<?php endif; ?>
					</h1>
					<?php roots_loop_before(); ?>
					<?php get_template_part('loop', 'category'); ?>
					<?php roots_loop_after(); ?>
				</div>
			</div><!-- /#main -->
		<?php roots_main_after(); ?>
		<?php roots_sidebar_before(); ?>
			<aside id="sidebar" class="<?php echo $roots_options['sidebar_class']; ?>" role="complementary">
			<?php roots_sidebar_inside_before(); ?>
				<div class="container">
					<?php get_sidebar(); ?>
				</div>
			<?php roots_sidebar_inside_after(); ?>
			</aside><!-- /#sidebar -->
		<?php roots_sidebar_after(); ?>
		</div><!-- /#content -->