Problem with HTML code and widgets
My ‘Folow us’ widget conflicts with the rest of the sidebar widgets. As you can see, I made a ‘test’ widget with only the word ‘test’ in it, and it automatically changes it into a link. The same happens with the Twitter widget. Does anybody have any idea’s?Mod
We’ll that was my mistake in explaining, it is a text widget with HTML code. This is the code for 1 button:
<a href="https://twitter.com/#!/FFWD_AND_RWD"><img title="Twitter" onmouseover="this.src='http://fastforwardandrewind.com/wp-content/uploads/2011/07/Twitter-Banner.png';" onmouseout="this.src='http://fastforwardandrewind.com/wp-content/uploads/2011/07/Twitter-Banner-Black.png';" src="http://fastforwardandrewind.com/wp-content/uploads/2011/07/Twitter-Banner-Black.png" alt="" width="220" height="40" />
The code is the source of the problem, but before the WordPress update (3.2) it has always worked.
Do you maybe know an alternative code that would also work?ModMod
The format goes like this:
<a href="http://www.google.com" target="blank">Link Name</a>
I make all my links open in a new window, so if my readers don’t like it, all they have to do is close the window and my site is still there.
See this page for more help with anchor tags.
- You must be logged in to reply to this topic.