Create Fullwidth page template??
-
Hello, I have been trying to create some of my pages to be full width ( no sidebar, etc.,) I have read different forums but done of the codes modifications that I had played around with work. I know that I have to create a “full-width. php” out of my “page.php” and that I have to do some modifications in the “style. css” I have been trying to do that for the last couple of days and anything seems to work. I would greatly appreciate if you could described step by step what is that I should do to have a full width page. My website is kickly.co Thanks!
here is the code of the page.php:
<?php $tzcomment = get_post_meta(get_the_ID(),THEME_PREFIX . '_TzCommentPage',true); get_header(); ?> <?php get_template_part('template_inc/inc','menu'); ?> <section class="tz-blogbody"> <?php get_template_part('template_inc/inc','leftmenu'); ?> <div class="tz-Pagespace"> </div> <div class="tz-blogmain"> <?php if ( have_posts() ) : while (have_posts()) : the_post() ; ?> <div <?php post_class('tz_page_content') ?>> <?php the_content(); wp_link_pages() ; ?> </div> <?php if($tzcomment == 'show'){ ?> <div class="tz_portfolio_comment"> <?php comments_template( '', true ); ?> </div> <?php } ?> <?php endwhile; endif; ?> </div> </section> <?php get_footer(); ?>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Create Fullwidth page template??’ is closed to new replies.