Text Widget Keeps Deleting HTML Code for Twitter Profile Widget
-
hello all –
every time I enter twitter’s profile widget code into wordpress’ sidebar Text Widget, the last line of code self deletes upon saving. I have no idea what what causes this. I have pasted the twitter code below. thanks in advance for all your aid
http://winsnlosses.wordpress.com/
<script charset=”utf-8″ src=”http://widgets.twimg.com/j/2/widget.js”></script>
<script>
new TWTR.Widget({
version: 2,
type: ‘profile’,
rpp: 10,
interval: 30000,
width: ‘auto’,
height: 300,
theme: {
shell: {
background: ‘#333333’,
color: ‘#ffffff’
},
tweets: {
background: ‘#ffffff’,
color: ‘#000000’,
links: ‘#6e5b06’
}
},
features: {
scrollbar: true,
loop: false,
live: false,
behavior: ‘all’
}
}).render().setUser(‘WinsnLosses’).start();
</script>The blog I need help with is: (visible only to logged in users)
-
Yep. That’s javascript and it will always be stripped out here, for security reasons. That’s why we have a prefab Twitter widget.
-
uuuughh. I really wanted the official twitter profile badge because it just give a better feel cosmetically. do you know of any HTML-based badges that look better than the standard issue twitter widget wordpress runs?
-
No, but if you’re a designer you can create one as long as it’s simple HTML and not a script.
-
not a designer by any means, lol. just your typical blogger. I’ve been going insane trying to find a suitable HTML-based badge that looks just as good as the one issued from Twitter – no luck yet :( thanks a lot for your responses though. I truly appreciate it. hard to find help on the ‘net these days …
-
You might end up needing two widgets: one to display a Follow me link, the other to list your tweets.
-
I’ll look into that. the code for the simple follow button is easy to come by. however, a unique looking twitter feed is a bit more difficult to find …
-
If you have a URL of a site where the twitter badge widget is in use, and has the badge you want, post a URL to it here. I might be able to come up with the image that they are using for you. I can’t make any promises, but I’ll take a look.
-
hmm – how exactly would I go about setting this up for you to do your thing? where can I post the badge for you to be able to use it? the only site I’m running is my wordpress blog & since it’s not working there, I figure we can’t use that as an option. what’s the most solid option you can think of to get this working without a hitch for you?
- The topic ‘Text Widget Keeps Deleting HTML Code for Twitter Profile Widget’ is closed to new replies.