Title: Current Screen &#8211; Post Status
Last modified: March 1, 2017

---

# Current Screen – Post Status

 *  Resolved [Sany](https://wordpress.org/support/users/sannny/)
 * (@sannny)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/current-screen-post-status/)
 * Hello,
 * how can I access to the screen id of a post type with a specific post status?
   
   E.g. [http://myblog/wp-admin/edit.php?post_status=archiv&post_type=product](http://myblog/wp-admin/edit.php?post_status=archiv&post_type=product)
 * I tried with the parameters of [WP Screen](https://codex.wordpress.org/Class_Reference/WP_Screen)
   but I can’t see something about the post status.
 * Best regards
    saNNNy
    -  This topic was modified 9 years, 2 months ago by [Sany](https://wordpress.org/support/users/sannny/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/current-screen-post-status/#post-8863087)
 * Hi saNNNy,
 * The screen ID is the same for all posts of a particular type, there is no finer
   designation by status or anything else. However, you can get the post ID from
   the requested URL in $_SERVER. With the ID, you can find out anything you need
   regarding the current post.
 * If that’s not helpful, maybe if you describe specifically what you are trying
   to do someone can offer a alternative approach.
 *  Thread Starter [Sany](https://wordpress.org/support/users/sannny/)
 * (@sannny)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/current-screen-post-status/#post-8864316)
 * Hi bcworkz,
 * great, thanks!
    I didn’t thought about that but this is easy. I just can do something
   like:
 *     ```
       if($_GET['post_status'] != 'archiv') {
        // do something
       }
       ```
   
 * Best regards
    saNNNy

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Current Screen – Post Status’ is closed to new replies.

## Tags

 * [Post-Status](https://wordpress.org/support/topic-tag/post-status/)
 * [screen](https://wordpress.org/support/topic-tag/screen/)

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 2 replies
 * 2 participants
 * Last reply from: [Sany](https://wordpress.org/support/users/sannny/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/current-screen-post-status/#post-8864316)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
