Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

script to header

Moderator - Latest reply on 20-10-2018 13:49 by shadyjohnson

0

Catzenjaeger
Catzenjaeger
Hello,
i try to add this lines to header beetween head tags on different sites
this code is a automatic affilate code for my ebay
but it dosent works
i have try
themes/templates -> header.php
maincore.php
and in my infusion at last


add_to_head("
<script>window._epn = {campaign:5338079397};</script>
<script type='text/javascript' src='https://epnt.ebay.com/static/epn-smart-tools.js'></script>");

this is the origial lines

Copy the code below and paste it between the <head> </ head> tags on your web pages.
Validate your setup by loading your website and hovering over any eBay link. These should now be linked to "rover.ebay.com / ...".
<script>window._epn = {campaign:5338079397};</script>
<script src="https://epnt.ebay.com/static/epn-smart-tools.js"></script>

can anyone help me? thank you
Edited by Falk on 21-09-2018 14:16, 1 month ago

Sort replies by

0

Wanabo
Wanabo
Did you check your html source to see if the code is there and the scipts are loaded.
The add to head solution seems fine to me, but you could try this (using double quotes and escaping them):
add_to_head("
<script>window._epn = {campaign:5338079397};</script>
<script type=\"text/javascript\" src=\"https://epnt.ebay.com/static/epn-smart-tools.js\"></script>");
www.probemyip.com/probe-my-ip-80x15.png
pHp-Fusion.Asia & pHp-Fusion.Fr & pHp-Fusion.Cn are available for a localized support community. Send PB for info.

0

shadyjohnson
shadyjohnson
add_to_head("<script> CONTENT </script>");
Did YOu Check
Edited by Falk on 21-09-2018 14:15, 1 month ago
Actions
You can view all discussion threads in this forum.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
Forum Tags
More topics like this
Participated Users
Users who participated in discussion: :
Catzenjaeger, Wanabo, shadyjohnson

Moderators:
{%user_avatar%}

script to header
by {%user_profile_link%} {%post_date%}