Hello, I have inserted some PHP code in the GP folder so I can use custom shortcodes on the content of my site that retrieve the date, month and year. However, this file was removed when GP was updated and my front end broke. It was suggested to me to either create a child theme and use the code there, and use some code insertion plugin. My questions:
1. which of the 2 options is better in terms of pagespeed & SEO efficiency?
2. Can I use a GP hook to inject the PHP into all pages? Is this option better than using the child theme and in what ways?