HTML Text Widget
-
I am trying to put this html code in the text/html widget to display a badge on the sidebar of my blog:
<embed wmode=”opaque” src=”http://static.ning.com/socialnetworkmain/widgets/index/swf/badge.swf?v=201107062030″ FlashVars=”backgroundColor=0xFFFFFF&textColor=0x333333&config=http%3A%2F%2Fsschat.ning.com%2Fmain%2Fbadge%2FshowPlayerConfig%3Fxg_source%3Dbadge%26size%3Dmedium%26username%3D3lxpltwgnshab” width=”206″ height=”174″ bgColor=”#FFFFFF” scale=”noscale” allowScriptAccess=”always” allowFullScreen=”true” type=”application/x-shockwave-flash” pluginspage=”http://www.macromedia.com/go/getflashplayer”>
<small>Visit Social Studies Chat</small>But every time I do this, the html code is shortened after I save to this:
http://static.ning.com/socialnetworkmain/widgets/index/swf/badge.swf?v=201107062030
<small>Visit Social Studies Chat</small>So needless to say the badge does not work but only displays as a text url instead of a graphical profile badge.
The blog I need help with is: (visible only to logged in users)
-
Embed codes are stripped out – we are not allowed to use them in a wp.com blog. You need to convert the embed code to a wp-specific shortcode. See here for more:
http://wpbtips.wordpress.com/2010/07/22/gigya-shortcode-3-widgets/To make it easier for you, turn this:
<embed wmode="etc etc etc etc"> </embed>
to this:
[gigya wmode="etc etc etc etc" ] -
Great! I got it working but why would we not be allowed to embed codes? Blogger allows you to do this.
-
That’s one of the reasons why Blogger is more vulnerable than WP. See here:
-
You have more flexibility with a self-hosted WP blog, such as embedding code in sidebars with widgets etc.
- The topic ‘HTML Text Widget’ is closed to new replies.