S
Head & Footer Code Content

Set category specific custom code for head, body and/or

Set category specific custom code for head, body and/or footer of the page

What it does

Set category specific custom code for head, body and/or footer of the page It is one of the abilities the Head & Footer Code plugin exposes, so an AI agent connected to your site can run it for you.

Input schema

FieldTypeRequiredDescription
input string Required What you want this ability to do, in plain language.

Output schema

FieldTypeDescription
result string The result produced by the ability.

Permissions

The agent's WordPress user needs these capabilities. Grant only what's listed here, never a full admin account.

πŸ”’ edit_pages

How an agent calls it

Agents call this ability by name and pass the inputs it needs. A call looks roughly like this:

head-footer-code.set-category-specific-custom-code-for-he
{
  "ability": "head-footer-code.set-category-specific-custom-code-for-he",
  "args": { "input": ... }
}

The agent runs the ability, then hands the result back for you to review before anything is published.

Keep exploring

More Head & Footer Code abilities

All Head & Footer Code abilities β†’
S
Set site-wide custom content for:
Head & Footer Code
Set site-wide custom content for:
S
Set homepage specific custom code for head, body and/or
Head & Footer Code
set homepage specific custom code for head, body and/or footer
S
Set article specific custom code for:
Head & Footer Code
Set article specific custom code for: