Hi,
I’m afraid the theme doesn’t include page templates. You would have to use a child theme to implement a custom template. Sorry!
Best Regards,
Dustin
Dustin,
thanks — I was aware of that, but have failed at trying to carry over the same post exceprt style on a new template. Say my Reading settings were to have Posts on homepage, the style/layout that Serene theme displays, I want to replicate it exactly, but on a custom frontpage/template in my child theme.
I’m familiar with css and but only a codex/stack overflow hack with php
I created a new front page template in my functioning child theme
<div id=”main-content”>
<?php
while ( have_posts() ) : the_post();
get_template_part( ‘content’, get_post_format() );
endwhile; ?>
</div> <!– #main-content –>
<?php
get_template_part( ‘includes/navigation’, ‘index’ );
else:
get_template_part( ‘includes/no-results’, ‘index’ );
endif;
I plan on following the post with category & page containers – like widget blocks
Thanks for you help and time responding.
-
This reply was modified 7 years, 9 months ago by
lukeratto.
when I added a child function file like so
<?php
function my_theme_enqueue_styles() {
$parent_style = ‘parent-style’; // This is ‘serene-style’ for the Serene theme.
wp_enqueue_style( $parent_style, get_template_directory_uri() . ‘/style.css’ );
wp_enqueue_style( ‘child-style’,
get_stylesheet_directory_uri() . ‘/style.css’,
array( $parent_style ),
wp_get_theme()->get(‘Version’)
);
}
add_action( ‘wp_enqueue_scripts’, ‘my_theme_enqueue_styles’ );
?>
anything I try to save results in a blank page