A couple problems with date archives (3 posts)

  1. MtnExile
    Posted 4 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>

    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
    Posted 4 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
    Posted 4 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


No tags yet.