Categories

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

怎么修改atahualpa theme footer的版权信息?

今天修正一下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 &amp; the Atahualpa WP Theme by BytesForAll. Now with Tutorials &amp; Support’;
return $footer_content;
}

修改后,页脚的样子,没有链接了:

Copyright © 2009 Jarfee[加飞]的博客 – All Rights Reserved
Powered by WordPress & the Atahualpa WP Theme by BytesForAll. Now with Tutorials & Support

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>