Remove Wordpress theme footer credits from Combine (newwpthemes)

Jarwhato

Junior Member
Joined
Jul 29, 2009
Messages
162
Reaction score
40
Hey everyone, I just got this theme from newwpthemes.com and I would like to remove the footer links from the theme. This is something I have done quite a few times before and it usually just involves decoding some base64 and alterting the outputted text. However, in this theme, there doesn't seem to be any encryption but I don't know enough about coding to figure out what parts of the code to modify in order to remove the links. If someone could help me out it would be greatly appreciated.

Link to the theme:
http://newwpthemes.com/demo/Combine/

Functions.php
http://pastebin.com/zTZs16h3

Footer.php
http://pastebin.com/rt0xHvDK

Header.php
http://pastebin.com/JkPH5TVT


Thanks in advance!
 
Ya, that's what I want to remove. But I have to modify the code in functions.php so that the theme doesn't stop functioning after removing that line.
 
Thanks for the reply, but when I remove line 164 from functions.php I get this error:

"All the links in the footer should remain intact. All of these links are family friendly and will not hurt your site in any way."
 
i've just removed mine. you can send me your footer.php and functions.php and i'll have a check. You can also send me what you want to put in your footer
 
Is the functions the area that sets the script to act up in the footer. What does this code normally look like small brat so I have an idea what to play around with.
 
Step1: At line 176 in functions.php (in my theme) OR find "function wp_initialize_the_theme_finish" in functions.php where it says:

function wp_initialize_the_theme_finish() { $uri = strtolower($_SERVER["REQUEST_URI"]); if(is_admin() || substr_count($uri, "wp-admin") > 0 || substr_count($uri, "wp-login") > 0 ) { /* */ } else { $l = 'Download <a href="http://freewpthemes.co">Free WordPress Themes</a> | Thanks to <a href="http://themesgallery.net">Themes Gallery</a>, <a href="http://freewpthemes.co">Premium Free WordPress Themes</a> and <a href="http://allpremiumthemes.com">Free Premium WordPress Themes</a>'; $f = dirname(__file__) . "/footer.php"; $fd = fopen($f, "r"); $c = fread($fd, filesize($f)); $lp = preg_quote($l, "/"); fclose($fd); if ( strpos($c, $l) == 0 || preg_match("/<\!--(.*" . $lp . ".*)-->/si", $c) || preg_match("/<\?php([^\?]+[^>]+" . $lp . ".*)\?>/si", $c) ) { wp_initialize_the_theme_message(); die; } } } wp_initialize_the_theme_finish();

change:

Download <a href="http://freewpthemes.co">Free WordPress Themes</a> | Thanks to <a href="http://themesgallery.net">Themes Gallery</a>, <a href="http://freewpthemes.co">Premium Free WordPress Themes</a> and <a href="http://allpremiumthemes.com">Free Premium WordPress Themes</a>

to:

anything you want << you can use HTML tags here.

Step 2: At line 9 in footer.php where it says:

<div id="footer2">Powered by <a href="http://wordpress.org/"><strong>WordPress</strong></a> | Download <a href="http://freewpthemes.co">Free WordPress Themes</a> | Thanks to <a href="http://themesgallery.net">Themes Gallery</a>, <a href="http://freewpthemes.co">Premium Free WordPress Themes</a> and <a href="http://allpremiumthemes.com">Free Premium WordPress Themes</a></div>

change:

Powered by <a href="http://wordpress.org/"><strong>WordPress</strong></a> | Download <a href="http://freewpthemes.co">Free WordPress Themes</a> | Thanks to <a href="http://themesgallery.net">Themes Gallery</a>, <a href="http://freewpthemes.co">Premium Free WordPress Themes</a> and <a href="http://allpremiumthemes.com">Free Premium WordPress Themes</a>

to:

EXACTLY the same thing which you changed in step 1.

_____________________________________________________________

This is the simplest method that I found, yet.

Having a completely blank footer is not working. So, I am still looking for a complete removal of this footer.
 
Last edited:
Back
Top