A lightweight Chrome extension that helps developers quickly inspect the active WordPress theme, page type, and post information. It simplifies debugging and theme customization, making development faster and more efficient.
✔️ Detects the active theme folder
✔️ Identifies if the page is a single post or a template
✔️ Retrieves the template name if available
✔️ Shows the post name for single posts
- Download or clone this repository.
- Open Chrome and go to
chrome://extensions/
. - Enable Developer mode (top-right corner).
- Click Load unpacked and select the folder.
- The extension is now ready to use!
This extension scans the page for WordPress-specific information and displays:
- Theme Folder: Extracts the active theme name from the
<link>
tag. - Page Type: Determines if the page is a single post or a custom template.
- Template Name: If a template is used, its name is displayed.
- Post Name: Shows the post type when viewing a single post.
The core logic is inside content.js
, which listens for messages from the popup and extracts information from the page.
Theme Folder: twentytwentyfour
Page Type: Single
Post Name: hello-world
This project is open-source and available under the MIT License.
🚀 Contributions are welcome! If you have suggestions or improvements, feel free to submit a pull request.