Full Width Page Template Setup
-
I am trying to make a full width page template.
I have the template page setup, but it is still adding that column section for the sidebar even though it is not putting the sidebar there. I want my content to fill the white area.
Here is the code that I have in my page_fullwidth.php page template. Can you please help??<?php /* Template Name: Full Width */ ?> <?php get_header(); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <h1 class="post-title"><?php the_title(); ?></h1> <?php the_content(); ?> <?php edit_post_link(__( 'Edit this entry', 'delicacy' ), '<p>', '</p>'); ?> <?php endwhile; endif; ?> <?php get_footer(); ?>
[please remember to mark any posted code – https://codex.www.ads-software.com/Forum_Welcome#Posting_Code ]
- The topic ‘Full Width Page Template Setup’ is closed to new replies.