Sillyness Spelled Wrong Intentionally

CC License Hack

Penned 13 years ago.

 was spinning on the ol' iTunes.

I really don't consider this a breaking of my no-blogging vow since this is the way that I release hacks for Wordpress.

By popular demand I am releasing the hack I wrote to copyright your Wordpress powered blog with a Creative Commons License.  Download the .zip file over here.

Now there will be directions in the zip file, but per usual I will list here the funtion that you need to include in your my-hacks.php file:

function the_copyright() { global $tableoptions, $tablecopyright; $query = ("SELECT option_value FROM $tableoptions WHERE option_name = 'copyright_option'"); $result = mysql_query($query); while ($data = mysql_fetch_row($result)) { $copyvalue = stripslashes("$data[0]\n
"); } $query2 = ("SELECT copyright FROM wp_copyright WHERE option_value = '$copyvalue'"); $result2 = mysql_query($query2); while ($data2 = mysql_fetch_row($result2)) { echo stripslashes("$data2[0]
\n"); } }

That is it for that hack.  Oh and one thing that I left out was that you need to have a .gif file named somerights.gif in the root level of your site. You can use the one I have here, or you can use one of your own making.

I hope you enjoyed reading CC License Hack
By becoming a Patron of Sillyness you can ensure quality writing, film, photography and music like this continue to be made available.

Say Hello to Filmio

Hey there friend! I have launched Filmio, a new type of entertainment company that brings together fans and creators in a way never before possible! If you want access to great content, click here to jump over and join our team. Together we can change the way great movies and tv shows are made. Thanks!

— Chris J.