WordPress.org

Ready to get started?Download WordPress

Forums

How to access the head section of the homepage (3 posts)

  1. willee
    Member
    Posted 2 years ago #

    I need to add some information for search engines to the <head> section of my homepage.

    I was wondering if anyone could tell me where the homepage file is located in the default wp directories. Usually it would be the index.html.

    I found the admin-header.php file. I am looking to add
    <!-- vNs5N_9mmx2nrrm_iYA4dCE2Kz0 -->
    to it. Would this be ok to add to a .php file?

  2. willee
    Member
    Posted 2 years ago #

    <title><?php bloginfo('name'); ?><?php wp_title(); ?></title>

    Tried adding a metatag after that line and still not working. Anyone had any experience with this?

  3. esmi
    Forum Moderator
    Posted 2 years ago #

    Your page's head section will be in your theme's header.php file.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.