โ† All releases

wp-content/plugins/muntin/muntin.php

Muntin

See which template part is rendering, and which one an editor is about to break.

== Description ==

Block themes made template parts editable and gave nobody a way to see where one is used. Muntin lists every part, every template that includes it, and the number of pages that resolve to each โ€” so deleting the footer is a decision rather than a discovery.

On the front end, an admin bar toggle outlines each part with its name, which turns “where does that come from” into a glance.

It warns before a destructive edit in the site editor, naming the templates affected. The warning is dismissable and it remembers, because a warning you cannot silence is a warning people learn to ignore.

== Screenshots ==

Numbered the way they ship in /assets/. Click any one to see it full width.

== Installation ==

  • Install and activate the plugin.
  • Open Appearance โ†’ Template Parts for the usage map.
  • Toggle outlines from the admin bar on the front end.

Works with any block theme. Classic themes get the front-end outlines for get_template_part calls only.

== Frequently asked questions ==

Does it change anything?

It renders an admin screen and an optional outline. It modifies no templates.

Performance?

The usage map is cached and rebuilt on template save. Outlines are admin-only and never render for visitors.

== Changelog ==

= 1.2.0 =

  • Front-end outlines with part names, admin-only.
  • Deletion warnings name the affected templates.

= 1.0.0 =

  • First release.