WordPress文章底部去除与添加版权信息的方法
框架(架构)  /  管理员 发布于 8年前   228
本文实例讲述了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建站有所帮助。
test1 在
opencode + Oh-my-openagent,我的第一个免费的ai编程智能体管家:Sisyphus中评论 test..122 在
学历:一种延缓就业设计,生活需求下的权衡之选中评论 工作几年后,报名考研了,到现在还没认真学习备考,迷茫中。作为一名北漂互联网打工人..Zita 在
Google AI Studio升级全栈 vibe coding体验,可直接构建带登录和数据库的应用中评论 111222..123 在
Clash for Windows作者删库跑路了,github已404中评论 按理说只要你在国内,所有的流量进出都在监控范围内,不管你怎么隐藏也没用,想搞你分..原梓番博客 在
在Laravel框架中使用模型Model分表最简单的方法中评论 好久好久都没看友情链接申请了,今天刚看,已经添加。..
Copyright·© 2019 侯体宗版权所有·
粤ICP备20027696号
