WordPress.org

Ready to get started?Download WordPress

Forums

show all posts? (5 posts)

  1. etches
    Member
    Posted 9 years ago #

    Hi - I've searched for this throughout the forums & codex but haven't quite found what I'm looking for.

    I'm looking for a bit of code I could use to display all the posts in my blog (everything, all categories, all archives, everything ever posted, period!) chronologically on one page. Help...?

    Thanks!

  2. Kafkaesqui

    Posted 9 years ago #

    See this thread for one possible way:

    http://wordpress.org/support/topic/32260#post-187452

  3. etches
    Member
    Posted 9 years ago #

    Pretty much exactly what I was looking for, thanks Kafkaesqui! Is there any way to do that but still keep the rest of my blog format/CSS, etc.?

  4. Kafkaesqui

    Posted 9 years ago #

    Just create a file that duplicates your theme's structure, but incorporates the elements Matt points out (in the link above). Once wp-blog-header.php is included in the document you can make use of any WP features, including wp_header(), wp_sidebar(), regular template tags, etc.

  5. etches
    Member
    Posted 9 years ago #

    Thanks, Kafkaesqui, that makes sense. In the interim, I ended up just linking to all my categories (i only have four) using this structure:

    http://domain.com/index.php?cat=1,2,3,4

    Your solution is a lot more elegant, will give it a go!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.