Title: LH Archived Post Status
Author: shawfactor
Published: <strong>February 17, 2015</strong>
Last modified: October 16, 2024

---

Search plugins

![](https://ps.w.org/lh-archived-post-status/assets/banner-772x250.jpg?rev=1120191)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/lh-archived-post-status/assets/icon-256x256.png?rev=2763873)

# LH Archived Post Status

 By [shawfactor](https://profiles.wordpress.org/shawfactor/)

[Download](https://downloads.wordpress.org/plugin/lh-archived-post-status.zip)

 * [Details](https://wordpress.org/plugins/lh-archived-post-status/#description)
 * [Reviews](https://wordpress.org/plugins/lh-archived-post-status/#reviews)
 *  [Installation](https://wordpress.org/plugins/lh-archived-post-status/#installation)
 * [Development](https://wordpress.org/plugins/lh-archived-post-status/#developers)

 [Support](https://wordpress.org/support/plugin/lh-archived-post-status/)

## Description

This plugin allows you to archive your WordPress content similar to the way you 
archive your e-mail. Unlike other archiving solutions though this actually does 
it all and does it properly

 * Makes a new post status available in the drop down called Archived
 * Hides or removes your content without having to trash the content
 * Content can either be hidden entirely from public view or simply from the main
   loop and feed and pages, with other solutions you can only hide it from public
   view.
 * Allows you to add a label to the title of those posts/pages etc that are archived
 * Allows you to add a message to the top of the post/page etc that the content 
   is no longer up too date
 * Allows you to set an archiving date after which content is automatically changed
   to having an archived status
 * Compatible with posts, pages and custom post types

This plugin is ideal for sites where certain kinds of content is not meant to be
evergreen

**Like this plugin? Please consider [leaving a 5-star review](https://wordpress.org/support/view/plugin-reviews/lh-archived-post-status/).**

**Love this plugin or want to help the LocalHero Project? Please consider [making a donation](https://lhero.org/portfolio/lh-archived-post-status/).**

## Installation

 1. Upload the entire `lh-archived-post-status` folder to the `/wp-content/plugins/`
    directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Navigate to Settings->Reading and set the visibility and archiving message

## FAQ

### Isn’t this the same as using the Draft or Private statuses?

Actually, no, they are not the same thing.

The Draft status is a “pre-published” status that is reserved for content that is
still being worked on. You can still make changes to content marked as Draft, and
you can preview your changes.

The Private status is a special kind of published status. It means the content is
only available to certain logged in users.

The Archived post status, on the other hand, is meant to be a “post-published” status.
Once a post has been set to Archived the content is either hidden entirely from 
non logged in viewers or removed from the front page and feed (but still available
on singular pages). This behaviour is controlled in the settings screen.

### Doesn’t this do the same thing as the other archiving plugin in the repository?

Actually it does more! Unlike the other plugin content archived with this plugin
can still be available to non logged in visitors (depends on plugin settings) and
just removed from the front page and xml feeds (with a custom message can also be
added to flag to visitors that the content is no longer up too date). Alternately
it can be hidden entirely (to non logged in viewers).

### Can’t I just trash old content I don’t want anymore?

Yes, there is nothing wrong with trashing old content. However it will be hidden
from non logged in viewers.

However, WordPress automatically purges trashed posts every 7 days (by default),
so it will be gone.

This is what makes the Archived post status handy. You can unpublish content without
having to delete it forever.

### How can I view a listing of my archived content on its own archive pagelisting all archived posts, pages etc?

This not not part of my plugin per se but it is easily done.

The easiest way would be to install a plugin that allows you to query by post_status
eg: https://wordpress.org/plugins/display-posts-shortcode/

and input the shortcode with the post_status of archive:, eg [display-posts post_status
=”archive”]

If you want to customise the display that shortcode has plenty of arguments. There
are also other shortcodes tha can do this (just search the repository).

### My archived posts have disappeared when I deactivate the plugin, why is this?

The reason is that wordpress no longer recognises them, but they are still in the
database. If you no longer need the plugin, just reactivate it, switch all the archived
posts/pages/cpts to a native post status and THEN deactivate the plugin.

### What if something does not work?

LH Archived Post Status, and all [https://lhero.org](https://wordpress.org/plugins/lh-archived-post-status/LocalHero?output_format=md)
plugins are made to WordPress standards. Therefore they should work with all well
coded plugins and themes. However not all plugins and themes are well coded (and
this includes many popular ones).

If something does not work properly, firstly deactivate ALL other plugins and switch
to one of the themes that come with core, e.g. twentyfifeen, twentysixteen etc.

If the problem persists please leave a post in the support forum: [https://wordpress.org/support/plugin/lh-archived-post-status/](https://wordpress.org/support/plugin/lh-archived-post-status/).
I look there regularly and resolve most queries.

### What if I need a feature that is not in the plugin?

Please contact me for custom work and enhancements here: [https://shawfactor.com/contact/](https://shawfactor.com/contact/)

### What if this plugin does not work with XXX plugin?

The issue is likely is likely with the other plugin, all my lugins follw standards
but may do not. Feel free to add a support issue and if I identify a bug I will 
fix it. But if its not a bug and you need my plugin to be compatible with another
then contact outside teh forum for an enahncement.

### Is there a template function to including archiving functionality appropriately on the front end?

Yes the plugin defines the function archive_post_link which acts almost identically
to the wordpress native function edit_post_link. That is clicking it will archive
the relevant post is the current user has the edit_post capability. You can add 
it to you theme.

## Reviews

![](https://secure.gravatar.com/avatar/54453df0f8783a35b0d99da6f20ca0905a4df609c4b0e49a5a7bbcdb2d19c716?
s=60&d=retro&r=g)

### 󠀁[Nice job !](https://wordpress.org/support/topic/nice-job-319/)󠁿

 [xavierseiglan](https://profiles.wordpress.org/xavierseiglan/) August 17, 2025

Do exactly what I want this plugin to do : archiving posts but the posts are still
accessible, and the links still active.

![](https://secure.gravatar.com/avatar/cd14a5cbd1f4e8a0dd2c8d11bb86434410e4a94e0400d291e5a13d8fdeb48a64?
s=60&d=retro&r=g)

### 󠀁[Does not work with version 6.8 with OceanWP and Elementor](https://wordpress.org/support/topic/does-not-work-with-version-6-8-with-oceanwp-and-elementor/)󠁿

 [mctvaz](https://profiles.wordpress.org/mctvaz/) April 19, 2025 1 reply

It’s unfortuate. This plugin would have been perfect to address a specific need 
to archive posts, but it doesn’t integrate with the other “latests posts” features
I’m already using. I was hoping this would address the limitations in those “features”
as well. 🙁

![](https://secure.gravatar.com/avatar/6c737af0a0fa973b04f05fe0e809db895b7cfedae32f552c756a19e6cac26947?
s=60&d=retro&r=g)

### 󠀁[Half-baked](https://wordpress.org/support/topic/half-baked-7/)󠁿

 [Bill Weye](https://profiles.wordpress.org/billhector/) October 15, 2024 2 replies

Not ready for prime time. There are some minor issues, but the big one is that it’s
very finicky about what theme it works with. I used one of the top 10% themes on
wordpress.org, and the plugin still had archived posts on the front page. Wish it
worked.

![](https://secure.gravatar.com/avatar/9314e93143ec5c73aa1e6a7a455377e5e7c9f98db9596d6f4505b5a192f930aa?
s=60&d=retro&r=g)

### 󠀁[I can give it a recommendation](https://wordpress.org/support/topic/i-can-give-it-a-recommendation/)󠁿

 [luksz](https://profiles.wordpress.org/luksz/) May 29, 2024

I can give it a recommendation

![](https://secure.gravatar.com/avatar/b713f7833fb892341ff1306ec3064069f1347c5342e73c73afca2927bc80df87?
s=60&d=retro&r=g)

### 󠀁[Excellent and highly needed plugin](https://wordpress.org/support/topic/excellent-and-highly-needed-plugin/)󠁿

 [wiido](https://profiles.wordpress.org/wiido/) April 23, 2024

I rarely leave any reviews anywhere, but felt obligated to actually register here
to leave my review for this plugin – especially since there’s, in my experience,
unnecessary negative reviews. I haven’t had single issue with this plugin and I’ve
been using it already years. It gives highly needed option to remove the posts from
the main loops (from category listings, posts feeds etc) but still keep the pages
indexed. From SEO perspective this can sometimes be essential feature since your
old posts might not be relevant anymore and you don’t want to push your “juice” (
nor the actual users) to these articles, but deleting bunch of content might affect
your SEO efforts negatively. Some might argue that in these cases you should just
delete the posts which are not relevant anymore, but it’s not always that simple
and you never know what Google might consider as relevant or helfpul. Without this
plugin there’s zero options to handle these cases so much thanks to the author! 
P.S. One additional feature request would be to have an option to hide these from
admin side as well

![](https://secure.gravatar.com/avatar/f17bae1b9632bbb53889d18032cf0fa950478e854f38250f22227259e286a430?
s=60&d=retro&r=g)

### 󠀁[Does not work](https://wordpress.org/support/topic/does-not-work-1529/)󠁿

 [Sharonq](https://profiles.wordpress.org/sharonq/) October 2, 2023 4 replies

Newly installed Plugin Does not work and no updates in 11m 🙁

 [ Read all 18 reviews ](https://wordpress.org/support/plugin/lh-archived-post-status/reviews/)

## Contributors & Developers

“LH Archived Post Status” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ shawfactor ](https://profiles.wordpress.org/shawfactor/)

“LH Archived Post Status” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/lh-archived-post-status/contributors)
for their contributions.

[Translate “LH Archived Post Status” into your language.](https://translate.wordpress.org/projects/wp-plugins/lh-archived-post-status)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/lh-archived-post-status/),
check out the [SVN repository](https://plugins.svn.wordpress.org/lh-archived-post-status/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/lh-archived-post-status/)
by [RSS](https://plugins.trac.wordpress.org/log/lh-archived-post-status/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

**0.01 February 12, 2015**
 * Initial release

**0.02 February 17, 2015**
 * Added public/private option

**1.00 March 26, 2015**
 * Added icons

**1.1 April 24, 2015**
 * Added nonces

**1.2 June 15, 2015**
 * Added settings

**1.30 July 17, 2015**
 * Code improvements

**1.31 August 17, 2015**
 * Minor code improvements

**1.40 March 10, 2016**
 * Simpler codebase

**2.00 October 20, 2016**
 * Handle post expiry

**2.10 November 05, 2016**
 * Handle bulk actions

**2.11 November 11, 2016**
 * Wp editor for archive message

**2.12 November 21, 2016**
 * Added check for empty option

**2.13 December 27, 2016**
 * Added fix for php warnings

**2.14 January 04, 2017**
 * Better documentation

**2.15 January 27, 2017**
 * Sticky post bug fix

**2.16 July 25, 2017**
 * Don’t use on attachments

**2.17 October 04, 2017**
 * Various improvements

**2.18 October 08, 2017**
 * Bug Fix

**2.19 October 10, 2017**
 * Changed uninstall method to static

**2.20 November 27, 2017**
 * Added message filter and disquss fix

**2.30 April 25, 2018**
 * WP status library

**3.00 May 01, 2022**
 * Repository release and code cleanup, any breaking changes
let me know in the furms and I will address immediately

**3.01 May 14, 2022**
 * Minor change for Advanced Ads compatibility

**3.02 May 18, 2022**
 * Take 2 at working with plugins that do funky things to 
metaboxes

**3.03 May 31, 2022**
 * Better translations support and updated library

**3.04 July 30, 2022**
 * Moved library to latest

**3.05 August 01, 2022**
 * Removed useless code

**3.06 November 06, 2022**
 * Removed useless codeBasic wp super cache functionality

**3.10 October 10, 2023**
 * bumped to latest wp-statuses library, fixed archive
link, and defined a template tag for use in the front end

**3.11 Sepetmber 10, 2024**
 * bumped to latest wp-statuses library

## Meta

 *  Version **3.11**
 *  Last updated **2 years ago**
 *  Active installations **3,000+**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **6.6.5**
 *  Languages
 * [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/lh-archived-post-status/)
   and [English (US)](https://wordpress.org/plugins/lh-archived-post-status/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/lh-archived-post-status)
 * Tags
 * [admin](https://wordpress.org/plugins/tags/admin/)[pages](https://wordpress.org/plugins/tags/pages/)
   [posts](https://wordpress.org/plugins/tags/posts/)[status](https://wordpress.org/plugins/tags/status/)
   [workflow](https://wordpress.org/plugins/tags/workflow/)
 *  [Advanced View](https://wordpress.org/plugins/lh-archived-post-status/advanced/)

## Ratings

 4.1 out of 5 stars.

 *  [  12 5-star reviews     ](https://wordpress.org/support/plugin/lh-archived-post-status/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/lh-archived-post-status/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/lh-archived-post-status/reviews/?filter=3)
 *  [  3 2-star reviews     ](https://wordpress.org/support/plugin/lh-archived-post-status/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/lh-archived-post-status/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/lh-archived-post-status/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/lh-archived-post-status/reviews/)

## Contributors

 *   [ shawfactor ](https://profiles.wordpress.org/shawfactor/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/lh-archived-post-status/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://lhero.org/portfolio/lh-archived-post-status/)