• Hi, I have just added a script from ebay into a text module in beaver builder, and after saving the page, I can no longer access page builder for the page. If you click on “page builder”, the page opens, the module options list down the right of the page, but you cannot click on them or add them to the page. The existing modules on the page cannot be accessed either (they don’t go blue, and clicking does nothing), and clicking the “Templates/Tools/Done/Upgrade/Help” buttons doesn’t work either.

    I can live without using this code if I have to, but is there any way to access the html of the page so I can remove it?

    This is the script I added:

    <script type="text/javascript" src='http://adn.ebay.com/files/js/min/jquery-1.6.2-min.js'></script>
    <script type="text/javascript" src='http://adn.ebay.com/files/js/min/ebay_activeContent-min.js'></script>
    <script charset="utf-8" type="text/javascript">
    document.write('\x3Cscript type="text/javascript" charset="utf-8" src="http://adn.ebay.com/cb?programId=4&campId=5337816313&toolId=10026&keyword=DP+chip+landcruiser+200&minPrice=400&width=160&height=750&font=4&textColor=000000&linkColor=0000AA&arrowColor=ffff00&color1=ffff00&color2=[COLORTWO]&format=ImageLink&contentType=TEXT_AND_IMAGE&enableSearch=y&usePopularSearches=n&freeShipping=n&topRatedSeller=n&itemsWithPayPal=n&descriptionSearch=n&showKwCatLink=n&excludeCatId=&excludeKeyword=&catId=131090&disWithin=200&ctx=n&autoscroll=n&title=a+performance+chip&flashEnabled=' + isFlashEnabled + '&pageTitle=' + _epn__pageTitle + '&cachebuster=' + (Math.floor(Math.random() * 10000000 )) + '">\x3C/script>' );
    </script>
Viewing 1 replies (of 1 total)
  • Plugin Contributor Ben Carlo

    (@hinampaksh)

    Hey @austimages,

    Apologies for the delayed response here.

    So the issue with the code is that it’s loading a version of jQuery incorrectly to the site. The proper way of loading scripts is via wp_enqueue_scripts.
    https://codex.ww.wp.xz.cn/Plugin_API/Action_Reference/wp_enqueue_scripts

    Also, WordPress has its own version of jQuery which is the recommended jQuery script to use. Loading another instance of it actually causes conflicts, which is what you’re experiencing right now.

    Did you publish the page after placing the code? If so, you can use WordPress’s Revisions system to go back to the previous layout. 🙂

    Ben

Viewing 1 replies (of 1 total)

The topic ‘Bug: ebay script placed in module, now locked out’ is closed to new replies.