How can I remove the “Content area” from “Landing Page” Layout?
In the Pinboard Theme.
http://finishingtouchesflooring.com
Thanks JIM
Open the file template-landing-page.php and remove these lines of code:
<div id="container">
<section id="content" class="column onecol">
<?php if( have_posts() ) : the_post(); ?>
<article id="post-">
<div class="entry">
<header class="entry-header">
<<?php pinboard_title_tag( 'post' ); ?> class="entry-title"></<?php pinboard_title_tag( 'post' ); ?>>
</header><!-- .entry-header -->
<div class="entry-content">
<?php the_content(); ?>
<div class="clear"></div>
</div><!-- .entry-content -->
<?php wp_link_pages( array( 'before' => '
That’s almost it, but that also removes the footer and other parts of the page.
JIM
Try putting this line where the content above was previously:
<div class="clear"></div>