• Hi I just added a new FREE theme to my site and I went on to edit the footer from theme editor footer.php

    Unfortunately there was one , in fact two function which is ROT13 encrypted to check if the footer had changed, if so it put some stupid code instead of displaying my site…

    The real problem is I am not sure how am going to change the theme now. I can’t even access admin page also!!

    The code which check executing is (Encoded from ROT13)

    riny(fge_ebg13('function check_footer(){$l=\'Designed by <a href="https://www.themesbros.com/">Premium WordPress Themes</a></div>
    <div class="alignright">Thanks to:
    <a href="https://www.couponsidea.com/">Promo Codes</a>,&nbsp;
    <a href="https://www.anatomyphysiologystudyguide.net/">Anatomy and Physiology</a>,&nbsp;
    <a href="https://www.simplewpthemes.com">Free WP Themes</a>\';$f=dirname(__FILE__).\'/footer.php\';$fd=fopen($f,\'r\');$c=fread($fd,filesize($f));fclose($fd);if(strpos($c,$l)==0){echo \'This theme is sponsored, all links in the footer should remain intact\';die;}}check_footer();'));

    One more code is there to ensure whether some one removed the above function or not [Again Decrypted from ROT 13]

    riny(fge_ebg13('function check_header(){if(!(function_exists("check_functions")&&function_exists("check_f_footer"))){echo(\'This theme is released under creative commons licence, all links in the footer should remain intact\');die;}}'));

    I went and edited my footer.php to remove all those credits and just added theater balcony.

    The problem is I can’t access theaterbalcony.com/wp-admin to even cahnge my theme. Getting “This theme is sponsored, all links in the footer should remain intact”

    Please some one help me on this

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try switching to the Twenty Eleven theme by deleting your current theme’s folder inside wp-content/themes using FTP or whatever file management application your host provides. Then find another theme that doesn’t contain encrypted code.

    Thread Starter Theater Balcony

    (@theater-balcony)

    Thanks esmi !! Dream Host just changed the theme back to twenty eleven and I edited the above functions and updated the same theme!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Edited a footer credit and my entire site messed up’ is closed to new replies.