Skip to content
This repository has been archived by the owner. It is now read-only.
Go to file
Cannot retrieve contributors at this time
79 lines (45 sloc) 2.11 KB
Template Name: Media Coverage
get_header(); ?>
<div id="home-interior">
<div class="row" id="row1">
<div class="page-title clear">
<h1><?php the_title(); ?></h1>
<div class="interior-hero clear">
<?php the_post_thumbnail(); ?>
<?php if (have_posts()) : while (have_posts()) : the_post();
$pageContent = get_the_content();
endwhile; endif; ?>
<div class="span12 follow-hero">
<div class="row">
<div class="span3">
<div class="one-third-featured">
<?php echo stripslashes (wpautop( get_the_content($pageContent->ID, $key, true))); ?>
<?php $args = array('category_name' => 'media-coverage',
'posts_per_page' => 1000,
'order' => 'DESC');
$posts = get_posts($args);
<?php if ( !empty($posts) && isset($posts[0])) : foreach( $posts as $post ) : setup_postdata($post); ?>
<div class="span8 float-right">
<h5><?php the_title();?></h5>
<?php the_content();?>
<hr />
<?php endforeach; ?>
<?php else: ?>
<?php ('No content to load.'); ?>
<?php endif; ?>
<?php get_footer(); ?>
You can’t perform that action at this time.