Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
master
Switch branches/tags

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?
Go to file
 
 
Cannot retrieve contributors at this time
<div class="post content clearfix">
<div class="post-header">
<?php
$id = get_the_ID();
$postLink = get_field( 'post_link', $id );
the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark" title="%s">', esc_url( $postLink ), the_title_attribute( array( 'before' => 'Permalink to: ', 'after' => '', 'echo' => FALSE ) ) ), '</a></h2>' );
?>
</div>
<div class="post-meta">
<?php
$date = get_the_date( 'F j, Y', $id );
echo "<span class='post-date'><i class='icon-calendar'></i>$date</span>";
?>
<span class="post-author"><a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>"><i class="icon-user"></i>
<?php the_author_meta( 'display_name' ); ?>
</a></span>
<?php
// PHP Request: If the_tags is empty, do not generate the HTML. I don't want the labels and markup making empty space when there are no tags.
the_tags( '<span class="post-tags"><i class="icon-tags"></i>', ', ', '</span>' );
?>
<?php comments_number( '', '<span class="post-comments"><i class="icon-comment"></i>1</span>', '<span class="post-comments"><i class="icon-comment"></i>%</span>' ); ?>
</div>
</div>