• dfilchak

    (@dfilchak)


    Hi all,

    This is probably simple but I am just not seeing it. I want to move all of my current posts and comments to an archive so I can start fresh. How does one go about doing this? It would also be helpful if I could turn access to these archives on and off. I have exported everything but would like to leave content on the site.

    Thanks for any help.

    Cheers

    Dave

Viewing 7 replies - 1 through 7 (of 7 total)
  • MichaelH

    (@michaelh)

    You don’t move things to an archive. Don’t be confused by what an archive is–it is just a generated display of your posts at that moment. You don’t do anything to create the archive, that’s an automatic thing WordPress does for you. Usually, archives are date, category, tag, or author, based.

    Access to archives is typically presented via links in a sidebar under an Archive (date based), Category, or Tag Cloud, headings. Widgets, or Template Tags such as wp_get_archives(), wp_list_categories(), wp_tag_cloud(), and wp_list_authors(), are the constructs used to present links to users to visit your various archives. The process of placing code in your Theme’s Templates is explained in Stepping Into Templates and Stepping Into Template Tags.

    Once a user clicks on a Category link in the sidebar, the display of those posts can be controlled by a Category Template. Other Templates, such as Author Templates, and Tag Templates, are available if you set them up. These Templates can be coded via Template Tags such as the_title(), the_content(), or the_excerpt(), to display just a post title, the full content of the post, or just an excerpt of the post.

    Also, it is important to understand the Template Hierarchy, as that is how WordPress determines what Template to use to render the posts for reading by your readers.

    masterteacher

    (@masterteacher)

    Michael, I haven’t been working on my blog for some time. If I write 10 posts or so on there today, will the posts that are there now from September and October 2009 automatically archive to the respective months??

    Thank you.

    Mozell

    MichaelH

    (@michaelh)

    Yes, but again if your write a post today, WordPress will automatically give you a link to February 2010 posts if you use something like the Archives widget.

    masterteacher

    (@masterteacher)

    Ok, because I just added a post to test it out, and what I see at the site is all the posts from September and October 2009 in addition to today’s post.

    masterteacher

    (@masterteacher)

    I’m sorry, Michael. I just realized that I am working on a different version, 2.2.3.

    masterteacher

    (@masterteacher)

    So, basically, I just need to know how to clear the page of those posts from last year.

    Thank you.

    MichaelH

    (@michaelh)

    You don’t clear the page, but you could set the Number of Posts to display–that’s probably under Options->Reading for you.

    Otherwise upgrade. Then use this plugin:
    https://www.ads-software.com/extend/plugins/custom-post-limits/

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Moving all current posts and comments to an archive’ is closed to new replies.