Remove Content area from Landing Page.

Viewing 4 posts - 1 through 4 (of 4 total)
  • #13407
    jjifmeyer
    Participant

    How can I remove the “Content area” from “Landing Page” Layout?
    In the Pinboard Theme.

    http://finishingtouchesflooring.com

    Thanks JIM

    #13428
    Daniel Tara
    Keymaster

    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' => '

    ' . __( 'Pages:', 'pinboard' ), 'after' => '</p></footer>' ) ); ?> </div><!-- .entry --> <?php comments_template(); ?> </article> <?php else : ?> <?php pinboard_404(); ?> <?php endif; ?> </section> <div class="clear"></div> </div><!-- #container -->

    #13440
    jjifmeyer
    Participant

    That’s almost it, but that also removes the footer and other parts of the page.

    JIM

    #13458
    Daniel Tara
    Keymaster

    Try putting this line where the content above was previously:

    <div class="clear"></div>
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.