WordPress.org

Ready to get started?Download WordPress

Forums

A couple problems with date archives (3 posts)

  1. MtnExile
    Member
    Posted 2 years ago #

    I'm trying to make WordPress show a list of all articles posted on a certain day, so that when you click on the date of the post you get the list. This is the code I tried, which doesn't work:

    <div class="entry-meta">
        <span class="entry-date"><a href="<?php wp_get_archives('type=daily'); ?>"><?php the_time('F j, Y') ?></a></span>
    </div>

    Using wp_get_archives outside of a URL works fine for the Archive list accessible in the sidebar.

    The other problem is that if I click on the date link of a post, I get a 404 error...but it's not the WordPress 404 page. It's being generated by the server: "The resource requested could not be found on this server!" Is this a sign that something more important is awry?

  2. JarretC
    Member
    Posted 2 years ago #

    From the 404 error that you mentioned it sounds like something on your server isn't configured properly. Is this a new site that you just started or did this issue just start appearing?

  3. MtnExile
    Member
    Posted 2 years ago #

    Brand new site. Still in the development stage, so this is something that never has worked the way I want it.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.