groups

name language licence
index PHP GPL 2
slider CSS GPL 2
home PHP GPL 2
page PHP GPL 2
archive PHP GPL 2
Display PHP on a Single Page PHP BSD
brokenbeats Other Other
pulsewidthmod HTML Other

< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 >



language: PHP
licence: GPL 2

archive

options: view full snippetsend to code collector
<?php get_header(); rewind_posts(); ?>
<div class="span-14 box" id="content">   
		<?php 
		query_posts($query_string.'&posts_per_page=24');
		if (have_posts()) : ?>

 	  <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
 	  <?php /* If this is a category archive */ if (is_category()) { ?>
		<h3 class="sub"><?php single_cat_title(); ?></h3>
 	  <?php /* If this is a tag archive */ } elseif( is_tag() ) { ?>
		<h3 class="sub">Posts Tagged ‘<?php single_tag_title(); ?>’</h3>
 	  <?php /* If this is a daily archive */ } elseif (is_day()) { ?>
		<h3 class="sub">Archive for <?php the_time('F jS, Y'); ?></h3>
 	  <?php /* If this is a monthly archive */ } elseif (is_month()) { ?>
		<h3 class="sub">Archive for <?php the_time('F, Y'); ?></h3>
	
(Continues...)