Hi Guys.
So I love your theme, we are using it with great success.
Just a quick questions. I want the frontpage to look like a category page. So all new posts can be defaulted to a “GRID” with List option.
I would like if I could keep the featured slider at the top though.
Is there a simple way to maybe make a widget I can add to Homepage Content that would feed in all recent stories in the same output look as a category Grid page.
Thanks for posting this issue! Unfortunately, I’m afraid it would not be possible to support you for this customization. Our theme does not support your request yet at the moment.
Pleaase implement it !
To make the Homepage look like a category page in the DW Focus theme. Please open the index.php file. Remove all the code in this file then add the following code.
<?php
/**
* The main template file.
*
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists.
* Learn more: http://code class="prettyprint"x.wordpress.org/Template_Hierarchy
*
* @package DW Focus
* @since DW Focus 1.0
*/
get_header(); ?>
<div id="primary" class"site content span9">
<?php if ( have_posts() ) : ?>
<?php dynamic_sidebar('dw_focus_home'); ?>
<div class="archive">
<div class="content-inner layout-grid">
<?php global $archive_i; $archive_i = 1 ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'archive' ); ?>
<?php $archive_i++; ?>
<?php endwhile; ?>
</div>
<?php dw_focus_pagenavi(); ?>
</div>
<?php else : ?>
<?php get_template_part( 'no-results', 'archive' ); ?>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Please login or Register to submit your answer