1. Home
  2. Knowledge Base
  3. WordPress
  4. Find out WordPress post, page & page ID

Find out WordPress post, page & page ID

With some WordPress plugins or widgets, you may sometimes have to enter a WordPress page ID, page ID or post ID. But what are these IDs and how can I find out a WordPress page ID, for example? We clarify these questions in this article.

What is the WordPress page / post / page ID?

IDs are almost always used to (uniquely) identify something and WordPress does exactly the same with these IDs. Almost every content element in WordPress is assigned such an ID, which is then saved in the database. Each content element therefore has its own ID.

What WordPress IDs are there?

As already mentioned, almost every WordPress content type has an ID, but they all work in the same way. The following content types have IDs, for example:

  • Pages (also called “page id”)
  • Contributions (also called “post id”)
  • Comments
  • Categories (also called “tag id”)
  • Keywords / tags (also called “tag id”)
  • Users / authors (also called “user id”)

Of course there are a few more, but these are the most commonly used. The IDs of WordPress pages are often called “page id” and the IDs of all other content types are often simply called “post id”. Technically, there is no difference between these designations. All IDs can be found in the same way.

Find out WordPress page / page ID

  1. Click on “Pages” in your WordPress admin area on the left.
  2. Now search the list of pages for the page from which you want to find the ID.
  3. Move your mouse over the page name and you should now see a URL at the bottom left of your browser. The URL now contains the WordPress page ID after the parameter “post=XXX”.

Option 2: Find out page ID in edit mode

  1. First go to the edit mode of the page from which you want to find out the page ID.
  2. You will now see the current URL in the address bar of your browser. The URL now contains the WordPress page ID after the parameter “post=XXX”.

Find out WordPress post ID (post id)

The post ID is basically the same as the page ID. So simply follow the steps of one of the two options mentioned above (the page ID) to find out the WordPress post id.

Find out WordPress category and keyword ID (tag id)

To find out the ID of a category or a keyword, you can proceed in exactly the same way as for finding out the page ID. The only difference is that you don’t have to look for “post=XXX” in the URL, but for “tag_ID=XXX”.

To do this, go to the edit mode of the category or keyword and search for “tag_ID=XXX” in the URL.

Find out WordPress user ID (user id)

To find out the ID of a user, you can proceed in exactly the same way as for finding out the page ID. The only difference is that you don’t have to look for “post=XXX” in the URL, but for “user_id=XXX”.

To do this, go to the user’s edit mode and search for “user_id=XXX” in the URL.

Dieser Beitrag ist auch verfügbar auf: Deutsch (German)

Was this article helpful?

Related Articles

Submit a Comment

Your email address will not be published. Required fields are marked *

Skip to content