The site http://mirror.podm2m.mx is a test env. The site is in ES-MX but we have en, en-gb and es versions on a different domain.
The site has quite a few pages and rather than add the hreflang to each of them, I’d like to use a function to do the work. I found this example:
” hreflang=”en-au” />
This looks promising however I have the following questions – can I add it to functions.php? if so, do I need to add any code to header.php also? Will this sample code (thanks Chris Butterworth) need to be modified (aside from the URL and hreflang obviously :wink:
This is an example of the href tags that would need to go on each page and post of the site.
I hope I’ve explained clearly, though I fear I haven’t :wink:
Thanks for any assist you could provide!