コード例 #1
0
			<img src="<?php 
perch_path('feathers/quill/img/logo.gif');
?>
" alt="Your Logo Here" class="logo" />
		</div>
		<nav class="main-nav">
			<?php 
perch_pages_navigation(array('levels' => 1));
?>
		</nav>
	</header>
	
	<!--  change cols2-nav-right to cols2-nav-left if you want the sidebar on the left -->
	<div class="wrapper cols2-nav-right">
	
		<div class="primary-content">
			<h1>Events Listing</h1>
			<p>This an example of the Perch Event Listing view.</p>
			<?php 
perch_events_listing();
?>
		
		</div>

	</div>

	<?php 
perch_get_javascript();
?>
</body>
</html>
コード例 #2
0
		</div>
		<nav class="main-nav">
			<?php 
perch_pages_navigation(array('levels' => 1));
?>
		</nav>
	</header>
	
	<!--  change cols2-nav-right to cols2-nav-left if you want the sidebar on the left -->
	<div class="wrapper cols2-nav-right">
	
		<div class="primary-content">
			<h1>Events Listing</h1>
			<p>This an example of the Perch Event Listing view.</p>
		<?php 
/**
 * Change the categories listed to one or more which exist in your admin.
 */
perch_events_listing(array('past-events' => true, 'category' => array('one', 'two')));
?>
	
		</div>

	</div>

	<?php 
perch_get_javascript();
?>
</body>
</html>