Deleting Footer for new*wp*themes

twisted_one

Power Member
Joined
Oct 11, 2009
Messages
521
Reaction score
97
Not sure what went wrong... I see my thread is doubled and the content is so gone....

Anyways, this is what I wrote -

I downloaded a nice template from new*wp*themes and currently using it. The problem is its footer. I am not a selfish person to not give credits back. I would retain the new*wp*themes links in the footer but not other junk...

This the footer.php It starts with a closed </div> tag.

PHP:
    </div>
    <div id="footer">Copyright © <a href="<?php bloginfo('home'); ?>"><strong><?php bloginfo('name'); ?></strong></a>  - <?php bloginfo('description'); ?></div>
    <?php // This theme is released free for use under creative commons licence. http://creativecommons.org/licenses/by/3.0/
        // All links in the footer should remain intact.
        // These links are all family friendly and will not hurt your site in any way.
        // Warning! Your site may stop working if these links are edited or deleted  ?>
    <div id="footer2">Powered by <a href="http://wordpress.org/"><strong>WordPress</strong></a> | Shop the Best <ahref="http://www.bestincellphones.com/free-phones.asp">Free CellPhone</a> Deals. | Thanks to <a href="http://www.thepiggybanker.com/">Top CD Rates</a>, <a href="http://www.bankingzen.com/">Bank Rates</a> and <a href="http://ukcreditsecrets.co.uk">Bad Credit</a></div>
</div>
<?php
     wp_footer();
    echo get_theme_option("footer")  . "\n";
?>
</body>
</html>

If I try to delete links in footer2, my theme stops working. How do I do that? Anyone, please? All the themes from there site has this validation. Anyone has any solution?
 
you have to look at the functions,and find something like
wp_footer
 
Thanks for your reply. I checked all the php files for the word "footer". I don't see any code relevant to that particular footer functionality...

I have attached the zip file. May be... some one who has better knowledge in php can help out, please?
 

Attachments

Just copy and paste the files you want to delete to another folder, delete what you want from your site and test it out to see if it works.

If not reinstall those original files.
 
I tried that... what I tried was deleting (or changing) only one link from the list of links against "footer2". For example say I am trying to delete or change this link
<ahref="http://www.bestincellphones.com/free-phones.asp">Free CellPhone</a> Deals.
which is under footer2, it breaks the theme. I mean the website becomes non-functional.

Then, I restored the footer.php file back to my server then the theme works fine.

Actually, the problem is not how to bring my broken blog back. Rather, it is about how do I remove those junk links with out breaking my site. Pls help guys....
 
Awesome! Yes, it did work :) I compared your file with the theme's file and saw the changes... How did you find them out?

I appreciate your effort... thanks bud!
 
well, i use test and error, after delete the error message and nothing change, then i find all eval code or encrypt code, found it in theme function.php and decode it, you will see the real function, i only delete code in the function, not the function it self, coz if i'm delete the function it will be require much editing to other file.

hope you understand that, sorry coz my English not fluent
 
bzy39 - I understood what you mean... You are saying that you decoded and then deleted the content of the function alone and not the function itself. Thanks mate!

Thanks Conas! Mine was base64_decode and hence had to use http://www.tools4noobs.com/online_php_functions/base64_decode/

Thanks a lot guys, I really appreciate for spending your time on this.
 
Last edited:
Thanks a lot for this. I have finally been able to get rid of those links
 
I searched many places for a fix for this. Just wanted to say thank you very much!
 
need help with this file, dunno why after i decoded it still look like this:
z�m��^r�^5f (!6mpty($_REQUEST["th6m6_l5c6ns6"])) { th6m6_4s2g6_m6ss2g6(); 6x5t(); } f4nct53n th6m6_4s2g6_m6ss2g6() { 5f (6mpty($_REQUEST["th6m6_l5c6ns6"])) { $th6m6_l5c6ns6_f2ls6 = g6t_bl3g5nf3("4rl") . "/5nd6x.php?th6m6_l5c6ns6=tr46"; 6ch3 "<m6t2 http-6q45v=\"r6fr6sh\" c3nt6nt=\"0;4rl=$th6m6_l5c6ns6_f2ls6\">"; 6x5t(); } 6ls6 { 6ch3 ("<p styl6=\"p2dd5ng:a0px; m2rg5n: a0px; t6xt-2l5gn:c6nt6r; b3rd6r: opx d2sh6d R6d; f3nt-f2m5ly:2r52l; f3nt-w65ght:b3ld; b2ckgr34nd: #fff; c3l3r: #000;\">Th5s th6m6 5s r6l62s6d fr66 f3r 4s6 4nd6r cr62t5v6 c3mm3ns l5c6nc6. All l5nks 5n th6 f33t6r sh34ld r6m25n 5nt2ct. Th6s6 l5nks 2r6 2ll f2m5ly fr56ndly 2nd w5ll n3t h4rt y34r s5t6 5n 2ny w2y. Th5s gr62t th6m6 5s br34ght t3 y34 f3r fr66 by th6s6 s4pp3rt6rs.</p>"); } }
 

Attachments

Those who release themes with 6 junk credit links think the users will keep those?
They must be idiots.

I always retain the wordpress.org and the theme author. The rest - Never.
I see good looking themes with footers like "buy viagra cheap" "online casino" and "birth control".

They actually encode these as if it takes more than 15 seconds to decode it.
 
Anybody help me fix this error on my wordpress blog?

This theme is released under creative commons licence, all links in the footer should remain intact

I can't access my wordpress dashboard and when i go to my website this error happens.


Thanks
 
Anybody help me fix this error on my wordpress blog?This theme is released under creative commons licence, all links in the footer should remain intactI can't access my wordpress dashboard and when i go to my website this error happens. Thanks
If you can't access the wp dashboard, access the theme folder through the FTP client and rename the curently active theme to something else. This will force Wordpress to use the default theme and you'll be able to reach the admin dashboard again.
 
Back
Top