1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 Adsense coding error?

Discussion in 'Styling and Customization Questions' started by Chris Grigg, Sep 3, 2014.

  1. Chris Grigg

    Chris Grigg Member

    Here is a screen shot:

    I'm not sure why the coding is showing instead of being invisible with the ad. Any help?
    Here is the ad_header file that came with the Xen Block theme.

    <xen:if is="@uix_searchPosition != 1 && @uix_navStyle != 2 && !(@uix_navStyle == 3 && @uix_pageStyle != 1)">
        <xen:if hascontent="true">
            <div class="funbox">
            <div class="funboxWrapper">
                <xen:if hascontent="true">
    <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    <!-- genforumtopheader -->
    <ins class="adsbygoogle"
    (adsbygoogle = window.adsbygoogle || []).push({});
                <xen:elseif is="{$visitor.is_admin} && @uix_previewAdPositions" />
                    <div>{xen:phrase 'template'}: ad_above_content</div>
    Removed my PUB number for privacy.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Does the style ship with that code in the template?

    If so, you will need to contact the style designer for support.

Share This Page