FREE* Remove Wordpress Theme footer links and Blogroll

Very good plugin! It will come in really handy in my daily life :P
 
i dont think i can post any links here as i m a new member!!! still trying, pls bear wid me.its technounited (.) asia/technomind
remove the ()

Hope this works for you!

PHP:
<?php
/*
Plugin Name: BlogRoll Remover
Plugin URI: http://wpsynit.zar.vg
Description: Remove BlogRoll from WordPress Pages. 
Version: 1.0
Author: wickedguy
Author URI: http://wpsynit.zar.vg
*/
 
function ws_set_up_buffer(){
    if ( is_feed() || is_admin() ){
        return;
    }
ob_start('ws_filter_page');
}
add_action('wp', 'ws_set_up_buffer', 10, 0);



function ws_filter_page($html){
$patterns=array('/<li><a href=\"http:\/\/codex\.wordpress\.org\/\">Documentation<\/a><\/li>/si',
'/<li><a href=\"http:\/\/wordpress\.org\/extend\/plugins\/\">Plugins<\/a><\/li>/si',
'/<li><a href=\"http:\/\/wordpress\.org\/extend\/ideas\/\">Suggest Ideas<\/a><\/li>/si',
'/<li><a href=\"http:\/\/wordpress\.org\/support\/\">Support Forum<\/a><\/li>/si',
'/<li><a href=\"http:\/\/wordpress\.org\/extend\/themes\/\">Themes<\/a><\/li>/si',
'/<li><a href=\"http:\/\/wordpress\.org\/news\/\">WordPress Blog<\/a><\/li>/si',
'/<li><a href=\"http:\/\/planet\.wordpress\.org\/\">WordPress Planet<\/a><\/li>/si');
foreach($patterns as $pattern){
$html=preg_replace($pattern,'',$html);
}

$pattern='/<div class=\"bottom\"(.*?)<\/body>/si';
if(preg_match($pattern,$html,$matches)){
$pat='/>(.*?)</si';
$match=preg_replace($pat,">  <",$matches[1]);
$patt='/<a href=[\"|\']?(.*?)[\"|\']>(.*?)<\/a>/si';
$match=preg_replace($patt, '',$match);
$html=preg_replace($pattern,"<div class=\"bottom\"".$match."</body>",$html);
return $html;
}

$pattern='/<div id=\"credits\"(.*?)<\/body>/si';
if(preg_match($pattern,$html,$matches)){
$pat='/>(.*?)</si';
$match=preg_replace($pat,">  <",$matches[1]);
$patt='/<a href=[\"|\']?(.*?)[\"|\']>(.*?)<\/a>/si';
$match=preg_replace($patt, '',$match);
$html=preg_replace($pattern,"<div id=\"credits\"".$match."</body>",$html);
return $html;
}


$pattern='/<div class=\"footer\"(.*?)<\/body>/si';
if(preg_match($pattern,$html,$matches)){
$pat='/>(.*?)</si';
$match=preg_replace($pat,">  <",$matches[1]);
$patt='/<a href=[\"|\']?(.*?)[\"|\']>(.*?)<\/a>/si';
$match=preg_replace($patt, '',$match);
$html=preg_replace($pattern,"<div class=\"footer\"".$match."</body>",$html);
return $html;
}

$pattern='/<div id=\"footer\"(.*?)<\/body>/si';
if(preg_match($pattern,$html,$matches)){
$pat='/>(.*?)</si';
$match=preg_replace($pat,">  <",$matches[1]);
$patt='/<a href=[\"|\']?(.*?)[\"|\']>(.*?)<\/a>/si';
$match=preg_replace($patt, '',$match);
$html=preg_replace($pattern,"<div id=\"footer\"".$match."</body>",$html);
return $html;
}

$pattern='/<div id=\"footer-wrap\"(.*?)<\/body>/si';
if(preg_match($pattern,$html,$matches)){
$pat='/>(.*?)</si';
$match=preg_replace($pat,">  <",$matches[1]);
$patt='/<a href=[\"|\']?(.*?)[\"|\']>(.*?)<\/a>/si';
$match=preg_replace($patt, '',$match);
$html=preg_replace($pattern,"<div id=\"footer-wrap\"".$match."</body>",$html);
return $html;
}

$pattern='/<div class=\'smthemes\'(.*?)<\/body>/si';
if(preg_match($pattern,$html,$matches)){
$pat='/>(.*?)</si';
$match=preg_replace($pat,">  <",$matches[1]);
$patt='/<a href=[\"|\']?(.*?)[\"|\']>(.*?)<\/a>/si';
$match=preg_replace($patt, '',$match);
$html=preg_replace($pattern,"<div class='smthemes'".$match."</body>",$html);
return $html;
}



        return $html;
}

?>
 
hello

i am having problem with wordpress..when i am pasting the ******* content locker into "new post " after i click update..the code dissappears there and the image is showing normal with no hyperlick..in it..
can anybody help me with my problem please..
 
Thanks for the plugin.
Anyways I installed it and nothing is happening. First I had the problem of other users receiving an error message, but delete blank spaces as told but then the footer is still there.. :( My theme is "forever". I really really want the footer to disappear!!!!
Help please!!!
Thanks
 
Great thanks!

I have a blog with my own domain on the wordpress platform and I really wanted to get rid of their footnote, but couldn't, so I gave up. This is very useful. Thanks!
 
Great thanks!

I have a blog with my own domain on the wordpress platform and I really wanted to get rid of their footnote, but couldn't, so I gave up. This is very useful. Thanks!

Glad you find it useful. :)
 
I would really appreciate your help... i've been lost for hours looking for a solution and cannt find nothing else...
 
I would really appreciate your help... i've been lost for hours looking for a solution and cannt find nothing else...
send me your ftp and wordpress login and I will fix it for you
 
i'm trying to send u private message but i'm a new user so i cann't. Can u send me something so i probably can reply it with the information? thanks again.. :)
 
doesnt works for me. i use thingreal theme. cant send email or pm message because of the newbie tag please help me..
 
doesnt works for me. i use thingreal theme. cant send email or pm message because of the newbie tag please help me..

Another mission completed successfully! Enjoy :)
 
I got so excited when I seen this post! I have tried to install like you said but I get this error:

"The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature"

Any suggestions
 
I give a **** to those so called legal trouble. Afterall, I am using a software with GPL license dude... I make my own theme anyway :P
Um better be careful on what themes you use it on (*legal troubles...*). I've never ran into any of these problems myself, but you never know.

Great plugin, but couldn't a person just remove the footer text from a theme manually? It seems unnecessary to add an extra load to wordpress.

But great plugin, it may be useful to those who can't read code.
 
Back
Top