WordPress文章底部去除与增加版权信息的办法

本文实例讲述了WordPress文章底部去除与增加版权信息的办法。分享给大家供大家参考。详细剖析如下:

这里参考一些网友的版权申明信息,详细更改办法为:

外观>>编辑“single.php”文件,找到相似“p class="content"”的源码,在上面相应地位增加.

参考一,代码如下:

<p>本文链接: <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>">  
<?php the_permalink(); ?></a><br/>转载请注明转载自:<a href="">SeaRu</a></p>

参考二,代码如下:
<br/> » 本文链接:<a rel="bookmark" title="<?php the_title(); ?>" href="<?php the_permalink(); ?>"><?php echo wp_get_shortlink(); ?></a> 
<br/> » 订阅本站:<a title="SeaRu" href="" rel="external nofollow">http://feed. searu.org</a></p> <br/> » 转载请注明起源:<a title="SeaRu" href="" rel="external nofollow">SeaRu</a>
<br/> » <a rel="bookmark" title="<?php the_title(); ?>" href="<?php the_permalink(); ?>">《<?php the_title(); ?>》</a></p>

参考三,代码如下:

<blockquote><center><font color=gray size=-1>  
本文由 [<strong><?php the_author_posts_link(); ?></strong>] 原创,转载请注明转自:<strong><?php bloginfo('name'); ?></strong>[<a href="<?php echo get_settings('home'); ?>"><?php echo get_settings('home'); ?></a>];

假如你感觉本博内容不错,欢送 [<strong><a href= target="_blank">订阅我的博客</a></strong>],以便**工夫理解本博更新内容;

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

心愿本文所述对大家的WordPress建站有所协助。

以上就是安达网络工作室关于《WordPress文章底部去除与添加版权信息的方法》的一些看法。更多内容请查看本栏目更多内容!

版权声明:本文为 安达网络工作室 转载文章,如有侵权请联系我们及时删除。
相关文章
WordPress中重置文章循环的rewind_posts()函数解说

有些时分,在索引页中(首页、分类文章、标签文章、作者文章索引……)提行进入 WordPress 文章循环中( Lo...

为wordpress添加网站布告性能

首先,在主题functions.php中添加上面的代码: 复制代码代码如下:function wp_dashboard_GongGao() { if...

Wordpress改换主题之后出错的处理办法

明天吃完午饭,劳动劳动,最近搞了一下google adsense,不过最终的审核没经过,我想会不会是界面不难看呢,...

解说WordPress开发中一些罕用的debug技巧

在开发进程中,调试代码是十分重要的工作,而把握一些 WordPress 的调试技巧,能够更好的进行调试。比方,在...

在SAE上搭建最新wordpress的办法

装置SAE上的wordpress,创立使用抉择wordpress模板,装置后是3.4版本 新建一个版本2,下载最新wordpress装置...

WordPress中用于更新伪动态规定的PHP代码实例解说

flush_rewrite_rules() 函数用来删除而后依据现有的条件重写伪动态规定,也就是刷新一次伪动态规定了。 先来...

需求提交

客服服务

亿鸽在线客服系统