No standard HTML in widget
-
I have simple HTML in a footer widget to direct traffic on my site. I just need to be able to add a line to it, but it keeps indicating errors where there are none! Searching turned up a discussion but it does not tell me how to get my HTML to work, which is all I want. I can’t understand what this is saying to do and I don’t have hours to spend on some unknown thing to replace ordinary simple and previously working HTML. HELP
(this doesn’t help—->https://make.ww.wp.xz.cn/core/2017/08/01/fixes-to-text-widget-and-introduction-of-custom-html-widget-in-4-8-1/)
(It is a widget not a page)
-
This topic was modified 8 years, 6 months ago by
mendopower.
-
This topic was modified 8 years, 6 months ago by
mendopower.
-
This topic was modified 8 years, 6 months ago by
-
Please share with us the HTML of that widget (wrapped in backticks) so we can review it.
https://make.ww.wp.xz.cn/support/handbook/forum-welcome/#post-code-safely
<a style="text-decoration:none; href="http://[page link]"><img src="http://[image link]"/>[Persons name]</a>
This is repeated 25 times for 25 names, each with an associated page link and image link, arranged not as a list but more like a paragraph. It has worked just fine for several years. The names and links are correct.
Today I am getting this error message when I try to edit:
“special characters must be escaped” : [<]
“special characters must be escaped” : [>]“errors which must be fixed before you can save”
What has changed? Thank you.
Looks like you’ve got a missing double-quote in your
<a>tags. It should be<a style="text-decoration:none;" href="...">...</a>
The topic ‘No standard HTML in widget’ is closed to new replies.