WordPress.org

Forums

Creating a Timeline Visualization of Posts and Pages (4 posts)

  1. isaachorton
    Member
    Posted 6 years ago #

    Im currently working on a theme for public release and I am wondering how to nest posts into a 3 level hierarchy based on date, starting with year. For example:

      2008

    • May
    • What is a post title
    • Post title 2
    • Another post title here
    • January
    • This is a post title
    • Post title two
    • Another post title
      2007

    • December
    • What is a post title
    • Post title 2
    • Another post title here
    • September
    • This is a post title
    • Post title two
    • Another post title
    • March
    • This is a post title
    • Post title two
    • Another post title

    I can get the individual posts, its the wrapper with correctly organized month and year that matter to me. Anybody know how to set up the conditionals in my theme?

    Thanks!

  2. whooami
    Member
    Posted 6 years ago #

    this has been done with at least one plugin .. no need to reinvent the wheel.

    http://www.geekwithlaptop.com/projects/clean-archives/

  3. isaachorton
    Member
    Posted 6 years ago #

    ok the html did not come through for the nesting I am trying to illustrate. Here is an example trying to show it in plain text.

    - Year
    | - Month
    - - | - Listings
    - - | - Listings
    - - | - Listings
    - - Month
    - - | - Listings
    - - | - Listings
    - Year
    | - Month
    - - | - Listings
    - - | - Listings
    - - | - Listings
    - - Month
    - - | - Listings
    - - | - Listings

  4. whooami
    Member
    Posted 6 years ago #

    that plugin .....Ive done EXACTLY that using that plugin.

Topic Closed

This topic has been closed to new replies.

About this Topic