ROY
July 31, 2024, 11:50pm
1
Can anyone help me figure out how to change the Author schema that Ghost automatically generates for each post.
I would like to create a more detailed Person schema to be included as part of the Author structured data.
I would like to edit the actual theme file (I’m using Casper at the moment), and not manually add/inject Person schema to each and every post.
Thanks a ton!
Raki
August 1, 2024, 6:01pm
3
What info you want to include in the Author schema data?
ROY
August 1, 2024, 6:26pm
4
Hi @Raki – I would like to add more social links, occupation, affiliation, address, credentials, awards, and more.
Raki
August 2, 2024, 4:32am
5
You can modify the Author schema via code injection, I provide detailed code in my article: Change default schema markup in Ghost
1 Like
ROY
August 2, 2024, 6:20am
6
This is awesome @Raki . But your post shows how to change Publisher not Author. Did I miss something?
Raki
August 2, 2024, 6:55am
7
It serves as an example, you can replace “publisher” with “author” and add the data you want. (I added a new example in the article to show how to modify schema markup)