Code:
<?php
/*
Plugin Name: Disable Footer Links
Plugin URI: http://www.blackhatworld.com
Description: This plugin disables footer links for a specific theme. Shouldn't do anything to other themes.
Author: BHW
Version: 1.0
*/
# this hides footer links, but they're still there so they might be passing juice
function bhw_custom_css(){
?>
<style type="text/css" media="all">
#footer .footer_txt .smthemes{ display:none; }
</style>
<?php
}
add_action('wp_head','bhw_custom_css');
# time to disable them completely.
add_action('init','ob_start');
add_action('shutdown','bhw_process_footer');
function bhw_process_footer(){
$c = ob_get_clean();
echo str_replace("<div class='smthemes'>Designed by <a href='http://smthemes.com/' target='_blank'>WordPress themes</a>, thanks to: <a href='http://wpdis.co/' target='_blank'>Simple WordPress theme</a>, <a href='http://lizardthemes.com' target='_blank'>LizardThemes.com</a> and <a href='http://fthe.me/moustachey-a-blog-theme-with-extra-gusto/' target='_blank'>Blog themes</a></div>",'',$c);
}
1. Save this code to a file disable-footer-links.php.
2. Upload to /wp-content/plugins/
3. Go to yoursite.com/wp-admin/, go to plugins, activate "Disable Footer Links"
Should work.