TwentyTwentyTwo – How to add PHP logic to Post templates?
But how do we “edit and save” PHP code for these templates? Like loops, actions, do_actions, etc… I don’t see the templates being auto generated in my Visual Studio Code environment anywhere…. You don’t, these are block templates, not PHP templates. When in the filesystem in a theme they are plain .html files, and when … Read more