Need help adding a button for a fundraising site to my sidebar.

  • Unknown's avatar

    I would like to add a button that links my followers to our adopt together fundraising site. I have the source code, I’m just not sure how to add the button as a widget.

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

  • Unknown's avatar

    Hi,

    If the button contains various JS code/other things, it might get filtered by WordPress. But if it’s a simple linked image, then it should be fine. What’s the code in question?

  • Unknown's avatar

    Paste the code here between backticks or CODE tags so it displays. I suggest you use a Paypal Donate button instead, as explained in the Support docs. http://en.support.wordpress.com/paypal/

  • Unknown's avatar

    Thank you! I’m afraid we can’t use paypal – this is a special site that allows for tax deductible donations that will be directed to our adoption agency.
    This is the code in question:

    <div id="adoptt-donate-button" adoptt-id="00933" style="display:none;" ><a href="https://adopttogether.org/bringingjosiehome" target="_blank"></a></div><script>!function(e,t,n){var r,i=e.getElementsByTagName(t)[0];if(!e.getElementById(n)){r=e.createElement(t);r.id=n;r.src="https://ats.adopttogether.org/js/ext-donateButton.js";i.parentNode.insertBefore(r,i)}}(document,"script","ext-donateJS")</script>

    Is there a certain widget that I need to use for this? I’m sorry, I’m very new to the blogging world and not very IT savvy.
    Thanks for your help!

  • Unknown's avatar

    Hi Jagarity,

    There has been some different views on how to go about this. Try below. It may work to create a imaged link:

    To link an image to a webpage, it’s important to remember the following:

    1) If using Paypal (for example) – the link required will be the Email link and NOT the html link for a website.
    2) The following link is based on uploading an image to your WordPress.com account first (Dashboard/Write)
    3) Once you’ve uploaded the image, write down or copy the URL of your image file (it’ll be found in the Dashboard – Manage/Uploads – and then double click the image you’ve just uploaded to display the html link information of your image).
    4) Go to Presentation/Sidebar Widgets and add a Text Widget for the linked Image file you’re about to create.
    5) Now simply add a link in the following format inside the TEXT widget:

    <a href="insert website link here"><img src="insert picture file link here including file extension.gif"></a>

  • The topic ‘Need help adding a button for a fundraising site to my sidebar.’ is closed to new replies.