Justgiving widget
-
Hi, I’m not a coder, I’ve read a few posts on this but I still can’t work out what to do, can anyone help?
Our refugee aid fundraising group (http://cambridgecalaisrefugeeaction.org.uk/) has set up a JustGiving page for our winter appeal. We want to include a widget showing a totaliser and allowing people to donate on a page. Here’s the code I got from Justgiving.
<div id="jg-widget-ccrag-81"></div><script>(function(){var id="jg-widget-ccrag-81",doc=document,pfx=(window.location.toString().indexOf("https")==0)?"https":"http";var el=doc.getElementById(id);if(el){var js=doc.createElement('script');js.src=pfx+"://widgets.justgiving.com/fundraisingpage/ccrag?enc=ZT1qZy13aWRnZXQtY2NyYWctODEmdz00MDAmYj1pbm5lcixkb25hdGUsZnVuZHJhaXNlJmliPW93bmVyLHByb2dyZXNzLHJhaXNlZCx0YXJnZXQ%3D";el.parentNode.insertBefore(js, el);}})();</script>
From what I’ve read this contains Javascript and I need to convert it to shortcode in order for it to work. Can any kind soul help me do that.The blog I need help with is: (visible only to logged in users)
-
As this is a multiuser blogging platform there are some code restictions for security reasons. If the widget you refer to is a Javascript widget or an iframe you won’t be able to use it. http://en.support.wordpress.com/code/
-
see here for a PayPal donation button https://en.support.wordpress.com/paypal/
Further information
https://en.support.wordpress.com/widgets/text-widget/Dashboard > Appearance > Widgets
http://cambridgecalaisrefugeeaction.org.uk/wp-admin/widgets.php
- The topic ‘Justgiving widget’ is closed to new replies.