Example #1
0
}
?>
	    </div>
		<nav class="sidebar">
		    <h2>Filter archive</h2>
		    <!--  By category listing -->
		    <?php 
perch_blog_categories();
?>
		    <!--  By tag -->
		    <?php 
perch_blog_tags();
?>
		    <!--  By year -->
		    <?php 
perch_blog_date_archive_years();
?>
		    <!--  By year and then month - can take parameters for two templates. The first displays the years and the second the months see the default templates for examples -->
		    <?php 
perch_blog_date_archive_months();
?>
    	</nav>
	</div>

	<footer class="layout-footer">
		<div class="wrapper">
			<ul class="social-links">
				<li class="twitter"><a href="#" rel="me">Twitter</a></li>
				<li class="facebook"><a href="#" rel="me">Facebook</a></li>
				<li class="flickr"><a href="#" rel="me">Flickr</a></li>
				<li class="linkedin"><a href="#" rel="me">LinkedIn</a></li>
			    </div>
			</div>
			
			<nav class="sidebar">
			    <h2>Filter archive</h2>
			    <!--  By category listing -->
			    <?php 
perch_blog_categories(array('section' => perch_get('s')));
?>
			    <!--  By tag -->
			    <?php 
perch_blog_tags(array('section' => perch_get('s')));
?>
			    <!--  By year -->
			    <?php 
perch_blog_date_archive_years(array('section' => perch_get('s')));
?>
	    	</nav>
		</div>
		<footer class="layout-footer">
			<div class="wrapper">
				<ul class="social-links">
					<li class="twitter"><a href="#" rel="me">Twitter</a></li>
					<li class="facebook"><a href="#" rel="me">Facebook</a></li>
					<li class="flickr"><a href="#" rel="me">Flickr</a></li>
					<li class="linkedin"><a href="#" rel="me">LinkedIn</a></li>
					<li class="rss"><a href="#">RSS</a></li>
				</ul>
				<small>Copyright &copy; <?php 
echo date('Y');
?>