WordPress.org

Forums

Google Content Experiments
[resolved] Not Validating (6 posts)

  1. c.brown@ntlworld.com
    Member
    Posted 3 years ago #

    I cannot get it to validate on this site
    http://www.bwtradefinance.com/

    I have followed your instructions (I hope).

    Added this code as it would not validate without it.

    What next?

    <head>
    <?php do_action( 'wpe_gce_head' ); ?>
    $gantry->displayHead();
    $gantry->addStyles(array('template.css','wordpress.css','wp.css','style.css'));
    ?>
    </head>

    Thanks
    Carl Brown

    http://wordpress.org/extend/plugins/google-content-experiments/

  2. c.brown@ntlworld.com
    Member
    Posted 3 years ago #

    using Gantry Theme for WordPress

  3. glennm
    Member
    Plugin Author

    Posted 3 years ago #

    I have no experience with Gantry, so I don't guarantee that it will work, but I see two files that are using the <head> tag.

    Insert <?php do_action( 'wpe_gce_head' ); ?> right after <head> in header.php and index.php

  4. c.brown@ntlworld.com
    Member
    Posted 3 years ago #

    that has done the trick.
    thanks for your help.

  5. jadobulku
    Member
    Posted 3 years ago #

  6. glennm
    Member
    Plugin Author

    Posted 3 years ago #

    I'm closing this thread since the issue has been resolved.

    jadobulku: Please don't post such things here since it has nothing to do with the plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Content Experiments
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic