This repository has been archived by the owner. It is now read-only.
Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
ucs/page-internship-list.php
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
52 lines (30 sloc)
1.01 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
Template Name: Internship List | |
*/ | |
get_header(); ?> | |
<div id="primary" class="site-content"> | |
<div id="content" role="main"> | |
<div class="row"> | |
<div class="post content clearfix" id="post-<?php the_ID(); ?>"> | |
<div class="span12"> | |
<h1> | |
<?php the_title(); ?> | |
</h1> | |
</div> | |
<div class="span12"> | |
<?php the_content(); ?> | |
</div> | |
<div class="span12"> | |
<?php $the_query = new WP_Query( 'showposts=999&category_name=internships' ); ?> | |
<?php while ($the_query -> have_posts()) : $the_query -> the_post(); ?> | |
<h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2> | |
<p><em>Posted <?php the_time('F j, Y'); ?></em></p> | |
<?php the_excerpt(__('(more…)')); ?><br /> | |
<?php endwhile;?> | |
</div> | |
</div> | |
</div><!-- #content --> | |
</div> | |
</div> | |
<?php get_footer(); ?> |