Home › Forums › WoodMart support forum › How can I add my custom meta tag? › Reply To: How can I add my custom meta tag?
June 27, 2019 at 7:15 am
#130286
Elise Noromit
Member
Hello,
You need to add the code to the functions.php of the child theme
function woodmart_add_link_to_head(){
global $wp;
?>
<link rel="alternate" hreflang="en-ca" href="<?php echo home_url( $wp->request ); ?>" />
<?php
}
add_action( 'wp_head', 'woodmart_add_link_to_head');
Best Regards