WordPress.org

Support

Support » How-To and Troubleshooting » Can't get it to stop trying to show posts on home page, there isn't any to show?

Can't get it to stop trying to show posts on home page, there isn't any to show?

  • Please please help.

    I want to get rid of

    http://www.presenceunknown.co.uk/images/search.jpg

    from the home page. http://www.presenceunknown.co.uk

    I understand that it might be trying to show posts ?

    Heres the page.php coding, can anyone please tell me what to remove to stop it trying to show posts on the home page?

    get_header(); ?>

    <?php
    if ( is_active_sidebar(‘before-content’) ) {
    get_sidebar(‘before-content’);
    }
    ?>

    <div id=”content”>
    <div id=”content-left”>
    <div id=”maintext”>

    <?php
    if(!is_front_page()){
    include_once (TEMPLATEPATH . ‘/title.php’);
    }
    ?>
    <?php if ( function_exists(‘yoast_breadcrumb’) && !is_front_page() ) {
    yoast_breadcrumb(‘<div id=”breadcrumbs”>’,'</div>’);
    } ?>

    <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>

    <div id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
    <div class=”entry-content”>
    <?php the_content(); ?>
    <?php wp_link_pages( array( ‘before’ => ‘<div class=”page-link”>’ . __( ‘Pages:’, ‘templatesquare’ ), ‘after’ => ‘</div>’ ) ); ?>
    <?php edit_post_link( __( ‘Edit’, ‘templatesquare’ ), ‘<span class=”edit-link”>’, ‘</span>’ ); ?>
    </div><!– .entry-content –>
    </div><!– #post-## –>

    <?php comments_template( ”, true ); ?>

    <?php endwhile; ?>

    </div><!– end #maintext –>
    </div><!– end #content-left –>
    <div id=”content-right”>
    <div id=”sideright”>

    <?php get_sidebar(‘page’); ?>

    </div>
    </div><!– end #content-right –>
    <div class=”clear”></div>
    </div><!– end #content –>

    <?php
    if ( is_active_sidebar(‘after-content’) ) {
    get_sidebar(‘after-content’);
    }
    ?>
    <?php get_footer(); ?>

    Thanks so much anyone who takes the time to respond, it might be easy but I just can’t see it, having a blond day.

    🙂

  • The topic ‘Can't get it to stop trying to show posts on home page, there isn't any to show?’ is closed to new replies.
Skip to toolbar