Good day SiteOrigin,
This is the first time I post here, I am super pleased with the Vantage premium theme and so far I managed to find every answer I needed using this support forum, until now :-).
I’m setting up a French only website and I am now tweaking SEO using WordPress SEO by Yoast.
Google search console tells me that I have no hreflang and I don’t know where I should place this link…
I need to somehow insert this line to tell Google my site is in french:
<link rel="alternate" hreflang="fr" href="http://jeuxcyclone.ca"/>
Any help is very appreciated. Please also confirm if I am not heading in the right direction with this issue, I won’t be offended :-).
Cheers,
Hi Phil
To do this you will be needing to use a child-theme. Please download and activate this plugin
https://wordpress.org/plugins/child-theme-configurator/
Then navigate to Tools->Child Themes.
Please select your current Theme from the list and give your child-theme a unique name in the box below. Then tick the option to Copy Parent Theme Menus, Widgets and other Customizer Options. Once done click the generate button at the bottom.
Creating the child-theme this way will ensure that your menus and sidebars remain as they are.
Then navigate to Appearance->Themes and activate your new child-theme.
Navigate to Appearance->Editor to open the theme file editor and select the theme functions file.
Please add the following below the line END ENQUEUE PARENT ACTION.
Save the file and you are done.
Please let us know how you get on
Magus
Hello Magus,
thank you for the reply…I will try this later this week and let you know how it goes. Thanks for the info!
Hi Phil
Let us know how things progress. We’ll take it from there.
Cheers :)