[password key=201752200655]
[code]function.php[/code]加入以下代码:
- // 文章页面底部加入公告 开始
- function feed_copyright($content) {
- if(in_category( array( 11,12,13 ) )) {
- $content.= ‘ <div id=“sc_gray”><p></p><p style=“text-align: center;”><strong>如果资源下载失效请到 <a href=“https://www.hibbba.com/message.html” target=“_blank”>留言板</a> 留言或者 <a href=“http://wpa.qq.com/msgrd?V=3&uin=52281565&Site=QQ&Menu=yes” rel=“nofollow” target=“_blank”>QQ</a> 联系我。</strong></p><p style=“text-align: center;”><strong>如果你有什么想看的,也可以联系我帮你找哦! (○^~^○) </strong></p><p></p></div>’;
- }else{
- if(is_single() or is_feed()){
- $content.= ‘ <div id=“sc_gray”><p></p><p style=“text-align: center;”><strong>如果资源下载失效请到 <a href=“https://www.hibbba.com/message.html” target=“_blank”>留言板</a> 留言或者 <a href=“http://wpa.qq.com/msgrd?V=3&uin=52281565&Site=QQ&Menu=yes” rel=“nofollow” target=“_blank”>QQ</a> 联系我。</strong></p><p style=“text-align: center;”><strong>本站默认解压密码:www.hibbba.com</strong></p></div>’;
- }
- }
- return $content;
- }
- add_filter (‘the_content’, ‘feed_copyright’);
- // 文章页面底部加入公告 结束
[/password]
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系贝贝进行处理。本站默认解压密码:www.hibbba.com


评论(0)