• Hi, your help would be much appreciated.

    So I selected ‘custom”, which tells you “If you select ‘Custom’ you need to edit your template file and add the following line just after the opening <body> tag.”

    My issue is that I don’t appear to have <body> in my Theme Header. Can I put it somewhere else. Below is my theme header content, that seems to be very little in comparison to all the examples i’ve seen online. My Theme is headway Themes.

    <?php
    /* Prevent direct access to this file */
    if ( ! defined( ‘WP_CONTENT_DIR’ ) ) {
    die( ‘Please do not access this file directly.’ );
    }

    HeadwayDisplay::html_open();

    wp_head();

    HeadwayDisplay::body_open();

    Thank you very much.

Viewing 1 replies (of 1 total)
  • Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi,

    In that case you should contact the theme developers to ask where you can put this one line of code to make sure it is after the opening body tag.

Viewing 1 replies (of 1 total)
  • The topic ‘Editing Template File – Theme Header’ is closed to new replies.