WordPress.org

Ready to get started?Download WordPress

Forums

How would I create just a basic list of all posts? (3 posts)

  1. Smoolean
    Member
    Posted 8 years ago #

    Sometimes WP is too powerful for me! I want to setup an archive page, and I don't want to be able to see them organized by month or category. I just want a plain jane list of all posts. Simple as can be.

    Maybe someone here has done this before and could share their code / experience with me. I'm quite lost and would appreciate any help / links / anything.

    I currently have my WP setup so it only shows at most one post at a time (my ghetto way of only having one post show up on the homepage). Would this make a plain jane list of all posts impossible?

    Thanks,
    Brad

  2. Smoolean
    Member
    Posted 8 years ago #

    Ok I Googled "<?php wp_get_archives" and basically won the lottery when I found the following on the 2nd page of results...

    <?php wp_get_archives('type=postbypost&limit=500'); ?>

    That's perfect. Well. . . ideally I'd like to be able to display the date it was posted next to it. Any ideas there?

  3. nearlythere
    Member
    Posted 8 years ago #

    next you'll want to get familiar with Template Tags, you kindest friends.

    http://codex.wordpress.org/Template_Tags/the_time

    there are some different examples of getting the post time displayed. and you can place them 'next to' your title, depending on the code you're using. (is it a <li> or <h3> header tag?)

    post your code if you have trouble.

Topic Closed

This topic has been closed to new replies.

About this Topic