Modify footer.php in Wordpress Theme and Cannot Access Blog
*** Update 23/05/2010
There are two techniques, that I know of, used to cause this behavior. One is to encrypt the contents of footer.php, and the other is to insert scrambled code into functions.php. In my case, there were two blocks of code in the functions.php file that started like this:
eval(str_rot13(’shapgvba purpx_sbbgre()…
I was able to simply delete these two blocks of code, save functions.php, and then edit the contents of footer.php without having the blog disabled. I would, however, recommend that you keep a backup copy of both functions.php and footer.php in case your attempt doesn’t go as smoothly as mine. You could then upload both files, via FTP, in case something goes wrong.
On morality, I do believe that the authors of the theme should be given credit, however, they were inserting links (advertisements) in the footer that had nothing to do with the theme’s author. For this reason, I decided to remove the links.
***
You may have attempted to modify the footer.php file of your Wordpress theme and the following error message appeared:
“This theme is released under creative commons licence, all links in the footer should remain intact”

Resulting error after modifying the footer.php file
The message appears whether you try to access your blog or the back-end administrative interface.
The reason for this is that the footer contains links to the author of the Wordpress theme. The theme has been programmed to lock you out of the blog if these links are removed or altered.
One solution to this problem is to find a backup copy of the footer.php file and re-upload it to the appropriate theme folder via FTP. Your web hosting provider should provide an FTP tool that you can use to do this.
If you don’t have a backup of the theme files on your computer, you could try re-downloading the code from the author’s website, extract the footer.php file, and upload it via FTP.
If that doesn’t solve the problem you can check out the following links for other suggestions:
http://wordpress.org/support/topic/243764
Related Posts
Tags: wordpress
Leave a Reply
