WordPress文章底部去除与添加版权信息的方法
框架(架构)  /  管理员 发布于 6年前   175
本文实例讲述了WordPress文章底部去除与添加版权信息的方法。分享给大家供大家参考。具体分析如下:
这里参考一些网友的版权声明信息,具体更改方法为:
外观>>编辑“single.php”文件,找到类似“div class="content"”的源码,在下面相应位置添加.
参考一,代码如下:
复制代码代码如下:<p>本文链接: <a href="https:/cms/<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>">
<?php the_permalink(); ?></a><br/>转载请注明转载自:<a href="https:/cms/">SeaRu</a></p>
参考二,代码如下:
复制代码代码如下:<br/> » <b>本文链接:</b><a rel="bookmark" title="<?php the_title(); ?>" href="https:/cms/<?php the_permalink(); ?>"><?php echo wp_get_shortlink(); ?></a>
<br/> » <b>订阅本站:</b><a title="SeaRu" href="https:/cms/" rel="external nofollow">http://feed. searu.org</a></div> <br/> » <b>转载请注明来源:</b><a title="SeaRu" href="https:/cms/" rel="external nofollow">SeaRu</a>
<br/> » <a rel="bookmark" title="<?php the_title(); ?>" href="https:/cms/<?php the_permalink(); ?>">《<?php the_title(); ?>》</a></div>
参考三,代码如下:
复制代码代码如下:<blockquote><center><font color=gray size=-1>
本文由 [<strong><?php the_author_posts_link(); ?></strong>] 原创,转载请注明转自:<strong><?php bloginfo('name'); ?></strong>[<a href="https:/cms/<?php echo get_settings('home'); ?>"><?php echo get_settings('home'); ?></a>];
如果你觉得本博内容不错,欢迎 [<strong><a href= target="_blank">订阅我的博客</a></strong>],以便第一时间了解本博更新内容;
本文链接:<a href="https:/cms/<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_permalink(); ?></a>
</font></center></blockquote>
希望本文所述对大家的WordPress建站有所帮助。
122 在
学历:一种延缓就业设计,生活需求下的权衡之选中评论 工作几年后,报名考研了,到现在还没认真学习备考,迷茫中。作为一名北漂互联网打工人..123 在
Clash for Windows作者删库跑路了,github已404中评论 按理说只要你在国内,所有的流量进出都在监控范围内,不管你怎么隐藏也没用,想搞你分..原梓番博客 在
在Laravel框架中使用模型Model分表最简单的方法中评论 好久好久都没看友情链接申请了,今天刚看,已经添加。..博主 在
佛跳墙vpn软件不会用?上不了网?佛跳墙vpn常见问题以及解决办法中评论 @1111老铁这个不行了,可以看看近期评论的其他文章..1111 在
佛跳墙vpn软件不会用?上不了网?佛跳墙vpn常见问题以及解决办法中评论 网站不能打开,博主百忙中能否发个APP下载链接,佛跳墙或极光..
Copyright·© 2019 侯体宗版权所有·
粤ICP备20027696号