lang bug

Posted in: Newspaper
Post count: 26

Hi,

I just realized that my website (https://viajeros30.com) does not have a well-defined lang tag and it is a problem generated by the newspaper template (I have tried to activate another template and the problems disappear).

In the WordPress settings, I have clearly defined that the website is in Spanish, but when I enter to see the source code of the page, the following lines appear just before the <head>:

<!–[if IE 8]> <html class=”ie8″ lang=”en”> <![endif]–>

<!–[if IE 9]> <html class=”ie9″ lang=”en”> <![endif]–>

<!–[if gt IE 8]><!–> <html lang=”es”> <!–<![endif]–>

Can you help me to solve it so that only the <html lang=”es”> language tag appears as it should?

Thank you so much in advance

Post count: 35449

Hi,
I just checked the website and the lang is correctly set – https://i.imgur.com/ZF0fE3r.png the above langs are commented and will not apply.
Also, I did some tests on our live demos and the lang seems to be correctly displayed – https://i.imgur.com/p7rzCVO.png
Thank you!

Post count: 26

Hi,

Thanks for your help. I know the code will not apply in this case but this code came from newspaper template and I want to know where it comes from exactly and delete it.

Post count: 35449

Ok, that code is coming from tagDiv Standard pack, the file path is this one plugins/td-standard-pack/Newspaper/header.php
I hope this will help!

Post count: 26

Thank you. Fix it!

Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.