Steve A Posted July 24, 2015 Report Share Posted July 24, 2015 There can be a few reasons why your Trumba spud code will not render correctly. Here are a few issues we have come across and the solutions that may help you resolve the issue. Issue: Trumba spud code renders correctly when you are logged in (WordPress site), however, if you are logged out or on incognito, the spud code cannot be rendered. Saw this in WordPress version 5.4.2 Solution: Check to see if you have a caching plugin (SG Optimizer from my webhost Siteground) that combines all javascript files to load the pages quicker. Disable that function of SG Optimizer, and all the Trumba spud code rendered correctly. Issue: Wordpress host may automatically update your Wordpress install to the version 4.2.3. which is a security release for a cross-site scripting vulnerability. If it does this, it may comment out all Trumba javascript on the page preventing the Trumba widgets from displaying on your site so you will have blank areas where your calendars and other spuds/widgets should be visible. To resolve this issue you can either roll back to Wordpress version 4.2.2.or instead, continue with version 4.2.3 and edit the source code of your HTML page(s) and locate the Trumba javascript code on your pages. You may find your code includes similar text in red in the example below which you want to remove: <script type="text/javascript" src="//www.trumba.com/scripts/spuds.js"> </script> <script type="text/javascript"> // <![CDATA[ $Trumba.addSpud({ webName: "trumbau", spudType : "main" }); // ]]> </script> The code should look like this: <script type="text/javascript" src="//www.trumba.com/scripts/spuds.js"> </script> <script type="text/javascript"> $Trumba.addSpud({ webName: "trumbau", spudType : "main" }); </script> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.