WordPress.org

Forums

Date not showing (3 posts)

  1. _Rachel_
    Member
    Posted 10 years ago #

    Ahh, I just installed wordpress and everything went perfectly, except now my date isn't showing. Also, in the calendar that shows when entries have been posted, there's no link to the post that was submitted on that date. Umm...here's my coding for the index:
    <?php
    /* Don't remove this line. */
    require('./wp-blog-header.php');
    include ('header.inc');
    ?>
    <div class="header">" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></div>
    <div class="footer"><?php the_date('','<h2>','</h2>'); ?></div>
    <div id="content">
    <?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>
    <div class="post">
    <div class="storycontent">
    <?php the_content(); ?>
    </div>
    — <?php the_author() ?> @ <?php the_time() ?></div>
    <?php wp_link_pages(); ?>
    <?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>
    </div>
    <!--
    <?php trackback_rdf(); ?>
    -->
    <?php include(ABSPATH . 'wp-comments.php'); ?>
    <Center><hr color="#000000" size="1" width="90%"></center>
    <?php endforeach; else: ?>
    <?php _e('Sorry, no posts matched your criteria.'); ?>
    <?php endif; ?>
    <p class="credit"><!--<?php echo $wpdb->num_queries; ?> queries. <?php timer_stop(1); ?> seconds. --> <cite><?php echo sprintf(__("Powered by WordPress"), __("Powered by WordPress, state-of-the-art semantic personal publishing platform")); ?></cite>
    <? include "footer.inc" ?>

  2. moshu
    Member
    Posted 10 years ago #

  3. _Rachel_
    Member
    Posted 10 years ago #

    *Crawls under a rock* hehe...did I mention I was new at this? *Blushes* Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.