Hi I have a problem; I would like to add eBay affiliate code to a side bar in WP, but the ebay ads appear broken (layout etc) when I have added the code. Other affiliate code works fine, and I have checked the eBay code is ok and working correctly. Anyone else had this problem? never had this problem with any other code ive tried to add. I have also tried adding the code directly in to the sidebar.php bits and also via a widget with no luck. Any help would be appreciated. PS AuctionAds works fine too, but does not perform as I would like so need to use direct from ebay. Thanks in advance. Chris
Ebay never tried before , but what problem do you have with CJ ads ? i guess they are just text links / banners. What is the URL?
The ads are through eBay affiliate scheme on CJ. The code is like this: <script language="JavaScript" src="http://ilapi.ebay.com/ws/eBayISAPI.dll?EKServer&ai=t%27h%3A&bdrcolor=000000&catid=1&cid=0&eksize=9&encode=ISO-8859-1&endcolor=FF0000&endtime=y&fbgcolor=FFFFFF&fntcolor=FFFF66&fs=0&gallery=y&hdrcolor=333333&hdrimage=1&hdrsrch=n&img=y&lnkcolor=FFFF00&logo=3&num=25&numbid=y&paypal=n&popup=y&prvd=1&query=CHANGED&r0=4&sacategoryin=1&shipcost=n&sid=CHANGED&siteid=3&sort=MetaEndSort&sortby=endtime&sortdir=asc&srchdesc=y&tbgcolor=333333&tlecolor=000000&tlefs=0&tlfcolor=000000&track=2228340&width=570"></script> Code (markup): I need to add code like the above to my the sidebar, but the layout of the ads etc becomes broken in WP.
Are you hosting your own WP? If not, then I don't think you're allowed to use JS in the themes. Anyway... when you're getting the links from CJ - just select "Get HTML" instead of "Get JavaScript"