Title: Getting Post ID
Last modified: August 19, 2016

---

# Getting Post ID

 *  [insaneelf](https://wordpress.org/support/users/insaneelf/)
 * (@insaneelf)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/getting-post-id/)
 * Hi,
 * Is there any way I can get a post’s ID when I have it’s title? For example, I
   have a plugin which has a function that will return the title of a popular post,
   but I want that post’s ID. Any ideas on how I could get the ID?
 * Thanks.

The topic ‘Getting Post ID’ is closed to new replies.

## Tags

 * [id](https://wordpress.org/support/topic-tag/id/)
 * [popular](https://wordpress.org/support/topic-tag/popular/)
 * [post](https://wordpress.org/support/topic-tag/post/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [insaneelf](https://wordpress.org/support/users/insaneelf/)
 * Last activity: [16 years, 4 months ago](https://wordpress.org/support/topic/getting-post-id/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
