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
Have you tried disabling the “Follow Us” widget to see if that’s what’s causing the problem? If so, you may want to try a different widget, or just use HTML in a regular text widget to accomplish much the same thing.
Ken
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?
Mod
I see now. All of your links are missing closing
</a>tags. Add those and everything should be okay.Ken
Mod
Add
target="blank"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.
Have fun!
Ken
Viewing 8 posts - 1 through 8 (of 8 total)
- You must be logged in to reply to this topic.
