Support » Theme: Customizr » meta tags
3 years ago
how to add meta tags to <head>?
to the theme customizr
i got this in editor in header.php
cant find the function in functions.php
//the ‘__before_body’ hook is used by TC_header_main::$instance->tc_head_display()
do_action( ‘__before_body’ );
Do not edit the theme itself. Try using an SEO plugin instead.
i cant find the <head> open and close tags
y not edit the theme itself? it has to be there inside somewhere…
The file you’re looking for is
But why if you can use that wp hook (last comment of the link I suggested) in your child theme functions.php? Or use an SEO plugin as esmi says (never tried)?
I’d vote with @esmi too!
I agree with Esmi. But if you don’t want a full-blown SEO, or the SEO cannot add what you want, there’s a snippet here for adding Google Analytics to wp_head with Customizr. Adding other items will follow the same principles.
2 years, 12 months ago
Thanks! these were all the answers I needed! I will use the SEO plugin then if theres more i need to add I will do that in the file.