Custom Head Code per Item Joomla Plugin
This plugin lets you inject HTML into the page
on a per-item basis: Article, Menu Item, Category, and Tag. Editors paste head-safe tags directly in the item form; the plugin outputs them on the matching frontβend page.Key Features:
Per-item head code
Add meta, link, script, style, and JSON-LD directly in a Custom.
Merge policy: Only first wins
Use the first non-empty source based on your order.
Merge policy: Append all
Concatenate all available sources in order.
Merge policy: Override
Same as Append, but strictly follows your custom CSV order.
Custom priority (CSV)
Set the exact order to evaluate/append: article, menu, category, tags.
Per-item toggle
Enable on this item (switch) to turn injection on/off without deleting content.
Auto CSP nonce
Automatically adds nonce="β¦"
to inline <script>
(incl. JSON-LD) when your site provides a CSP nonce.
Minify output
Trims whitespace before output for cleaner HTML.
Apply on
Choose where the plugin runs β Site / Administrator / Both.
Context-aware
An article page can combine Article + active Menu + its Category + its Tag(s), depending on your policy.
Compatibility
Joomla 4 & 5; no template overrides required.
Multilingual & complex menus
Data lives with the item, so language trees donβt clash.
No lock-in
Uninstalling stops rendering but keeps your data in item fields.
Editor-friendly
No coding in templates; editors work where they already edit content.
Frequently Asked Questions
1) Where do I find the field?
2) What tags are allowed?
<meta>
, <link>
, <script>
, <style>
, plus JSON-LD <script type="application/ld+json">...</script>
. Avoid body tags like <div>
.3) How do I prevent duplicate canonicals/OG tags?
4) What's the difference between Append all and Override?
5) How does Auto CSP nonce work?
nonce="..."
into any inline <script>
that lacks one (including JSON-LD), preventing CSP blocks.6) Can I disable it for a specific item without losing the code?
7) Whatβs the default source order?
8) What if an article has multiple tags with code?
9) Can it run in the backend?
10) Does caching affect it?
11) How does it behave in multilingual sites?
12) Will I lose data if I uninstall the plugin?
<head>
.