Sustaind.org is sick. :( If you're a PHP programmer, can you help us upgrade Sustain'd and get it working again? If interested, email heather AT moregoodfoundation DOT org.
Add Link to your Blog
To add the Sustain'd link to your blog, you need to add the following line to your blog or website. This logo will alternate between the sustaining brother and the sustaining sister:
<script type="text/javascript" src="http://sustaind.org/api/check_url.js.php"></script>
For the brother-only logo, use this line:
<script type="text/javascript" src="http://sustaind.org/api/check_url.js.php?s=m"></script>
For the sister-only logo, use this line:
<script type="text/javascript" src="http://sustaind.org/api/check_url.js.php?s=f"></script>
Wordpress Users
If you have your own installation of Wordpress (i.e. not hosted on wordpress.com), follow these directions to insert the code:
- Open the file /wp-content/themes/your-theme-name/single.php in your favorite text editor
- Find the line that starts with
<?php link_pages...(somewhere around line 18) - Insert the code above before the previous line.
- Save your changes, and upload it to your server. Presto change-o!
Note: Wordpress.com users will not be able to integrate this link with their blogs. They don't allow you to edit the themes you use. Lame.
Blogger Users
If you use Blogger, follow these directions to insert the code: (if you're using Blogger Beta, please read the next section)
- Login to your blogger account, click on your "edit blog" link/icon, and click on the "Template" tab.
- Find the section that has the line
<div class="post-body">(somewhere near the middle). - Three lines down, insert the code above, before the
</div>tag. - Before the code, put
<ItemPage>and after the code put</ItemPage> - Save the changes and republish your blog. Presto change-o!
Note: Blogger Beta users should use these instructions instead:
- Login to your account, and under the "Manage Your Blogs" section click on the "Layout" link.
- In the navigation bar, click on the "Edit HTML" link.
- Above the large text box, click the "Expand Widget Templates" checkbox.
- About 2/3 of the way down, you need to find the line that says
<p><data:post.body/></p> - After that line, insert the following code:
<b:if cond='data:blog.url != data:blog.homepageUrl'> - After that line you just typed, insert the Sustain'd code at the top of this page.
- After that code, finish by inserting the following code on the next line:
</b:if> - Save the template. Presto change-o!
Still confused?
If you have questions on how to include the Sustain'd code in your posts or web page, please feel free to contact me for some help.
