I need to "hide" some old posts from the I decided to go with a custom post status to keep them hidden but available at a later time (keeps the admin cleaner..) BUT :)
I would like to have the posts with this status searchable but not available with the other filter-links like this ("Archived (2)") should not be in this list...
All (97) | Published (95) | Drafts (12) | Archived (2) |Private (2) | Trash (1)|
I register the post status with these parameters...
'public' => false, 'internal' =>true, 'exclude_from_search' => false, 'show_in_admin_all_list' => false, 'show_in_admin_status_list' => true,
But with these settings, the menu element is visible, and if I do
'show_in_admin_status_list' => false,
The posts with "archive" status is not searchable.
I'm using a modified version from this answer (see "PostStatusExtender" ) (changed name and post type)
Any ideas how to solve this one?