Unwanted code appearing on page
-
I have e-Shop installed on my site. The following code appears in all the sub-menu items listed on the Products page of my website (https://globalspiritualstudies.com/products-2/). No other menu pages on the site are affected. I tried re-creating the page but it made no difference. How do I get rid of this?? Help please!
function zbpShare(url) {
var sharer = ‘https://www.facebook.com/sharer/sharer.php?u=’+url;
window.open(sharer, ‘sharer’, ‘width=626,height=436′);
return false;
}
var zbPregResult = ‘0’;In the general support forum someone suggested it might be related to the Facebook share link in the sidebar. I removed it to see if it made a difference but it didn’t so I put it back in.
I created a new page ‘Test’ and made it the parent of ‘Audio’ – the code appeared. I made ‘Test’ the parent of a couple of pages from other sections of the site and the code didn’t appear. Then I created a new page ‘Test Cards’, made ‘Test’ its parent and made ‘Test Cards’ the parent of the one sub-page that belongs to ‘Cards’. No problem. However, when I inserted the [eshop_list_subpages] code on ‘Test’ the code appeared. So it looks as though it’s a problem in eshop….BUT why only on this one page, Products??
Any suggestions or solutions??
- The topic ‘Unwanted code appearing on page’ is closed to new replies.