Skip to content
This repository has been archived by the owner. It is now read-only.
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
108 lines (66 sloc) 3.41 KB
Template Name: Dean's Blog
get_header(); ?>
<div id="home-interior">
<div class="row clear" id="row1">
<div class="page-title clear">
<h1><?php the_title(); ?></h1>
<div class="deans-blog-blurb">
<?php $key="deans-blog-blurb"; echo get_post_meta($post->ID, $key, true); ?>
<div class="interior-hero clear">
<?php the_post_thumbnail(); ?>
<p class="hidden-deans-blog-blurb"><?php $key="deans-blog-blurb"; echo get_post_meta($post->ID, $key, true); ?></p>
<div class="span3 news-archive-left">
<strong><p>Sort By Date</p></strong>
<div class="date-sort-button clear">
<a href="#" class="DESC">Newest<b class="caret caret-reversed"></b></a>
<a href="#"class="ASC">Oldest<b class="caret"></b></a>
<hr /> -->
<div id="dean-posts">
<strong><p>Past Blog Entries</p></strong>
<ul class="deans-blog-list">
$args = array( 'posts_per_page' => 5000, 'category_name' => 'deans-blog' );
$myposts = get_posts( $args );
foreach ( $myposts as $post ) : setup_postdata( $post ); ?>
<a href="<?php the_permalink(); ?>" title="<?php echo $post->ID; ?>"><?php the_title(); ?></a>
<?php endforeach;
<div class="pagination pagination-small" id="news-pagination">
<li><a href="#" id="news-back">&laquo;</a></li>
<li><a href="#" id="news-next">&raquo;</a></li>
$args = array( 'numberposts'=> 1, 'orderby' => 'post-date', 'category_name' => 'deans-blog' );
$latestpost = get_posts( $args );
foreach ( $latestpost as $post ) : setup_postdata( $post );
<div class="span8 follow-hero">
<div class="clas-entry-thumbnail"><?php the_post_thumbnail('large');?></div>
<article id="">
<header class="entry-header">
<h3 class="clas-entry-title"><?php the_title(); ?></h3>
<div class="clas-post-date"><?php the_time('F j, Y'); ?></div>
<div class="clas-entry-content"><?php the_content(); ?></div>
<?php endforeach;
wp_reset_postdata(); ?>
<?php get_footer(); ?>
You can’t perform that action at this time.