I already know how to access properties from header in twig templates.
If I want to get the title of an article and printing it in a page, I can write:
If I want to get strings associated to my custom keys, I can do that like this:
Doing this, I call the string stored in this yaml frontmatter:
> author: ‘author-person’
How can I store in a php var these contents?
I’m searching through docs since yesterday for hours and hours but I didn’t find a specifical solution. I saw that I can recall taxonomy with a method, but I don’t get the general approach.