Jump to content
Sign in to follow this  
Jill

Trumba spuds don't display in WordPress blogs

Recommended Posts

Issue

If you try to enter spud code into a post on a WordPress blog that is hosted on WordPress.com, the javascript tags are removed by the WordPress editor, and the arguments that display the spud are converted to text, so what you see in your blog is the spud code text.

 

Explanation

Blogs hosted on WordPress.com do not support javascript for security reasons, which you can read about on the wordpress.com site and in their support forums.

 

If you have downloaded the WordPress software from WordPress.org (a different site from wordpress.com) and set it up on your own host, you might be able to use the older version of the spud code to embed spuds, following these steps:

  1. In your WordPress blog, click My Profile, and then uncheck the Use the visual rich editor when writing check box.
  2. Open the post in which you want your spud, and enter a previous version of the Trumba spud code (given below this procedure) into the Write Post page.

Main calendar spud

<script type="text/javascript" src="http://www.trumba.com/k.aspx?calendar='>http://www.trumba.com/k.aspx?calendar=yourcalendarname"></script>

 

Mix-in (calendar list) spud

<script type="text/javascript" src="http://www.trumba.com/k.aspx?calendar=yourcalendarname&widget=mix"></script>

 

For other spuds, for widget=, you simply use the appropriate spud type. You can get the appropriate spud type from the code that Trumba generates for the spud in your Publishing Control Panel. You can also use additional URL parameters to control the display of the spud if you want.

 

If you have downloaded the software, you might also be interested in reading the WordPress documentation about using JavaScript with their software.

 

We have contacted WordPress support to request that they consider allowing Trumba spud code in posts, and we will post any new information we get on the issue.

 

Many thanks to our forum members Bruce (iwork2ski) and Tal who posted helpful information here.

Note: Tal has also tried installing a third-party rich-text editor for WordPress, and this editor didn't remove the javascript for the Trumba spuds. We have not used this product, so we cannot comment on its effectiveness or quality, but if you prefer a rich-text editor to manually coding HTML, you might want to read Tal's post and decide for yourself.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×