Created
December 21, 2009 16:19
-
-
Save rmccue/261029 to your computer and use it in GitHub Desktop.
A plugin for the Great Australian Internet Blackout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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