Skip to content

Instantly share code, notes, and snippets.

@rmccue
Created December 21, 2009 16:19
Show Gist options
  • Save rmccue/261029 to your computer and use it in GitHub Desktop.
Save rmccue/261029 to your computer and use it in GitHub Desktop.
A plugin for the Great Australian Internet Blackout
<?php
/*
Plugin Name: Blackout your Blog
Description: From Monday, January 25th to Friday, January 29th, Aussie websites will turn their lights out — "black out" — to inform Australians about the threat of imposed Internet censorship. Pledge your support, and install this plugin!
Version: 1.0
Author: Ryan McCue
*/
function blackout_js() {
?>
<script type="text/javascript" src="http://www.internetblackout.com.au/ib/blackout.js"></script>
<?php
}
add_action('wp_footer', 'blackout_js');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment