• 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?

#1
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.

Code:
<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:contentcheck>
     
            <xen:if hascontent="true">
                <xen:contentcheck>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- genforumtopheader -->
<ins class="adsbygoogle"
     style="display:inline-block;width:468px;height:60px"
     data-ad-client="ca-pub-000000000000000"
     data-ad-slot="5046736815"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
                 
                    </xen:contentcheck>
            <xen:elseif is="{$visitor.is_admin} && @uix_previewAdPositions" />
                <div>{xen:phrase 'template'}: ad_above_content</div>
            </xen:if>
     
        </xen:contentcheck>
        </div>
        </div>
     
    </xen:if>
</xen:if>
Removed my PUB number for privacy.
 

Brogan

XenForo moderator
Staff member
#2
Does the style ship with that code in the template?

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