• Ginjarou

    (@ginjarou)


    Hi. I’m using the SiteOrigin Origami theme (premium) and have successfully uploaded the tag manager to my site (www.mizukitakahshi.co.uk) with using your plugin but I can’t get it in the Header after following your instructions.

    I go into the Header.php of the theme but this is what is there…

    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <meta http-equiv=”Content-Type” content=”text/html; charset=<?php bloginfo( ‘charset’ ); ?>” />

    <title><?php wp_title(‘|’, true, ‘right’); ?></title>

    <link rel=”profile” href=”http://gmpg.org/xfn/11&#8243; />
    <link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>” />

    <?php wp_head(); ?>
    </head>

    <body <?php body_class() ?>>

    <?php do_action(‘origami_top’); ?>

    <div class=”container”>

    <?php do_action(‘origami_before_page_container’) ?>

    <div id=”page-container”>

    <?php do_action(‘origami_top_page_container’) ?>

    <?php get_template_part(‘parts/logo’, ‘top’) ?>

    <?php do_action(‘origami_after_logo_wrapper’) ?>

    <?php get_template_part(‘parts/menu’, ‘top’) ?>

    Could you help?

    Thanks!

    https://wordpress.org/plugins/metronet-tag-manager/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ronald Huereca

    (@ronalfy)

    Sorry for the late reply.

    In your header.php, place this right after your: <?php do_action('origami_top'); ?>

    <?php do_action( 'body_open' ); ?>

    So it’ll look like this:

    <?php do_action('origami_top'); ?>
    <?php do_action( 'body_open' ); ?>
    Plugin Author Ronald Huereca

    (@ronalfy)

    If you don’t want to modify header.php, you can also use this snippet (place in your functions.php file).

    http://pastebin.com/5r1m0xgQ

    Just replace genesis_before with origami_top

    Thread Starter Ginjarou

    (@ginjarou)

    Dear Ronald,

    Thanks for the help but neither of those seem to have worked 🙁
    When I try to verify the website in Google Webmaster Tools using the Tag Manager option it is still saying the tag is in the wrong location when I try either of those.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding the body code help’ is closed to new replies.