Home Forums WoodMart support forum How can I add my custom meta tag? Reply To: How can I add my custom meta tag?

#130286

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