=== Template Handover Notes ===
Contributors: andrewssanya
Tags: site editor, templates, template parts, notes, handover
Requires at least: 6.9
Tested up to: 7.1
Requires PHP: 8.0
Stable tag: 0.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Private handover notes for block-theme templates and template parts, with a simple Open / Resolved workflow.

== Description ==

Changed the header? Need the next maintainer to test the mobile menu before launch? Template Handover Notes keeps that context next to the template it is about, instead of in email, chat or memory.

* **Notes in the Site Editor.** Open a template or template part, open the Template Handover Notes sidebar, and add a short note.
* **Open / Resolved.** Mark a note resolved when the follow-up is done; the plugin records who resolved it and when. Reopen it if needed.
* **One list for the whole site.** Tools → Template Notes lists every note across templates and template parts, with status and target filters, search and pagination.
* **Private.** Notes are only visible to users who can edit theme options (the same users who can edit templates). Nothing is shown on the public site.
* **Never touches your templates.** Notes are stored separately. The plugin does not change template or template-part content.
* **Notes survive theme changes.** If a template disappears or you switch themes, its notes are kept and marked as unavailable.

This is a template handover utility, not a project-management tool: there are no assignments, due dates, notifications or comment threads.

= Requirements =

* A block theme (the Site Editor must be available to add notes).
* WordPress 6.9 or later, PHP 8.0 or later.

= Privacy =

The plugin stores notes in your WordPress database only. It makes no external requests and sends no data anywhere. Notes record the user who created and resolved them (by user ID).

== Frequently Asked Questions ==

= Who can see notes? =

Users with the `edit_theme_options` capability (administrators by default). Other users, and visitors, cannot read notes through the admin, the REST API or the front end.

= Can I delete a note? =

Not in this version. Notes are a handover history; resolve a note instead.

= Are notes included in Tools → Export? =

No. Notes are private handover data, and WordPress lets users export content with a different permission than the one that guards notes, so notes are left out of export files.

= What happens when I uninstall the plugin? =

Your notes are kept in the database. Uninstalling does not delete them.

= Does it work with classic themes? =

The Site Editor sidebar needs a block theme. With a classic theme, Tools → Template Notes still lists existing notes.

== Screenshots ==

1. The Template Handover Notes sidebar in the Site Editor.
2. Tools → Template Notes, listing notes across templates and template parts.

== Changelog ==

= 0.1.0 =
* Initial release.
