今天修正一下BLOG,好久没有更新了,看到右边和下面一些链接,想要修整一下。由于这个BLOG网站PR比较低,现在有很多链接链出去,所以想把链接撤下来,只留一个版权文字。
其他的WORDPRESS模板,只要找到FOOTER.PHP,就可以看到里面的一些版权链接信息,可这个atahualpa theme,让我找了半天,依然无果,FOOTER.PHP里面,根本就没有什么版权信息,也没有链接,找遍了整个文件,依然无果,不得已,只好求助于GOOGLE,经过找寻,发现了解决办法,原来atahualpa theme把版权信息写在了FUNCTION.PHP里,下面是解决办法:
I’m pretty sure that the output that you wish to modify in the Atahualpa theme footer,
“Powered by WordPress – Atahualpa Theme by BytesForAll”,
can be found in “functions.php”, located in the Atahualpa theme folder, starting at line number 660.
Best wishes!
果然是高手,找到这个文件,然后把版权信息的链接去掉,代码就变成这个样子了:
function footer_output($footer_content) {
$footer_content .= ‘<br />Powered by WordPress & the Atahualpa WP Theme by BytesForAll. Now with Tutorials & Support’;
return $footer_content;
}
修改后,页脚的样子,没有链接了:
Copyright © 2009 Jarfee[加飞]的博客 – All Rights Reserved
Powered by WordPress & the Atahualpa WP Theme by BytesForAll. Now with Tutorials & Support
![Jarfee[加飞]的博客](http://www.jarfee.cn/blog/wp-content/themes/atahualpa/images/logo.gif)