Over-Zealous Custom HTML Widget
-
The Custom HTML Widget won’t accept my HTML. It comes up with an error message telling me there’s a duplicate
<title>tag, but there isn’t. Even if I remove the (link) title completely, it still tells me there’s a duplicate, and won’t allow me to save. The only way I could get round it was to use the Arbitrary text Widget.
-
<h3 class="al-c"><a title="Watch a full sheepdog training tutorial, completely free of charge" href="https://sheepdog-training.com/free-herding-sheepdog-training-video/">Watch a Complete Tutorial <span class="rd b ts">FREE</span></a> or <a title="Signup for full membership" href="https://sheepdog-training.com/signup-for-our-sheepdog-training-tutorials/" title="Signup for our Sheepdog Training Tutorials">Become a Full Member <b>NOW</b></a></h3>
I included a link to a screen grab in my post, but it was deleted (pity).-
This reply was modified 8 years, 4 months ago by
andynick.
Can you remove the title attribute? It’s not necessary and you’re duplicating content that is already in the link.
Thanks for your interest Andrew.
In my first post, you’ll see that I’ve already tried removing the title, and it made no difference.
If my HTML is valid, I shouldn’t <b>have</b> to remove the title attribute. I should be able to paste it into the widget and save it.
Deleting the title would be ‘papering over the cracks’.I think you’re facing 2 separate problems:
- Your HTML is not updating after deleting title attributes
- You have duplicate title attributes (which you do):
<a title="... One of the duplicates ..." href="..." title="...The other duplicate ..." >
-
This reply was modified 8 years, 4 months ago by
Andrew Nevins.
Thanks. At first I couldn’t find the offending code, but I finally located it. There was, indeed a duplicate title tag.
-
This reply was modified 8 years, 4 months ago by
andynick. Reason: To correct my mistake in the post
-
This reply was modified 8 years, 4 months ago by
The topic ‘Over-Zealous Custom HTML Widget’ is closed to new replies.
