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
- Log In & Navigate:
- Log in to your WordPress dashboard.
- Go to Posts → Categories.
- Hover or Click:
- Hover over (or click Edit) on the category whose ID you need.
- 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.
- Look in your browser’s bottom left corner on hover, or address bar in the category editor for something like:
Finding Image (Media) IDs
- Open Media Library:
- Go to Media → Library.
- 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.)
- If you’re in grid view, switch to List View for easy hovering.
- Hover or Click on an Image:
- Hover over the image or select Edit.
- 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.
- Look in your browser’s bottom left corner on hover, or address bar in the image file: