Forums

Timestamp removal question (1 post)

  1. sailpilot
    Member
    Posted 3 years ago #

    Both the static pages and blog page display the timestamp, author, etc.

    I would like to show the timestamp, etc on the blog only

    the page.php file does not have anything related to timestamp in it.

    the index.php file has the following code which appears to execute for both static and blog pages.

    What needs to be modified so that only th blog page displays the timestamp, etc.?

    <?php if (have_posts()) : ?>

    <?php while (have_posts()) : the_post(); ?>
    <div class="post" id="post-<?php the_ID(); ?>">
    <h2>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></h2>
    <h6><?php the_time('l, F jS, Y'); ?> | Author: <?php the_author(); ?> | <?php the_category(', '); ?> | <?php comments_popup_link(__('No Comments'), __('1 Comment'), __('% Comments')); ?></h6>

    <?php the_content('Continue Reading...'); ?>
    <?php the_tags('<p class="tags">Tags: ', ', ', '</p>'); ?>

    <div class="clear"></div>

    </div>
    <?php endwhile; ?>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.