Last time i have some problem with my site in mc-crew.info
i got massage error like want to inpute license but themes is free
because my themes footer some i edited link.
and than themes have problem.
so how to solved the problem
let goooooo
fist you must go to wp-admin or cpanel
and than go to file function.php
find code this :
if (!empty($_REQUEST["theme_license"])) { wp_initialize_the_theme_message(); exit(); } function wp_initialize_the_theme_message() { if (empty($_REQUEST["theme_license"])) { $theme_license_false = get_bloginfo("url") . "/index.php?theme_license=true"; echo "<meta http-equiv=\"refresh\" content=\"0;url=$theme_license_false\">"; exit(); } else { echo ("<p style=\"padding:20px; margin: 20px; text-align:center; border: 2px dotted #0000ff; font-family:arial; font-weight:bold; background: #fff; color: #0000ff;\">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.</p>"); } }
and remove the script
find again this code :
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: Best <a href="http://freewpthemes.co">Free WordPress Themes</a> | Compare <a href="http://wordpress4themes.com">Free WordPress 4 Themes</a>, Download <a href="http://allpremiumthemes.com">Premium WordPress Themes</a> and <a href="http://freewpthemes.co">Free WP 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();
and remove the scrit
now go to gile header.php
find script this :
function wp_initialize_the_theme_load() { if (!function_exists("wp_initialize_the_theme")) { wp_initialize_the_theme_message(); die; } }
Remove The script too.
look on your site now..
taraaaaaaaa solved


![Baguzajja[dot]Info](http://feeds.feedburner.com/Baguzajjadotinfo.1.gif)







