本文实例讲述了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 默许评论头像 关于没有设置Gravatra头像的评论者来说,WordPress会显示一个你在后盾设置的...
滚动导航菜单 滚动菜单, 望文生义是以滚动的形式显示和暗藏菜单的. 其实跟淡入淡出菜单和滚动菜单的原理是一...
博客改换主域名是很失常的事件,但改换完主域名之后,有一些事件是必需实现,否则会影响到你的WordPress博客...
复制代码代码如下:add_filter( 'wp_handle_upload_prefilter', 'custom_upload_name' ); function custom...
WordPress网站在改换域名后,需求从新配置以后域名能力使得网站失常运转,很多人遇到过这样的状况,那么如何...
明天,想着在我机器上测试一下wordpress,尽管之前也有这个开源的顺序,可是不断没有装置呢,再加上最近不断...