[Support request] HTML code of home page.

Home Forums Support [Support request] HTML code of home page.

Home Forums Support HTML code of home page.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #386376
    mohamedhassan

    Hi GP team,

    Let me know please, how can I get to the HTML code of my site’s home page?

    to add this code <meta name=”yandex-verification” content=”3a9105017b5523d4″ /> in the “head” section
    to verify my site at Yandex.

    regards,
    Mohamed

    #386489
    Leo
    Staff
    Customer Support

    Hi there,

    Try the wp_head hook: https://docs.generatepress.com/article/hooks-overview/

    For only front page, try this and check execute PHP:

    <?php if ( is_front_page() ) : ?>
        code here
    <?php endif; ?>
    #386541
    mohamedhassan

    I made the following

    <?php if ( is_front_page() ) : ?>
    <meta name=”yandex-verification” content=”3a9105017b5523d4″ />

    <?php endif; ?>

    and I get this result http://www.gloobally.com/wp-admin/options.php

    #386704
    Leo
    Staff
    Customer Support

    So what is the result? That link needs admin access.

    What is the code supposed to do?

    #386732
    mohamedhassan

    Please open the link below.
    https://gmkr.io/s/59be241ea5d5ba6b41656cbd/0

    #386734
    mohamedhassan

    THE code is supposed to verify my site property at Yandex Webmaster Tools:

    #386916
    Leo
    Staff
    Customer Support

    It’s just a warning. But if you are sure the code is fine then it shouldn’t be a problem.

    Might be worth checking with wherever this code came from to see why it triggers such an error.

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