Archived topic
Pagespeed insights reports missing meta description.
2 replies · Started by Scott on December 6, 2022
I’ve had to fix this in Storefront theme, but gp’s header.php is very different. I am using the child theme so do I just copy header.php to the child theme and just add the meta description to it there?
Eh, way easier than I thought. I’ll answer my own question.
Yes just copy header.php to the GP child theme and add the meta description to it below line 15.

Hi there,
as an alternative to making copies of the templatgs, you can use the wp_head hook to add the meta.
Either using a function eg.
add_action('wp_head', function(){
?>
// add your meta here
<?php
},1);
Or use a GP Hook Element to add it.