=== AddonLogic Template Hierarchy Display ===
Contributors: snehalpancholi
Tags: developer tools, template, theme, debugging, admin bar
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.1
Stable tag: 1.0.0
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Shows which template file WordPress is using to render each page — displayed in the admin bar with the full hierarchy for developers.

== Description ==

Template Hierarchy Display adds a developer-focused node to the WordPress admin bar that shows exactly which PHP template file is currently rendering the page. It also lists the full template hierarchy so you can see which files were checked and which are available in your theme.

**Features:**

* Displays active template name and source (child/parent theme) in the admin bar
* Shows full absolute file path on hover
* Lists complete template hierarchy with status indicators
* Identifies child theme overrides
* Settings page to control visibility and detail level
* Zero impact on non-admin visitors

== Installation ==

1. Upload the `template-hierarchy-display` folder to `/wp-content/plugins/`
2. Activate the plugin through the **Plugins** screen
3. Visit any page on the frontend — the active template appears in the admin bar
4. Configure via **Settings → Template Hierarchy**

== Frequently Asked Questions ==

= Does this affect site visitors? =
No. The admin bar node only appears for logged-in administrators.

= Does it work with child themes? =
Yes — it detects whether the active template is from the child or parent theme and notes when both have the same file.

== Changelog ==

= 1.0.0 =
* Initial release

== Upgrade Notice ==

= 1.0.0 =
Initial release.
