WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Would like: Archives in sidebar to link to index of posts (3 posts)

  1. brockangelo
    Member
    Posted 7 years ago #

    I haven't used an archives index in a while, but it appears as though WP is moving towards only allowing Archives as an official page.

    I use the wp_get_archives in my sidebar but have never liked how it displays all of the posts in full-frontal format. I love the index of archived posts.

    At one point I must have used a plugin (unknowingly) to accomplish this. I don't want a separate page for my archives. As I look at the how-to for the wp_get_archives, it looks like I could pass a string (possibly "format=link" ??) But this doesn't give me the index I would like.

    Feel free to chastise my ignorance, but several thoughtful searches make it seem like WP is moving away from the possibility of a dynamic index.

    Am I wrong?
    brockangelo.com

  2. Kafkaesqui

    Posted 7 years ago #

    "...it appears as though WP is moving towards only allowing Archives as an official page."

    Huh? What?

    "I use the wp_get_archives in my sidebar but have never liked how it displays all of the posts in full-frontal format."

    What is meant by "full-frontal?" I don't recognize it as a 'technical' term...

    "...it seem like WP is moving away from the possibility of a dynamic index."

    Again, what?

    "Am I wrong?"

    I'm not even sure what your point is.

    The title of this topic says you want an "Archives in sidebar to link to index of posts," but I'm not sure what you mean by this. So instead of trying to figure out the direction WordPress is moving, describe what you want to accomplish (i.e. what is the result you're going for).

  3. Evita
    Member
    Posted 7 years ago #

    "I use the wp_get_archives in my sidebar but have never liked how it displays all of the posts in full-frontal format. I love the index of archived posts."

    I guess you would like tho change the look of the archive page. In that case, you have to change the archive.php in your theme folder, maybe to:

    <?php while (have_posts()) : the_post(); ?>
    <ul>
    <li><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a> <?php the_time('l, F jS, Y') ?></li>
    </ul>
    <?php endwhile; else: ?>
    <?php endif; ?>

    or something like that.

Topic Closed

This topic has been closed to new replies.

About this Topic