=== Ethan's Add to Head & Foot ===
Contributors: ethanjhulbert
Tags: head, footer, favicon, analytics, meta tags
Requires at least: 5.0
Requires PHP: 7.0
Stable tag: 1.1.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add raw HTML, JS, or meta tags to the head or footer of one page, or every page. A plain text box — nothing is validated or filtered.

== Description ==

Ethan's Add to Head & Foot adds a box to the post/page editor where you can type anything that should go into that page's `<head>` or footer, and a settings page where you can do the same for every page on the site. Nothing typed into either box is validated, sanitized, or filtered — it's printed exactly as written. That's deliberate: this plugin does one thing, and trusts you to know what you're pasting.

Typical uses: favicons, Open Graph and Twitter Card tags, search engine verification codes, analytics base snippets, custom CSS or JS for a single page, structured data.

The settings page includes a reference table of common global snippets (favicons, verification tags, sitewide Open Graph defaults, analytics base code, preconnect hints, structured data) with a one-click copy that leaves the value quotes empty and ready to fill in, plus notes on a few things that look like good global candidates but usually aren't (canonical tags, hreflang, per-page Open Graph titles).

Because this plugin stores and prints raw, unfiltered HTML on every page view, both the per-post box and the global settings page are limited to users with the `unfiltered_html` capability — on a typical single-site install that's Administrators and Editors, the same people who could already do this by hand-editing a template.

Inspired by the long-unmaintained "Per Page Add to Head" plugin by Erik von Asmuth, which is no longer available for download anywhere. This is an independent rewrite, not a fork — no original code is reused. If you're migrating from that plugin, your existing global head snippet and any per-post content are picked up automatically the first time each is needed.

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/`, or install the zip through Plugins → Add New → Upload Plugin.
2. Activate it.
3. Edit any post or page and look for the "Add to Head & Foot" box.
4. For sitewide snippets, go to Settings → Add to Head & Foot.

== Changelog ==

= 1.1.1 =
- Fixed the Title column collapsing to a sliver on the Posts and Pages list screens, a side effect of the previous release's Head & Foot column width fix.

= 1.1.0 =
- Added a direct "Settings" link to this plugin's row on the Installed Plugins list.
- Fixed the Head & Foot list-table column crowding out the Title column on the Posts and Pages screens.
- Reformatted the Organization JSON-LD reference snippet to one field per line.

= 1.0.0 =
- Initial release.
