• Resolved vlmedia

    (@vlmedia)


    I have installed semi-static-front and have copied single.php, renamed it to home.php and modified style.css to allow for a wider center column. I have removed the call to get the sidebar.

    Is there a way to just include the page content (just the entry text) and not the line aboove the page content that has the comments, chrondata, permanent link et al?

    I am using WP 2.0.5 and K2 0.9.1

    Also, if I want to not use the default header, currently the template I have for home.php calls for <?php get_header(); ?> . Is there a way to customize the header so that a different header shows from within home.php (which is also my index page by the way since WP is installed in the root)? I’d like to keep the existing header throughout the site but have a different one for the front page/ index page.

    Thanks

Viewing 1 replies (of 1 total)
  • You could try editing your new home.php and where it has:

    <?php include (TEMPLATEPATH . '/theloop.php'); ?>

    change it to:

    <?php the_post(); ?>
    <h3><?php the_title(); ?></h3>
    <?php the_content(); ?>

    Note to future readers: The above include is an element of the default K2 theme’s templates. It is not a ‘standard’ WordPress theming feature.

Viewing 1 replies (of 1 total)

The topic ‘Home Page Question’ is closed to new replies.