• I just noticed a wierd problem with my WordPress. On the main page my second entry (its always the second one) the date does not show up but shows up on all the other posts. Check it out https://urbanwhore.com/
    Anyone know what is causing this?

Viewing 7 replies - 1 through 7 (of 7 total)
  • and for your “Lysergic Acid Diethylamide” and the “georgia laws” article
    were all those posts posted on the same day?
    i mean were the acid and georgia one on the same day and the college and buffalo one both today?
    cuz that could be part of the reason…i’m just guessing

    Thread Starter urbanwhore

    (@urbanwhore)

    Yes they were, now I know what is causing the problem now. Anyway to make the posts that were made on the same day, for the date to appear.

    so i guess all it means is a repeat of a date function call somewhere?
    cool

    Thread Starter urbanwhore

    (@urbanwhore)


    <?php if ($posts) { foreach ($posts as $post) { start_wp(); ?>
    <div style="border-bottom: 1px #4f4f4f solid;">
    <span class="title" id="post-<?php the_ID(); ?>">" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></span>
    <div style="width: 500px;">
    <div style="float: left;"><span class="small">Posted on <?php the_date('F jS, Y'); ?></span></div>
    <div style="float: right;"><span class="small"> <img src="https://urbanwhore.com/comment.jpg" border="0" alt="comment arrow" /> <?php comments_popup_link('Comments (0)', 'Comments (1)', 'Comments (%)'); ?></span></div>
    </div>
    </div>
    <?php the_content(); ?>
    <?php link_pages('
    Pages: ', '
    ', 'number'); ?>

    <?php trackback_rdf(); ?>
    <?php include(ABSPATH . 'wp-comments.php'); ?>
    <?php } } else { // end foreach, end if any posts ?>
    Sorry, no posts matched your criteria.
    <?php } ?>

    Any idea where?

    at this point in time..no! maybe someone else will?
    i tried copying and pasting php the_date in random places inside the post div on mine but nothing changed! ??

    Thread Starter urbanwhore

    (@urbanwhore)

    After looking through the WordPress Documents I found the problem.
    “The date of the post. example: 03.07.01 (default is dd.mm.yy).
    The date is displayed only on new days. For example, if you write 10 posts on the same day, the date is displayed only once.
    […]
    If you want all your posts to bear the date, you’ll have to use the_time() instead, with a date format string”

    ah! i noticed on your blog that the date was there!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Having problem with date’ is closed to new replies.