=== Pantry Code ===
Contributors: pluginpantry
Tags: code
Requires at least: 6.4
Tested up to: 7.1
Stable tag: 1.0.0
Requires PHP: 8.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Scripts and snippets in the head, body and footer.

== Description ==

Three boxes: head, after the opening body tag, and footer. Paste analytics, verification tags or a snippet and it prints exactly where you put it. Each post and page can add its own. Only users allowed to publish unfiltered HTML can edit them.

Pantry Code is built to the Pantry Standard, a public document that fixes what every Plugin Pantry plugin may and may not do: https://thepluginpantry.com/standard

= What it does =

* Site-wide head, body-open and footer snippets, printed on wp_head, wp_body_open and wp_footer
* Per-post snippets for the same three positions from a meta box on every public post type
* Editing requires the unfiltered_html capability; the screen is read-only without it and when DISALLOW_UNFILTERED_HTML is set
* Option to skip logged-in users, useful for analytics
* Never prints on admin, login or REST responses
* Plain warning on the screen that the snippets run as written

= What it does not do =

* No PHP execution
* No conditional rules
* No snippet library
* No tag manager helpers

== Pro add-on ==

A separate Pantry Pro add-on is planned. It will extend this plugin with:

* Conditional rules by post type, URL, role and device
* Google Tag Manager and GA4 helpers
* Snippet library with enable switches

Nothing in this free plugin is locked or limited. It is complete for its scope.

== Installation ==

1. Upload the plugin folder to /wp-content/plugins/ or install it from the Plugins screen.
2. Activate it.
3. Open Plugin Pantry > Code and set it up.

== Frequently Asked Questions ==

= Does the free plugin expire or nag? =

No. It keeps working forever and never shows a sales notice.

= Does it send any data anywhere? =

Only what the feature itself requires, and that is listed on the plugin page.

= Where do I report a bug? =

https://thepluginpantry.com/support

== Changelog ==

= 1.0.0 (2026-09-12) =

* Site-wide head, body-open and footer snippets, printed on wp_head, wp_body_open and wp_footer.
* Per-post snippets for the same three positions from a meta box on every public post type.
* Editing requires the unfiltered_html capability; the screen is read-only without it and when DISALLOW_UNFILTERED_HTML is set.
* Option to skip logged-in users.
* Never prints on admin, login or REST responses.
* Plain warning on the settings screen that snippets run as written.
