How to Find Book & Taxonomy IDs
Many shortcodes in this plugin require specific IDs to filter content (e.g., displaying only specific books, authors, or categories). Since WordPress hides these IDs by default, here is a quick guide on how to find them.
1. How to Find a Book ID
If you want to display specific books using book_ids="12, 15", follow these steps:
- Go to your Dashboard and navigate to Books > All Books.
- Hover your mouse cursor over the Title of the book you need.
- Look at the bottom-left corner of your browser window. You will see a long URL appearing.
- Look for the part that says
post=NUMBER. - That number is your Book ID.
Example: If the URL shows
.../post.php?post=158&action=edit, then the Book ID is 158.
2. How to Find Taxonomy IDs
You often need IDs for Categories, Authors, or Series to use attributes like categories_include="5" or authors_include="10".
For Book Categories:
- Navigate to Books > Book Categories.
- Hover your mouse over the name of a specific category.
- Look at the URL at the bottom-left of your browser.
- Find the part that says
tag_ID=NUMBER. - That number is the Category ID.
For Book Authors & Series:
The process is exactly the same:
- Navigate to Books > Book Authors (or Book Series).
- Hover over the Author or Series name.
- Look for
tag_ID=NUMBERin the URL at the bottom-left. - Use that number in your shortcode.
Visual Tip:
...taxonomy=book-category&tag_ID=25...→ ID is 25...taxonomy=book-author&tag_ID=42...→ ID is 42
💡 Pro Tip: Reveal IDs Dashboard-wide
If you find this method tedious, you can install a free plugin like “Reveal IDs” or “Show IDs” from the WordPress repository. These plugins add a dedicated “ID” column to your admin tables, making the numbers visible at a glance without hovering.
Was this article helpful?