HTML Widget not accepting any kind of HTML

  • Unknown's avatar

    Hello,

    I am trying to add a ko-fi button to the footer at jupe.ca and it won’t accept any code I put in. I have tried all the following code and it says there are errors every time.

    <script type='text/javascript' src='https://ko-fi.com/widgets/widget_2.js'></script><script type='text/javascript'>kofiwidget2.init('Buy Me a Tea', '#46b798', 'L4L05SH4');kofiwidget2.draw();</script>

    <a href='https://ko-fi.com/L4L05SH4' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://az743702.vo.msecnd.net/cdn/kofi2.png?v=0' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>

    <a href='https://ko-fi.com/L4L05SH4'>Buy Me a Coffee</a>

    None of these would work. The only thing I can seem to add in the html widget is plain text.

    Please advise, and thanks in advance.

    The blog I need help with is: (visible only to logged in users)

  • Hi there! Could you provide a link to the site hosted on WordPress.com you’re having trouble with, so I can have a look at your widgets in the back end?

    Script tags definitely won’t work here, as we don’t allow JavaScript for security reasons, but I’m not sure why the two links wouldn’t work, so I’d like to take a look directly.

  • Unknown's avatar

    The website is hosted on my own webspace.

  • These forums are for sites hosted on WordPress.com – for help with a self-hosted site, try the troubleshooting forum at WordPress.org:

    https://wordpress.org/support/forum/how-to-and-troubleshooting/

    You’ll need a free WordPress.org account to post – if you don’t already have one, you can register here:

    https://wordpress.org/support/register.php

    Be sure to provide a link to your site when you post so people can help you more easily.

  • Unknown's avatar

    Thank you :) Sorry for wasting your time.

  • No worries at all. Good luck.

  • The topic ‘HTML Widget not accepting any kind of HTML’ is closed to new replies.