WP AI Writer Guides

How to find WordPress categories and images IDs

Here’s a quick reference to help you locate category IDs and image IDs within a standard WordPress installation, to use in WP AI Writer.

Finding Category IDs

  1. Log In & Navigate:
    • Log in to your WordPress dashboard.
    • Go to Posts → Categories.
  2. Hover or Click:
    • Hover over (or click Edit) on the category whose ID you need.
  3. Check the URL:
    • Look in your browser’s bottom left corner on hover, or address bar in the category editor for something like:
      /wp-admin/term.php?taxonomy=category&tag_ID=5&post_type=post
    • The number after tag_ID= (in this example, 5) is the category ID.
Finding Category IDs in WordPress
Finding Category IDs in WordPress

Finding Image (Media) IDs

  1. Open Media Library:
    • Go to Media → Library.
  2. Switch to List View (Optional):
    • If you’re in grid view, switch to List View for easy hovering.
      (You can do this by clicking the list icon near the top-left corner within the Media Library.)
  3. Hover or Click on an Image:
    • Hover over the image or select Edit.
  4. Check the URL:
    • Look in your browser’s bottom left corner on hover, or address bar in the image file:
      /wp-admin/post.php?post=123&action=edit
    • The number after post= (in this example, 123) is the image (attachment) ID.
Finding Image (Media) IDs in WordPress
Finding Image (Media) IDs in WordPress
To top