WordPress.org

Ready to get started?Download WordPress

Forums

Nicer Archives not showing up (3 posts)

  1. rayne
    Member
    Posted 10 years ago #

    I've installed the Nicer Archives hack, but my archives page doesn't show any archives. I don't want the user to be able to sort my archives, so I didn't include that portion of the code, but it isn't showing any archives. The page is blank. I think it is because of the first line:

    <?php if ($posts) { foreach ($posts as $post) { start_wp(); ?>

    I think it isn't going into this loop because $posts isn't, if that makes sense. My reasoning is that I tried out MTDew Archives Hack also and it processed the part of his code that is the else of this loop. I want the if portion to run always. How do I do this?

  2. Anonymous
    Unregistered
    Posted 10 years ago #

    Oh, was missing the get_archives in the header of the file. It's fixed now. :)

  3. rayne
    Member
    Posted 10 years ago #

    oops. that last post was mine. I guess I wasn't logged in when I posted that I fixed the problem myself.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.