briar
briar copied to clipboard
Home.php As Summaries
Hey there,
It looks like this theme treats archives and categories with post summaries instead of pulling in full post texts, which is great. When setting a them to use home.php, though, it pulls in different 'content' -- the full texts of whatever post I have instead of "read more," etc.
I've reduced my home.php to:
<?php get_header(); ?>
<div class="page-title">
<div class="container">
<?php get_sidebar(); ?>
<div class="row">
<div class="col-lg-12" id="category-title">
<h1>My title</h1>
</div><!-- /.col -->
<div class="container" id="category-blogroll">
<div class="row">
<div class="<?php briar_main_class(); ?>">
<div class="post-list" id="content" role="main">
<?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post(); ?>
<div class="row">
<?php
get_template_part( 'content', get_post_format() );
?>
</div>
<?php endwhile; ?>
<?php briar_pagination(); ?>
<?php else : ?>
<div class="row">
<?php get_template_part( 'content'); ?>
</div>
<?php endif; ?>
</div>
</div>
</div>
</div>
</div><!-- /.row -->
</div><!-- /.container -->
</div><!-- /.page title -->
<?php get_footer(); ?>
How can I get the theme to treat this like an archive or category and not display full posts on the homepage?
Thanks!