WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Display a complete archive list (6 posts)

  1. sendusout
    Member
    Posted 7 years ago #

    I would like to display a complete archive of all my posts.

    I can easily display an archive of posts by category, month, day, or year but this is not what I am looking for.

    This is probably something really simple I am overlooking but this is my first WP site and I am still learning it's syntax.

    My blog is at http://www.sendusout.com

  2. moshu
    Member
    Posted 7 years ago #

    There is no syntax for it because it's a nonsense... there are blogs with several thousands posts, so it is simply not practical to have something like that.

  3. Chris_K
    Member
    Posted 7 years ago #

    I can easily display an archive of posts by category, month, day, or year but this is not what I am looking for.

    What are you looking for then? Could you be a bit more descriptive? Have you looked at the many and assorted archive plugins?

  4. sendusout
    Member
    Posted 7 years ago #

    I have made my theme with a custom home.php.

    What I am looking for is basically a way to allow my readers to access what would be the default index.php. This would showing the latest posts (number defined in my wp-admin reading options) with "previous" and "next" navigation buttons allowing browsing through the posts. This view would not be limited by category or specific dates.

    Simply accessing http://www.sendusout.com/index.php does not work as the presence of the home.php is overriding this file.

  5. sendusout
    Member
    Posted 7 years ago #

    My solution was found here. http://codex.wordpress.org/Pages#Page_Templates

    1. I copied my home.php to a new name (homepage.php) and inserted the code to define it as a template_page.
      <?php
      /*
      Template Name: Homepage
      */
      ?>
    2. I created a new page in the wp-admin called "Homepage" and chose my new template_page (Homepage) as its template. Apart from the title I left this page empty in the wp-admin as all the content came from the template.
    3. In the p-admin > options > reading I chose "front page displays: A static page and chose my new Homepage I just created
    4. Repeated this process by copying index.php and making a template called Posts out of it and assigning it to the static posts page in wp-admin > options > reading

    Everything is working great now.

  6. auschick
    Member
    Posted 6 years ago #

    thank you thank you thank you! this is just what i was looking for!!

Topic Closed

This topic has been closed to new replies.

About this Topic