<?php
// Exit if accessed directly
if ( !defined('ABSPATH')) exit;

/**
 * For displaying content in the image post format
 *
 * @file           content-image.php
 * @package        Preference Lite 
 * @author         Styled Themes 
 * @copyright      2013 StyledThemes.com
 * @license        license.txt
 * @version        Release: 1.0
 * @since          available since Release 1.0.1
 */
?>

	<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
		<div class="entry-content clearfix">
		

		<header class="entry-meta">		
				<a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'preference-lite' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark">
				<h1><?php the_title(); ?></h1>
				</a>

			
			<div class="gj-article-details">
				<dl class="article-info"><dd class="meta-date"><?php _e( 'Date: ', 'preference-lite' ); ?><?php the_time(__('F j, Y', 'preference-lite') ); ?></dd><dd class="meta-author"><?php _e( 'Photo By: ', 'preference-lite' ); ?><?php the_author(); ?></dd><?php if ( comments_open() ) : ?><dd class="comments-link"><?php _e( 'Photo Comments: ', 'preference-lite' ); ?><?php comments_popup_link( '<span class="leave-reply">' . __( 'Leave a reply', 'preference-lite' ) . '</span>', __( '1 Reply', 'preference-lite' ), __( '% Replies', 'preference-lite' ) ); ?></dd><?php endif; // comments_open() ?><?php edit_post_link( __( 'Edit', 'preference-lite' ), '<dd class="edit-link">', '</dd>' ); ?></dl>
			</div>			
			
		</header><!-- .entry-meta -->
		<?php if ( has_post_thumbnail() ) : // check to see if our post has a thumbnail	?>
		<div class="img-full-left">
			<?php the_post_thumbnail( ); ?>
		</div>
		<?php endif; ?>
			<?php the_content( __( 'See More...', 'preference-lite' ) ); ?>
		</div><!-- .entry-content -->
		<footer>
			
		</footer>
	</article><!-- #post -->
	<div class="gj-item-separator"></div>
