[Linux 相关文章] 给我的WordPress加版权声明

Mar 1st, 2008

转载本站文章请注明,转载自:扶凯[http://www.php-oa.com]

本文链接: http://www.php-oa.com/2008/03/01/geiwodewordpressjiabanquanshengming.html

我的文章,转来转去,就没有一个人写我写的,好坏给外链接,给我点流量也没有什么吗.好了,没法子.所以给我的WordPress加版权声明,一个个加太麻烦啦.改一下wordpress.

管理文章显示的文件是Thems目录中的single.php文件.

找到single.php文件中,下面这三行.

<div class="post">
 
<?php the_content(‘Read the rest of this entry &raquo;’); ?>
</div>

在他的上面加上.

<p>转载本站文章请注明,转载自:<strong><?php bloginfo(‘name’); ?></strong>[<a href="<?php echo get_settings('home'); ?>"><?php echo get_settings('home'); ?></a>]</p>

<p>本文链接: <a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_permalink(); ?></a></p>

 

Del.icio.us Google书签 Digg Live Bookmark Technorati Furl Yahoo书签 Facebook 百度搜藏 新浪 ViVi 365Key 网摘 天极网摘 和讯网摘 博拉网 POCO 网摘 饭否 QQ 书签 Digbuzz 我挖网 Mister Wong
Tags:
No comments yet.