Skip to content

Instantly share code, notes, and snippets.

@ian-pvd
Created July 17, 2013 16:12
Show Gist options
  • Save ian-pvd/6022024 to your computer and use it in GitHub Desktop.
Save ian-pvd/6022024 to your computer and use it in GitHub Desktop.
<?php /* Secondary Post Template */ ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(dailyburn_category()); ?>>
<?php if ( has_post_thumbnail() ) { ?>
<div class="post-thumbnail">
<a href="<?php the_permalink(); ?>"><img src="http://placekitten.com/<?php echo rand(602,598); ?>/<?php echo rand(248,252); ?>" alt="" /></a>
</div>
<?php } ?>
<header class="entry-header">
<h1 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
</header><!-- .entry-header -->
<footer class="entry-meta">
<?php
dailyburn_post_meta();
?>
</footer><!-- .entry-meta -->
</article><!-- #post-## -->
<?php /* Tertiary Post Template */ ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(dailyburn_category()); ?>>
<?php if ( has_post_thumbnail() ) { ?>
<div class="post-thumbnail">
<a href="<?php the_permalink(); ?>"><img src="http://placekitten.com/<?php echo rand(278,282); ?>/<?php echo rand(248,252); ?>" alt="" /></a>
</div>
<?php } ?>
<header class="entry-header">
<!--
Need to limit the output of the field
-->
<h1 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
</header><!-- .entry-header -->
<footer class="entry-meta">
<?php
dailyburn_post_meta();
?>
</footer><!-- .entry-meta -->
</article><!-- #post-## -->
<?php /* Sidebar Post Template */ ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(dailyburn_category()); ?>>
<?php if ( has_post_thumbnail() ) { ?>
<div class="post-thumbnail">
<a href="<?php the_permalink(); ?>"><img src="http://placekitten.com/60/54" alt="" /></a>
</div>
<?php } ?>
<header class="entry-header">
<!--
Need to limit the output of the field
-->
<h1 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h1>
</header><!-- .entry-header -->
<footer class="entry-meta">
<?php
dailyburn_post_meta();
?>
</footer><!-- .entry-meta -->
</article><!-- #post-## -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment