Text Widget Problems

  • Unknown's avatar

    I’m trying to embed a health widget from the CDC in to my side bar. However, when I hit save, the code gets changed and then it is not displayed correctly on my page.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    If the widget in question contains Javascript or any other restricted code the software will strip the code out to preserve security on this multiuser blogging platform. As you blog visibility is private we cannot see what you see. Please post the code for the widget here between backticks. The backtick is located in lower case on the tilde ~ key to the immediate left of the number 1 key on your keyboard.

  • Unknown's avatar

    HELP! I am having the same problem. I don’t understand your response. Are you saying that when I enter the code I should put backticks on the front and the back? I tried that, and it just removes everything except for the backticks.

  • Unknown's avatar

    @gtpkate: Timethief said…

    Please post the code for the widget here between backticks.

    …meaning here as “in the forum” so that the code does not turn into a live link and so that we may see it in full.

    Putting backticks in a text widget is useless.

    With that in mind, please read timethief’s answer one more time, carefully, as it gives a good possible explanation as to why you are unable to copy-paste the code in question, and offers you a way to show us the code (in case there are other ways of inserting it).

  • Unknown's avatar

    Hi, I am having the same problem and would be really grateful for some help. I am setting up a website for a charity that I have started and would like to post this widget as a link to my justgiving site i.e. where people can donate. Thank you for any help! Brenda

    <object type="application/x-shockwave-flash" allowScriptAccess="always" height="230" width="150" align="middle" data="http://www.justgiving.com/widgets/jgwidget.swf" flashvars="EggId=3118413&IsMS=0"><param name="movie" value="http://www.justgiving.com/widgets/jgwidget.swf" /><param name="allowScriptAccess" value="always" /><param name="allowNetworking" value="all" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><param name="flashvars" value="EggId=3118413&IsMS=0" /></object>

  • Unknown's avatar

    You need to convert this into a shortcode:
    [gigya src="http://www.justgiving.com/widgets/jgwidget.swf" type="application/x-shockwave-flash" height="230" width="150" flashvars="EggId=3118413&IsMS=0" allowScriptAccess="always" quality="high" wmode="transparent" ]
    Paste into HTML post or page editor, or in a text widget. Dimensions can be changed.
    For more on this see here:

    The gigya shortcode 3 – inserting Flash

  • Unknown's avatar

    Thank you so much! It works and is perfect! Panaghiotisadam, you have just made a wonderful contribution to my charity and therefore to the poor people of Mozambique. Thank you so much for your help.

  • Unknown's avatar

    Hi, I’ve tried to add a donate button to my blog. The button appears but when you click on it doesn’t connect to the donate form. Here’s the code

    <img src=”https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif” alt=””/>

  • Unknown's avatar

    <a href="http:/https://www.paypal.com/cgi-bin/webscr cmd=_donations&business=4VJBJLYUCPPTN&lc=US&item_name=Our%20Father%27s%20House%20Int%27l%20Ministry&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted"><img src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" alt=""/></a>

    Here’s the complete code, sorry

  • Unknown's avatar

    Are you trying to use the encrypted version? That won’t work.

  • Unknown's avatar

    Hello!
    I can”t put my counter in text widjet. Code is:
    ~<!–LiveInternet counter–><script type=”text/javascript”><!–
    document.write(“<a href=’http://www.liveinternet.ru/click’ “+
    “target=_blank><img src=’//counter.yadro.ru/hit?t27.18;r”+
    escape(document.referrer)+((typeof(screen)==”undefined”)?””:
    “;s”+screen.width+”*”+screen.height+”*”+(screen.colorDepth?
    screen.colorDepth:screen.pixelDepth))+”;u”+escape(document.URL)+
    “;h”+escape(document.title.substring(0,80))+”;”+Math.random()+
    “‘ alt=” title=’LiveInternet: показано количество просмотров и”+
    ” посетителей’ “+
    “border=’0′ width=’88’ height=’120′></a>”)
    //–></script><!–/LiveInternet–>~
    When I it save, the code gets changed and then it is not displayed correctly on my page.
    Can you help me?

  • Unknown's avatar

    @nikolajjsokolov: Your code contains JavaScript. Please read timethief’s initial response.

    P.S. timethief also said to use backticks ` not the tilde ~
    :-) The tilde is just an example of where the backtick is located on a US keyboard.

  • Unknown's avatar
  • Unknown's avatar

    my code ;

    <!--LiveInternet counter--><script type="text/javascript"><!--
    document.write("<a href='http://www.liveinternet.ru/click' "+
    "target=_blank><img src='//counter.yadro.ru/hit?t16.18;r"+
    escape(document.referrer)+((typeof(screen)=="undefined")?"":
    ";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth?
    screen.colorDepth:screen.pixelDepth))+";u"+escape(document.URL)+
    ";"+Math.random()+
    "' alt='' title='LiveInternet: показано число просмотров за 24"+
    " часа, посетителей за 24 часа и за сегодня' "+
    "border='0' width='88' height='31'></a>")
    //--></script><!--/LiveInternet-->
  • Unknown's avatar

    @nikolajjsokolov
    Please look at the code you posted. Do you see javascript? Read what I said in my comment above:

    If the widget in question contains Javascript or any other restricted code the software will strip the code out to preserve security on this multiuser blogging platform.

    Then read this > restricted code and take note that you cannot use that code on a free hosted WordPress.com blog. Go to this page and scroll down to “Visitor Tracking”. That is where you will find non-Javascript counters that we can use on free hosted WordPress.com blogs.

  • Unknown's avatar

    Thank you very much for your reply! I have to take care in placing restrictions on the script in the blog. Thank you for the link, but I’ve already put two counters visits from alternative sources.
    Best wishes!
    I apologize for machine translation into English, I hope that the sense message is clear :-)

  • The topic ‘Text Widget Problems’ is closed to new replies.