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?
neag/content-featured-news.php
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
19 lines (15 sloc)
617 Bytes
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 | |
// This is used when viewing a featured news post. | |
?> | |
<article id="post-<?php the_ID(); ?>" class="news-archive-featured"> | |
<header class="entry-header"> | |
<div class="image-wrapper"> | |
<a href="<?php the_permalink() ?>"> <?php the_post_thumbnail() ?> </a> | |
</div> | |
<div class="title-wrapper"> | |
<a href="<?php the_permalink() ?>"><?php the_title( '<h1 class="entry-title">', '</h1>' ); ?></a> | |
</div> | |
</header><!-- .entry-header --> | |
<div class="entry-content clearfix subpage"> | |
</div><!-- .entry-content --> | |
</article><!-- #post-## --> |