来自http://tunps.com/add-quote-declaration-in-wordpress
wordpress中加入转载声明对于原创作者是很重要的。 因为主题的不同,可能具体修改代码的位置有所不同。以本博客的oriental主题为例。 打开主题目录的single.php,定位到23行:|
23
24
25 |
<div class="entry"> <?php the_content('Read the rest of this entry »'); ?></div> |
|
23
24
25
26
27
28
29
30 |
<p>本文链接:<a href="<?php the_permalink();?>" title="< ?php the_permalink();?>">< ?php single_post_title(); ?></a>@ <a href="<?php bloginfo('siteurl'); ?>">< ?php bloginfo('name'); ?></a> ,作者:< ?php the_author()?></p><div class="entry"> < ?php the_content('Read the rest of this entry »'); ?></div> |
done!
学习了,正打算用wp呢,