• Normally it’s possible to see the text and code and therefore delete it easily, but this time my footer.php shows a long code like this:

    <?php $QBD769099277402CEFC8E88CEDD7FCE4D="DQovKg0KRW5jb2RlciA6IE5FVC1URUMgUEhQLUVOQ09ERVIgViAxLjANCldFQiA6IGh0dHA6Ly93d3cubmV0LXRlYy5iaXovDQoqLw0KPz4JCQk8ZGl2IGNsYXNzPSJjbGVhcmVyIj48L2Rpdj4NCgkJPC9kaXY+DQoJPC9kaXY+DQoJPGRpdiBpZD0iZm9vdGVyIj4NCgkJPGRpdiBpZD0iZm9vdGVyLXdyYXBwZXIiPg0KCQkJPHA+DQoJCQkJQ29weXJpZ2h0ICYjMTY5OyA8P3BocCBlY2hvIGRhdGUoJ1knKTsgPz4gPHNwYW4gY2xhc3M9InVybCBmbiBvcmciPjw/cGhwIGJsb2dpbmZvKCduYW1lJyk7ID8+PC9zcGFuPi4gPGJyIC8+DQoJCQkJPGEgaHJlZj0iaHR0Oi8vd3BjbGFzc2ljLmNvbSIgdGl0bGU9IkJlc3QgV29yZFByZXNzIFRoZW1lcyI+QmVzdCBXb3JkUHJlc3MgVGhlbWVzPC9hPiB8IE1haGluYWhvbiBpcyBkZXNpZ25lZCBieSA8YSBocmVmPSJodHRwOi8vd3d3LnBhZGRzb2x1dGlvbnMuY29tIiB0aXRsZT0iRGF2YW8gV2Vic2l0ZSBEZXNpZ24iID5QYWRkIFNvbHV0aW9uczwvYT4uPGJyIC8+DQoJCQkJR2V0IDxhIGhyZWY9Imh0dHA6Ly9maW5tYXRzLmNvbSI+ZnJlZSBmaW5hbmNpYWwgYWR2aXNlPC9hPiBvbiA8YSBocmVmPSJodHRwOi8vY3JlZGl0Y2FyZHNlbnNlLm5ldCI+Y3JlZGl0IGNhcmRzPC9hPiA8YSBocmVmPSJodHRwOi8vdGhlZGVidHJlbGllZnNpdGUuY29tIj5kZWJ0IHJlbGllZiBncmFudDwvYT4uPC9wPg0KCQkJPC9kaXY+DQoJPC9kaXY+DQo8L2Rpdj4NCjwvYm9keT4NCg0KPC9odG1sPiANCiAgICA=";eval(base64_decode($QBD769099277402CEFC8E88CEDD7FCE4D));?>

    I want to remove a line of text in the footer. Where in the world can I do that??

    Thanks! ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • the theme author did that – it’s becoming a huge nuisance with premium themes to obfuscate the code to keep their links.
    great article explaining the dangers of this
    https://riteturnonly.com/2008/12/29/say-no-to-encrypted-footers/

    having said that – here is one way to decode it:
    go to your blog in your favorite browser and view its source code - In Firefox >> right click >> view page source - and study the rendered html in your footer. You can copy that back into footer.php in place of that obnoxious code.

    Personally, I think folks should avoid these themes like the plague – the ability for abuse is very ripe. Also, if folks quit using them – the authors would quit obfuscating code.

    Here’s what the encoded bit translates to (with the advert URLs removed by me) –

    /*
    Encoder : NET-TEC PHP-ENCODER V 1.0
    WEB : https://www.net-tec.biz/
    */
    ?>			<div class="clearer"></div>
    		</div>
    	</div>
    	<div id="footer">
    		<div id="footer-wrapper">
    
    				Copyright © <?php echo date('Y'); ?> <span class="url fn org"><?php bloginfo('name'); ?></span>.
    				<a href="htt://urlremoved" title="Best WordPress Themes">Best WordPress Themes</a> | Mahinahon is designed by <a href="https://urlremoved" title="Davao Website Design" >Padd Solutions</a>.
    				Get <a href="https://urlremoved">urlremoved</a> on <a href="https://urlremoved">urlremoved</a> <a href="https://urlremoved">urlremoved</a>.
    
    			</div>
    	</div>
    </div>
    </body>
    
    </html>

    I do not like these hidden links at all. You could remove the whole thing and just replace the relevant closing divs etc.. but that may be against the TOU for your theme, in which case I would be tempted to bin the theme.

    For reference, I decoded the text here – https://www.opinionatedgeek.com/dotnet/tools/Base64Decode/Default.aspx

    Thread Starter talblind

    (@talblind)

    Thanks, I’ll look into it!

    Wow that’s nasty. I mean, of course people should add a link to the author – but this code had links to credit card ads. I don’t want to “host” an ad like that for the author!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How do I remove something from footer’ is closed to new replies.