How to add a Sustain’d button to your LDS-oriented blog

I just added a "Sustain’d" button to this blog. If you read an LDS-oriented post that you like, please click the "Sustain This!" button to refer it to others.

While adding the button, I found out that the instructions on the sustaind.org web site for adding these buttons to blogs hosted by Blogger is out of date and has bugs in it. I fixed up the code before inserting it into my own blog.  In case you want to add it to your Blogger-hosted blog, here is the code I used in my blog template to add the button. I added it directly under the line that has the tag <data:post.body/>.  You may have to check the Expand Widget Templates checkbox to see this tag.

<!-- Sustain'd -->
<div id="meneame" style="width: 98px; height: 17px; border: none; padding: 0; margin: 0; background:transparent; margin-bottom:15px; margin-left:10px; ">
<iframe id="sustaindiframe" width="98" height="17" scrolling="no" frameborder="0" marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" expr:src='"http://www.sustaind.org/api/check_url.php?url=" + data:post.url'></iframe>
</div>
<!-- /Sustain'd -->

Comments are closed.