<?php 
/**
 * Titan archive styles
**/ 
?>
<?php 

function category_big_post_style1($author_show, $date_show){?>
		<div class="category-first-post">
			<div class="featured-category">
				<h1>
					<?php echo get_option('t1t_word_before_category'); ?>
					<?php single_cat_title(); ?>
				</h1>
			</div>	
			<?php if (  (function_exists('has_post_thumbnail')) && (has_post_thumbnail())  ) { ?>
			<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
			<?php the_post_thumbnail('slider-three');?>
			</a>
			<?php } ?>
					<div class="super-slider-text-box">
						<?php if($author_show == 'true' || $date_show == 'true' ) { ?>
						<div class="author-date">
							<?php if($author_show == 'true') { ?>
							<div class="author">
								<?php the_author_posts_link(); ?>
							</div>
							<!--author-->
							<?php } ?>
							<?php if($date_show == 'true') { ?>
							<div class="date">
								<?php echo get_the_date(); ?>
							</div>
							<!--date-->
							<?php } ?>
						</div>
						<!--author-date-->
						<?php } ?>
						<div class="super-slider-title">
							<h2>
								<a href="<?php the_permalink() ?>">
								<?php the_title(); ?>
								</a>
							</h2>
						</div>
						<!--super-slide-title-->
						<div class="slide-excerpt-wrap">
							<div class="slide-excerpt">
								<?php $t1t_subtitle = get_post_meta(get_the_ID(), 't1t_sub_title', true); if(empty($t1t_subtitle)) { echo excerpt(52); }  else { echo $t1t_subtitle;}  ?>
							</div>
						</div>
					</div>
					<!--super-slider-text-box-->
				</div>
				<!--category-first-post-->
<?php }

function category_big_post_style2($author_show, $date_show){?>
<div class="category-first-post">
	<div class="featured-category">
		<h1>
			<?php echo get_option('t1t_word_before_category'); ?>
			<?php single_cat_title(); ?>
		</h1>
	</div>	
	<div class="t1t-blog-posts-thumb">
		<?php if (  (function_exists('has_post_thumbnail')) && (has_post_thumbnail())  ) { ?>
		<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
		<?php the_post_thumbnail('big-blog-three');?>
		<?php if ( 'video' == get_post_format() ): echo '<span class="play-icon"></span>'; endif; ?>
		</a>
		<?php } ?>
	</div>
	<!--t1t-blog-posts-thumb-->
	<div class="t1t-blog-posts-text">
		<h2>
			<a href="<?php the_permalink() ?>">
			<?php the_title(); ?>
			</a>
		</h2>
		<div class="t1t-blog-posts-subtitle">
			<?php  $t1t_subtitle = get_post_meta(get_the_ID(), 't1t_sub_title', true); if(empty($t1t_subtitle)) { echo excerpt(30); }  else { echo $t1t_subtitle;}  ?>
		</div>
		<!--t1t-blog-posts-subtitle-->
		<?php if($author_show == 'true' || $date_show == 'true' ) { ?>
		<div class="t1t-blog-posts-date-author">
			<?php if($author_show == 'true') { ?>
			<div class="t1t-blog-posts-author">
				<?php the_author_posts_link(); ?>
			</div>
			<!--t1t-blog-posts-author-->
			<?php } ?>
			<?php if($date_show == 'true') { ?>
			<div class="t1t-blog-posts-date">
				<?php echo get_the_date(); ?>
			</div>
			<!--t1t-blog-posts-date-->
			<?php } ?>
		</div>
		<!--t1t-blog-posts-date-author-->
		<?php } ?>
	</div>
	<!--t1t-blog-posts-text-->
</div>
<!--category-first-post-->
<?php } 
function category_post_style1($author_show, $date_show){
?>
<div class="blog-post-image">
	<?php if (  (function_exists('has_post_thumbnail')) && (has_post_thumbnail())  ) { ?>
	<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
	<?php the_post_thumbnail('small-blog'); ?>
	</a>
	<?php } ?>
</div>
<!--blog-post-image-->
<div class="blog-post-title-box">
	<div class="blog-post-title">
		<h2>
			<a href="<?php the_permalink() ?>">
			<?php the_title(); ?>
			</a>
		</h2>
	</div>
	<!--blog-post-title-->
</div>
<!--blog-post-title-box-->
<?php if($author_show == 'true' || $date_show == 'true' ) { ?>
<div class="blog-post-date-author">
	<?php if($author_show == 'true') { ?>
	<div class="blog-post-author">
		<?php the_author_posts_link(); ?>
	</div>
	<!--blog-post-author-->
	<?php } ?>
	<?php if($date_show == 'true') { ?>
	<div class="blog-post-date">
		<?php echo get_the_date(); ?>
	</div>
	<!--blog-post-date-->
	<?php } ?>
</div>
<!--blog-post-date-author-->
<?php } ?>
<div class="blog-post-content">
	<?php echo nl2br(excerpt(50)); ?>
</div>
<!--blog-post-content-->							
<?php }
		
function category_post_style2($author_show, $date_show){?>
			
<div class="t1t-blog-posts-thumb">
	<?php if (  (function_exists('has_post_thumbnail')) && (has_post_thumbnail())  ) { ?>
	<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
	<?php the_post_thumbnail('big-blog-three');?>
	<?php if ( 'video' == get_post_format() ): echo '<span class="play-icon"></span>'; endif; ?>
	</a>
	<?php } ?>
</div>
<!--t1t-blog-posts-thumb-->
<div class="t1t-blog-posts-text">
	<h2>
		<a href="<?php the_permalink() ?>">
		<?php the_title(); ?>
		</a>
	</h2>
	<div class="t1t-blog-posts-subtitle">
		<?php  $t1t_subtitle = get_post_meta(get_the_ID(), 't1t_sub_title', true); if(empty($t1t_subtitle)) { echo excerpt(30); }  else { echo $t1t_subtitle;}  ?>
	</div>
	<!--t1t-blog-posts-subtitle-->
	<?php if($author_show == 'true' || $date_show == 'true' ) { ?>
	<div class="t1t-blog-posts-date-author">
		<?php if($author_show == 'true') { ?>
		<div class="t1t-blog-posts-author">
			<?php the_author_posts_link(); ?>
		</div>
		<!--t1t-blog-posts-author-->
		<?php } ?>
		<?php if($date_show == 'true') { ?>
		<div class="t1t-blog-posts-date">
			<?php echo get_the_date(); ?>
		</div>
		<!--t1t-blog-posts-date-->
		<?php } ?>
	</div>
	<!--t1t-blog-posts-date-author-->
	<?php } ?>
</div>
<!--t1t-blog-posts-text-->
<?php }
function category_post_style3($author_show, $date_show){?>			
		
<div class="img-featured-posts-image">
	<?php if (  (function_exists('has_post_thumbnail')) && (has_post_thumbnail())  ) { ?>
	<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
	<?php the_post_thumbnail('image-featured');if ( 'video' == get_post_format() ): echo '<span class="play-icon"></span>'; endif; ?>
	</a>
	<?php } ?>
<div class="img-featured-title">
	<h2>
		<a href="<?php the_permalink() ?>">
		<?php the_title(); ?>
		</a>
	</h2>
	<?php if($author_show == 'true' || $date_show == 'true' ) { ?>
	<div class="author-date">
		<?php if($author_show == 'true') { ?>
		<div class="author">
			<?php the_author_posts_link(); ?>
		</div>
		<!--author-->
		<?php } ?>
		<?php if($date_show == 'true') { ?>
		<div class="date">
			<?php echo get_the_date(); ?>
		</div>
		<!--date-->
		<?php } ?>
	</div>
	<!--author-date-->
	<?php } ?>
</div>
<!--img-featured-title-->
</div>
<!--img-featured-posts-image-->
<?php }?>