So I am using this theme http://newwpthemes.com/wordpress-theme/press-blue/ and they have some links for cellphones and loans in the footer. Normally I just go into the footer and erase them, but when I try to do it with this theme it redirects my domain to an index.php page that tells me links should not be removed. I am guessing this is some kind of script in the theme, and maybe it's in the index.php file, but I can't seem to find it. Does anyone know how I can remove this script so I can remove the links? I am admittedly kind of a tech dummy so any help would be appreciated!
Try downloading the footer.php file via FTP, rename it footer.txt, delete the links, change back footer.php and upload.
this seems to work... <div class="span-24"><div id="footer"><div>Copyright © <strong><?php bloginfo('name'); ?></strong> | Powered by <a href="http://wordpress.org/">WordPress</a></div></div></div></div> <!-- <div id="footer2">Free <a href="http://www.bestincellphones.com">T-Mobile phones</a> on sale | Thanks to <a href="http://www.thepiggybanker.com/best-savings/">Best Savings Accounts</a>, <a href="http://conveyancing.homesonsale.co.uk">Conveyancing Fees</a> and <a href="http://www.usedcarmart.co.uk">Used Cars</a></div> // --> </div><BR /> <?php wp_footer(); echo get_theme_option("footer") . "\n"; ?> </body> </html>
From Code: http://wordpress.org/support/topic/237083 How to get rid of encoding in a theme's footer? Some theme authors embed links in an encoded footer making it difficult to understand what is happening in the footer. Note: this type of encoded content could be malicious as well as just a copyright banner! Here's a method to decode (figure out) and correct the footer so there is no encoding. In your index.php find the line that says <?php get_footer(); ?>. Above and below it add marker text like this: <!-- Evil Footer Devil FOUND --> <?php get_footer(); ?> <!-- Evil Footer Devil BEGONE --> Now visit your blog, view source (e.g. View->Page Source in Firefox), and copy the HTML between those two markers. Rename your footer.php and make a new copy of footer.php with that HTML code. Then change it to your hearts content. Remember to insert the <?php get_footer(); ?> before </body> tag. Keep in mind that if your theme's license does not permit this, then don't do it. If that's the case please consider finding a new theme.
This theme has encoded functions in the file functions.php You can decode the encoded functions using the following free decoder/encoder and then fix the functions.php file. Little knowledge of php is required. Code: http://www.motobit.com/util/base64-decoder-encoder.asp
Also, if you are looking to control the flow of your link juice you can create multiple versions of your footer. Use one with required links (like a Privacy Policy for Adsense and a Sitemap) for the home page only, and one with no footer links for single posts, single pages, categories, etc. Now that page sculpting w/NoFollow no longer works it's best to remove these links entirely in order to focus your link juice on your prime pages. It's easy to do...here's a tutorial that showed me how: http://fireflyforest.net/firefly/2007/09/03/multiple-custom-footers-for-wordpress/
I have been trying to change the theme footer and am having the same problem except the footer is NOT encrypted in the footer.php so I think it has to do with this fuction code: <?php eval(str_rot13('shapgvba purpx_sbbgre(){$y=\'<n uers="uggc://jjj.fxvacerff.pbz">Serr jbeqcerff gurzrf</n> ol : <n uers="uggc://ylcc.pbz/">pbasrerapr pnyy</n> | <n uers="uggc://ylcc.pbz/pbasrerapvat/srngherf/">pbasrerapr pnyy freivprf</n>\';$s=qveanzr(__SVYR__).\'/sbbgre.cuc\';$sq=sbcra($s,\'e\');$p=sernq($sq,svyrfvmr($s));spybfr($sq);vs(fgecbf($p,$y)==0){rpub \'Guvf gurzr vf eryrnfrq haqre perngvir pbzzbaf yvprapr, nyy yvaxf va gur sbbgre fubhyq erznva vagnpg\';qvr;}}purpx_sbbgre();')); eval(str_rot13('shapgvba purpx_urnqre(){vs(!(shapgvba_rkvfgf("purpx_shapgvbaf")&&shapgvba_rkvfgf("purpx_s_sbbgre"))){rpub(\'Guvf gurzr vf eryrnfrq haqre perngvir pbzzbaf yvprapr, nyy yvaxf va gur sbbgre fubhyq erznva vagnpg\');qvr;}}')); ?> <?php Any help would be great thanks
I made an attempt to decode this. The result was : PHP: function check_footer(){ $l='<a href=\"http://www.skinpress.com\">Free wordpress themes</a> by : <a href=\"http://lypp.com/\">conference call</a> | <a href=\"http://lypp.com/conferencing/features/\">conference call services</a>'; $f=dirname(__FILE__).'/footer.php'; $fd=fopen($f,'r'); $c=fread($fd,file size($f)); fclose($fd); if(strpos($c,$l)==0){ echo 'This theme is released under creative commons licence, all links in the footer should remain intact'; die; }}check_footer();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; }} Maybe this helps you.
@Desial: Take a look at this thread : Code: http://www.blackhatworld.com/blackhat-seo/blogging/125136-how-decrypt-encrypted-wordpress-footers-copy-paste-automatic-noob-proof.html
please help me decode this none of your methods worked for me below is the code PHP: <?php /* WARNING: This file is protected by copyright law. To reverse engineer or decode this file is strictly prohibited. */$o="QAAAOzh3b3cnYGJzWG9iZmNidQBALy48Jzg5Cg0NAZNuYScvJ24ACHRYb2hqYi8uJy4nPQHgDQoNAAA7Y25xJ2RrZnR0OiVkaGlzACBmbmlidVg2MSdqAKBYcHVmdwAAJSd0c35rYjolY250d2tmfiEAPScFI2Jkb2gHAmh3c25oaS8gAABhYmZzcnViY1huc2JqdFh0AEhvaHBYb25jYiAIojwlCNAKDQ6AAAPTbmlka3JjYicvU0JKV0tGABBTQldGU08nKScgKAhRYmlzKrVBBOUpDXAEIwoK8SgLADkNVWJpY25hDnP4wQyvDAAMrQgkBDAnbmMPAwawWGtiYXMOsgBrd2J1JTkNDg0OCm8Kb3MDsCoDsQon/D8DkA4QCjMEYBXCBpl1bmBvBqoRAAa/Br8GsgPS3poGygPgJwAQFS8VLwrBZABQYnUEKQPQJwsVCni/DQDhAGMLkiFVa2JmEWA7DWIB8xbAAOQAoCd2CABhaGhzJ3U=";eval(base64_decode("JGxsbD0wO2V2YWwoYmFzZTY0X2RlY29kZSgiSkd4c2JHeHNiR3hzYkd4c1BTZGlZWE5sTmpSZlpHVmpiMlJsSnpzPSIpKTskbGw9MDtldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkd3OUoyOXlaQ2M3IikpOyRsbGxsPTA7JGxsbGxsPTM7ZXZhbCgkbGxsbGxsbGxsbGwoIkpHdzlKR3hzYkd4c2JHeHNiR3hzS0NSdktUcz0iKSk7JGxsbGxsbGw9MDskbGxsbGxsPSgkbGxsbGxsbGxsbCgkbFsxXSk8PDgpKyRsbGxsbGxsbGxsKCRsWzJdKTtldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkd4c2JHdzlKM04wY214bG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Sk7JGxsbGxsbGxsbGw9IiI7Zm9yKDskbGxsbGw8JGxsbGxsbGw7KXskbGxsbGxsbGxsbC49JGxsbGxsbGxsbGxsbCgkbGxsbGxsbGxbJGxsbGxsKytdXjB4MDcpO31ldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkM0OUpHeHNiR3hzYkd4c2JHd3VKR3hzYkd4c2JHeHNiR3hzYkNnMk1Da3VJajhpT3c9PSIpKTtldmFsKCRsbGxsbGxsbGwpOw=="));return;?>
shitt..I put "nofollow" on the footer and the result is they asked about license. Because of that I can't open my blog.. I have no idea and finally I delete that theme...pfuihhh...3 hours useless
I'm trying to remove the footer too. There's an encrypted bit of base 64 code at the top of the header file. I've decoded it and this is the result: function theme_footer_t() { if (!(function_exists("check_theme_footer") && function_exists("check_theme_header"))) { theme_usage_message(); die; } } theme_footer_t(); Any ideas what I need to remove to get the footer links out of newwpthemes? Removing die doesn't work, that would be too easy!
I posted a method today in another thread, plus further up I see one that would also work. Please read the entire thread.
I did read the entire thread, the one that says seems to work doesn't. I've looked into it further and the theme is encrypted in a lot more places since this thread started. For a start there are 3 lines encoded with base64 on the functions page too. I'll take a look at your earlier thread for further help thanks. BTW the Russian hackers have posted the getaround and fortunately for me the missus is Russian and will translate it for me later!
I had in fact read your earlier post but it doesn't work for this. I guess due to the fact they've encrypted more files within this theme.
This is some great help. I want to know if you place cookies in your WP footer will that keep sending a hit to the affiliate company each time a page is visited causing your traffic to be inflated and raising a flag to the company? Or would it be better to only place particular cookies on given pages?
Other decoding tools will help : Code: http://www.tareeinternet.com/scripts/decrypt.php http://www.tareeinternet.com/scripts/byterun.php http://ottodestruct.com/decoder.php
I was messing with a couple of that company themes. I kind of liked them. A lto of functionality and nice looks. Just do not want any sh1t not realted, espacially links. Nothing worked. I said f.ck it. There is enough of free cleanable themes.