Modify the single.php default layout
-
hi! child of 2012
i would like to change the layout of my single.php template simply adding a div between the header and the rest of the page. in this division i ll put the featured image of the post. (in full size)
so i bet i ve to put something inside here
get_header(); ?> <div id="primary" class="site-content"> <div id="content" role="main"> <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'content', get_post_format() ); ?> <?php if ( function_exists('related_posts') ) { related_posts (); } ?>
under the get-header. i m not really good with PHP, so can anyone tells me how to solve this problem? thank you really much!!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Modify the single.php default layout’ is closed to new replies.