Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #108435
    INFOYED
    Participant

    Hi,

    “language_attributes();” function exists after “<html > tag” in the header.php as follows:
    <html <?php language_attributes( $doctype ) ?>>
    However, it is not set when loaded in webpage (http://www.ankaratercumeofisi.com).
    I checked WPLANG option in wp-options table and it is all ok.
    I can declare the lang=”en” attribute, but I think it is not a better way to achieve it.

    Best regards,
    Selma

    #108464
    Mahesh
    Participant

    @infoyed: I checked this on our server and its displaying fine. Please try changing the theme to the WordPress core themes (Twenty Sixteen) and check if it displays in there. If problem persists on other themes too, its not a theme issue. Let me know further.

    Regards,
    Mahesh

    #108543
    INFOYED
    Participant

    I checked with the core themes, however it does not display.
    It is also weird that the other domains (almost 32 domains) in the same hosting displays correctly. Only the one with this theme does not. I am going to look deeper.

    Thank you for the tip: trying with the core themes.

    Best regards,
    Selma

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘language attributes is not set after html tag’ is closed to new replies.