Problem embedding html code

  • Author
  • #1213914


    Hi, I would like to embed an interactive widget (created with the data visualization software Tableau) in my WordPress website, but it seems that when I paste the html code in the Text editor, WordPress cuts some parts of the code.

    Here is the code I want to embed:
    <script type=”text/javascript” src=””></script><div class=”tableauPlaceholder” style=”width:1370px; height:622px;”><noscript><img alt=”Rapporto Debito / PIL ” src=”” style=”border: none” /></noscript><object class=”tableauViz” width=”1370″ height=”622″ style=”display:none;”><param name=”host_url” value=”” /><param name=”site_root” value=”” /><param name=”name” value=”GAC-GNPProject/Dashboard2″ /><param name=”tabs” value=”no” /><param name=”toolbar” value=”yes” /><param name=”static_image” value=”” /><param name=”animate_transition” value=”yes” /><param name=”display_static_image” value=”yes” /><param name=”display_spinner” value=”yes” /><param name=”display_overlay” value=”yes” /><param name=”display_count” value=”yes” /></object></div><div style=”width:1370px;height:22px;padding:0px 10px 0px 0px;color:black;font:normal 8pt verdana,helvetica,arial,sans-serif;”><div style=”float:right; padding-right:8px;”>Learn About Tableau</div></div>

    And these are the “cuts” made by WordPress when I publish it:
    <div class=”tableauPlaceholder” style=”width:1370px;height:622px;”><img alt=”Rapporto Debito / PIL ” src=”” style=”border:none;” /> 
    <div style=”width:1370px;height:22px;padding:0 10px 0 0;color:black;font:normal 8pt verdana, helvetica, arial, sans-serif;”>
    <div style=”float:right;padding-right:8px;”>Learn About Tableau</div>

    I believe that there are some restrictions to the free version of WordPress. My question is: there is a get around to this?! And if not, what do I need to do (or buy) in order to get it to work correctly?


    The blog I need help with is

    #1214008 blogs are unable to use any Javascript, as this is a security issue. The only way around this, is to use and self host you’re blog.



    Thanks for the rapid response!
    So, if I got it right, I wouldn’t be able to use JavaScript even if I’d upgrade and buy the “pro” version of WordPress right?



    I wouldn’t be able to use JavaScript even if I’d upgrade and buy the “pro” version of WordPress right?


    All upgrades here are EXACTLY what they are spelled out as – no more no less

The topic ‘Problem embedding html code’ is closed to new replies.