Skip to content

Custom Author

Override the author on any post or page

You can display a different author on any post without changing the Ghost staff account. Just paste a few lines into the post's Code Injection field and fill in the values — no coding required.

How it works By mgldh 05 May 2026

Step 1 — Open the post settings

Open any post or page in the Ghost editor. Click the settings icon (⚙) in the top-right corner to open the post settings panel.

Step 2 — Find "Code Injection"

Scroll to the bottom of the settings panel and click Code Injection. You will see two text boxes: Post Header and Post Footer.

Step 3 — Paste your author snippet

Copy the snippet below into the Post Header box. Replace each value between the quotes with your author's actual information. You only need to include the lines you want to override — delete any lines you don't need.

Live author card preview

The card below is the real author component used by posts and pages. It shows the Ghost page author assigned above, or the custom override if you added the snippet to this page's Code Injection.