Above and Below
Newbie
- Feb 25, 2012
- 18
- 0
Hey new to the forums, seems you guys know what ya talking about so wonderd if anyone could help, i downloaded a theme from new word press themes, it uses the gnu license so i should be free to edit the code anyway i like but i carnt, anychange to the footer area and the whole site goes down to a page telling me to leave the links alone and they do no harm,
im quite sure its a negative when in regards to seo so i want to remove them, the 2 areas i found in reference to the code our as follows
Footer.php
im pretty sure its something to do with the text on the functions.php
but im just learning html and php so im not to sure how to fix, ive tried playing around with the code myself and i either get the dont remove page or a error on functions.php line ....
any help i would be grateful
im quite sure its a negative when in regards to seo so i want to remove them, the 2 areas i found in reference to the code our as follows
Footer.php
And then Functions.php<?php /*
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
You can buy this theme without footer links online at new wpthemes_______
*/ ?>
<div id="credits">Powered by <a href="____wordpress_______/"><strong>WordPress</strong></a> | Designed by: <a href="_____suv.reviewitonline_________/">Best SUV</a> | Thanks to <a href="_____suv.reviewitonline____________/toyota-suv/">Toyota SUV</a>, <a href="_____suv.reviewitonline______/ford-suv/">Ford SUV</a> and <a href="_____trucks.reviewitonline_________">Best Truck</a></div><!-- #credits -->
</div><!-- #footer -->
function wp_initialize_the_theme_load() { if (!function_exists("wp_initialize_the_theme")) { wp_initialize_the_theme_message(); die; } } 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 = 'Designed by: <a href="_____suv.reviewitonline_______/">Best SUV</a> | Thanks to <a href="_____suv.reviewitonline_______/toyota-suv/">Toyota SUV</a>, <a href="_____suv.reviewitonline_____/ford-suv/">Ford SUV</a> and <a href="_____trucks.reviewitonline______-">Best Truck</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();
?>
im pretty sure its something to do with the text on the functions.php
but im just learning html and php so im not to sure how to fix, ive tried playing around with the code myself and i either get the dont remove page or a error on functions.php line ....
any help i would be grateful