WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Re-Abolish Slavery Ribbon

Adds a "re-abolish slavery" ribbon to the top left or top right corner of your site, which links to the Not For Sale campaign.

What should I do if the ribbon isn't showing up?

Make sure your theme's footer.php calls wp_footer() just before the closing </body> tag. If it is, start a post in the support forums (see below for details).

Will the link open in a new window?

There is an option to control whether it does or not, but be aware that forcing links to open in a new window violates web standards. Please consider leaving it off.

How do I prevent the ribbon from overlapping my header on smartphones or other small screens?

You can go to the General Settings page and check the 'Move to Bottom on Small Screens' box. That will move the ribbon to the bottom of the page for smartphones and other devices with small screens.

Note that this won't work in Internet Expolorer 8 or below, because they don't support modern web standards.

Can I make a donation to support the plugin?

I don't want to take any donations for myself, but if you'd like to give something please consider making a donation to the Not For Sale campaign directly, or buying something from their store.

How can I get help when I'm having a problem?

  1. Read the answers on this page.
  2. Check the support forum, because your problem may already have been answered there, and if not, the answer you get will help others in the future.

If you still need help, then first follow these instructions:

  1. Disable all other plugins and switch to the default theme, then check if the problem is still happening.
  2. If it isn't, then the problem may actually be with your theme or other plugins you have installed.
  3. If the problem is still happening, then start a new thread in the forum with a detailed description of your problem and the URL to your site.
  4. Tag the post with re-abolish-slavery-ribbon so that I get an e-mail notification. If you use the link above it'll automatically tag it for you.
  5. Check the 'Notify me of follow-up posts via e-mail' box so you won't miss any replies.

I monitor the forums and will respond as my schedule permits.

How can I send feedback that isn't of a support nature?

You can send me feedback/comments/suggestions using the contact form on my website, and I'll respond as my schedule permits. Please don't use this if you're having trouble using the plugin; use the support forums instead (see above question for details).

Can I use this plugin to promote a different cause?

Yes, there are filters for changing the image and URL that it links to. Here's an example:

add_filter( 'rasr_image_location', 'rasr_replace_image' );
function rasr_replace_image( $image_location ) {
    // Example 1: Using an image from the Media Library. 28 is the ID of the attachment. Use wp_get_attachment_image_src to specific a thumbnail size.
    $image_location = wp_get_attachment_url( 28 );

    // Example 2: Using a direct URL, which can link to either a local or remote image. Keep in mind hotlinking to remote images is considered a bad practice.
    // $image_location = 'http://example.org/image.png';

    return $image_location;
}

add_filter( 'rasr_image_link_url', 'rasr_replace_image_link' );
function rasr_replace_image_link( $image_link_url ) {
    return 'http://example.org';
}

Add that code to a functionality plugin and modify it to fit your needs.

Requires: 2.8 or higher
Compatible up to: 3.8.3
Last Updated: 2013-12-15
Downloads: 1,213

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1