Widget script does not work: named entity expected got none

This topic has 5 replies, 2 voices, and was last updated 1 years, 1 months ago ago by luc

  • Avatar: luc
    luc
    Participant
    March 9, 2023 at 10:36

    Hi,

    I want to add this code in an HTML block. But it gives this error: named entity expected got none
    Then I can’t save the page.

    This is the code:
    <script defer="" src="https://www.5sterrenspecialist.nl/review-carousel.js" id="5ss-review-carousel-script" data-host="https://www.5sterrenspecialist.nl" data-template="https://www.5sterrenspecialist.nl/widget.html?hash=f57d9e6db3dc587ff3a040325a345721&type=review-carousel&webshop-or-regular=regular&orientation=landscape&logo-color=blue&background=transparent"></script>

    Can you help me?
    Thanks

    Please, contact administrator
    for this information.
    4 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 9, 2023 at 11:30

    Hello, @luc,

    Thank you for choosing XStore as your WooCommerce WordPress theme.

    HTML blocks should be used exclusively for HTML code, and not for scripts.

    We apologize, but we are unable to provide assistance with custom script writing as this type of customization is outside of our basic support scope.

    Kind Regards,
    8theme team

    Avatar: luc
    luc
    Participant
    March 9, 2023 at 13:41

    Hi Rose Tyler,

    Thanks. I’ve found the problem. Wordfence which is installed on the main domain (daancomputers.nl) causes this issue.

    I’ve another problem. The footer live has this grey lines above and beneath.
    In the editor these are gone. I want them white, shall I open a new topic or can I stay in this one?

    https://demooij.daancomputers.nl/wp-content/uploads/2023/03/Scherm­afbeelding-2023-03-09-om-13.35.30.png

    https://demooij.daancomputers.nl/wp-content/uploads/2023/03/Scherm­afbeelding-2023-03-09-om-13.35.18.png

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 9, 2023 at 14:09

    Hello, @luc,

    To change the Footer Background Color and set the Footer Paddings to 0px (top and bottom), please navigate to Theme options > Footer > Footer styling.

    We hope this helps.

    Kind Regards,
    8theme team

    Avatar: luc
    luc
    Participant
    March 9, 2023 at 15:29

    Thanks! I thought that it was a setting in Elementor instead of the theme options. Thanks!

  • Viewing 5 results - 1 through 5 (of 5 total)

The issue related to '‘Widget script does not work: named entity expected got none’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.