How to Find post Id for any Post Type
There are multiple way to find post id’s
one of the easiest way to find post id for most of ‘post types’ is from edit page of that post type.
Hover the mouse on the ‘Edit’ link,
at the bottom we can notice post id.
other method, from url while editing the post
Find post id for posts
Find post id for pages
Find post id for Media file pages
form Dashboard -> Media
and then click on image and then click on ‘Edit more details’ link and can get the post id from the url.