Can you link to a page in a different language?
In the example below (with the Twenty Twelve theme), you can see the result when both settings have been checked for the menus and for the widget. You have the possibility to always link to the front page in the corresponding language even if the current page is translated.
How to tell the language of a link in HTML?
The link text shows the language of the target page using the language of the target page, but an associated title attribute contains a hint in the language of the current page: If your code looks as follows, the language attributes would actually indicate that not only the content but also the title attribute text is in Spanish.
Is there a way to never link to the current language?
In the example below (with the Twenty Twelve theme), you can see the result when both settings have been checked for the menus and for the widget. You have the possibility to always link to the front page in the corresponding language even if the current page is translated. Choose this option to never display the current language.
Is there a way to highlight the link to the current page?
On the other hand, in order to build a site that’s consistent and easy to maintain, navigation menus need to be either included with a separate html file or generated with a scripting language. This makes it difficult to identify the link to the current page and treat it differently.
Why does Google think my website language is incorrectly?
Even if it thinks that just a very small part of the page is in that language it offers the same option to translate the page. In your example, if you click on the translate link, the only part that appears to get “translated” is the visible local part of the email address. faith becomes Faith.
How to choose your language flag in WordPress?
You can choose your language flag among all the flags when creating or editing a language. This flag is used on both frontend and admin sides. It is possible to use your own images as flags. You have to use PNG or JPG files and name them with the WordPress locale.
How can I change the current page link?
Probably the most common and easiest way to do this is by simply applying a different class with appropriate styles on the current page link. So in your HTML you would see something like this:
How does the current page link styles work in PHP?
So although the different unique link classes will appear in the HTML on every page, the unique “current page” styles will only take effect on the page that has the matching class. If you are using PHP (or some other back-end language), you can generate the classes dynamically based on the current page