• 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’;

Viewing 4 replies - 1 through 4 (of 4 total)
  • What’s missing is the <?php tags around that code. I’m not sure how the code got there though, did you install any plugins that have anything to do with Facebook Like/Share buttons? It’s possible this plugin doesn’t work properly anymore, or that it’s configured/implemented wrong.

    Thread Starter Linda Marson

    (@linda-marson)

    Thanks for responding so quickly. I do have a Facebook share link in the sidebar which is working fin on all pages. 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??

    If you or anyone else has any further suggestions I’d be most grateful.

    I’d say the issue is related to the eshop plugin, so I would suggest you contact the authors — they should definitely be able to help you. Or, you could post a question in their support forum: https://www.ads-software.com/support/plugin/eshop

    Thread Starter Linda Marson

    (@linda-marson)

    I agree – I’ve now posted in the eshop support forum.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Unwanted code appearing on page’ is closed to new replies.