本站自用文章末尾版权提示框,WordPress模板通用
代码是在其他网站扒下来的。本站基于柒比贰主题美化。朋友们可以参考。
本教程也是基于柒比贰。无需修改主题文件。只需增加一段php代码。增加css样式即可。可以提供技术支持(只提供柒比贰主题添加的支持,其他主题或网站。)。
本代码包括文章结束图片提示。
版权提示框的好处
1.清晰的告诉读者,此文已经结束了,间接区分了文章部分和其他推荐文章
2.可放置微信二维码,顺便收一波公众号的流量
3.可放QQ群和客服QQ,很方便卖源码的老哥找售后的QQ群或者客服!
4.底部内置1-5个按钮,可以自动复制添加,然后改连接,也是很方便用户直接开通什么vip类或者反馈类的东西
5.版权提示,自己修改,建议两行,不要太多了
6.界面一般,功能实现了
代码需要登陆查看,为了避免伸手党,如有问题(错位)可以联系博主帮你解决。(有能力自己扒)
php代码:
请将以下代码放置到wp-content/themes/seven/template-parts/content.php 的文件里面。
位置在大约111行(没有其他修改的话在111行,修改过的话自己看下面图片找一下
在这串代码前面: <footer class=”entry-footer mar20-t pos-a” data-margin-top=”70″>
<div class="hh_wenzhangjieshu"><img src="https://img.91lxs.com/wp-content/uploads/2019/10/wenzhangjieshu.png?imageMogr2/format,webp"/></div> <div class="hh_content_footer"> <div class="item_top"> <div class="item_top_left"> <h3>【念于惜博客】温馨提醒:</h3> <p>1.本站发布的文章及附件仅限用于学习和研究,不得用于商业或非法用途,否则后果请用户自负!</p> <p>2.资源均来自网络,不保证资源的完整性,仅供学习研究,如有侵权请联系客服删除!</p> <p>3.如果您喜欢我们,欢迎购买VIP,您将得到更好的服务!</p> </div> <div class="item_top_right"> <div class="hh_erweima"><img src="https://www.miuiy.com/tu/qqq.png" /></div> <div class="hh_qqqun"> <a href="tencent://AddContact/?fromId=50&fromSubId=1&subcmd=all&uin=482314363"><img src="https://img.91lxs.com/wp-content/uploads/2019/10/qqlogo.png?imageMogr2/format,webp" />客服QQ</a><!-- 此处为图片--> <a href="https://jq.qq.com/?_wv=1027&k=5uP0Vo"><img src="https://www.miuiy.com/tu/qqlogo.png" />QQ交流群</a><!-- 此处为阿里巴巴矢量图标库--> </div> </div> </div> <div class="item_bottom"> <div class="item_bottom_left"> <a href="/bubbles/fankui" class="hh_button_jianbian01" target="_blank">投诉建议</a> <a href="/vips" class="hh_button_jianbian02" target="_blank">购买VIP</a> <a href="/shop" class="hh_button_jianbian03" target="_blank">服务商城</a> </div> <div class="item_bottom_right"> © 转载请联系作者,私自转载视为侵权! </div> </div> </div>
将以下css代码放到主题文件里面的style.css或者子主题里面的style.css 底部就行(其他主题通用)
/*底部版权提示*/
.hh_wenzhangjieshu{padding:30px 0; text-align: center; border-top: double rgba(70, 139, 230, 0.14);}
.hh_wenzhangjieshu img{border:0;text-align:center;box-shadow:none;}
.hh_content_footer{width:100%;box-shadow: 0 0px 2px #d9e0eae3;margin-top:0px;position:relative;height: 250px;border-top:1px dashed #d9e0eae3}
.hh_content_footer .item_top_left{padding:20px;float:left;width:70%;}
.hh_content_footer .item_top_left p{line-height:14px;font-weight:600;font-size:12px;padding-left: 7px;}
.hh_content_footer .item_top_left h3{color:#f7516c;font-size:18px;font-weight:600;}
.hh_content_footer .item_top_right{float:right;padding:20px;margin-top: 35px;width:30%;}
.hh_content_footer .item_top_right .hh_erweima{width:80px;height:80px;background:#f7f7f7;float:left;margin-right:15px;margin-top:15px; padding: 6px;}
.hh_content_footer .item_top_right .hh_qqqun{float:left;}
.hh_content_footer .item_top_right .hh_qqqun a{padding: 2px 20px;display:block;background:#f4f8ff;line-height:30px;border-radius: 15px;margin-top:15px;text-align:center}
.hh_content_footer .item_top{width:100%;height:160px;}
.hh_content_footer .item_bottom {width:100%;padding:20px;height:20px; padding: 20px 20px 20px 28px;}
.hh_content_footer .item_bottom .item_bottom_left{float:left;}
.hh_content_footer .item_bottom .item_bottom_left a{float:left;text-align: center;padding: 7px 20px;display:block;margin-right:20px;color:#fff;font-weight:600;border-radius: 4px;position: relative;top: -5px;}
.hh_content_footer .item_bottom .item_bottom_right{float:right;font-weight:600;color:#666}
.hh_content_footer .item_bottom:before{content:”;width:100%;height:1px;background: #e6f0ff;display:block;margin-bottom: 20px;}
.hh_content_footer .hh_button_jianbian01{background:linear-gradient(to left,#70a4fe,#4583ec)}
.hh_content_footer .hh_button_jianbian02{background:linear-gradient(to left,#fe9369,#f7516c)}
.hh_content_footer .hh_button_jianbian03{background:linear-gradient(to left,#c867ff,#8a92fb)}
.hh_content_footer .hh_button_jianbian01:hover{background:linear-gradient(to left,#4583ec,#70a4fe)}
.hh_content_footer .hh_button_jianbian02:hover{background:linear-gradient(to left,#f7516c,#fe9369)}
.hh_content_footer .hh_button_jianbian03:hover{background:linear-gradient(to left,#8a92fb,#c867ff)}
@media (max-width:767px){
.hh_content_footer{height:400px; margin-top:-15px;margin-bottom:20px;}
.hh_content_footer .item_top{width:100%;height:160px;}
.hh_content_footer .item_top_left{width:100%;margin-top:-35px;}
.hh_content_footer .item_top_right{width:100%;}
.hh_content_footer .item_top_right{ float: none; position: relative; top: -23px;}
.hh_content_footer .item_top_right .hh_erweima{width:80px;height:80px;background:#f7f7f7;float:left;margin-right:15px;margin-left:30px;margin-top:0px; padding: 0px;}
.hh_content_footer .item_bottom .item_bottom_left a {margin-right:12px !important}
.hh_content_footer .item_bottom{margin-top:90px}
.hh_content_footer .item_bottom .item_bottom_right{float:none; margin-top: 61px; text-align: center;}
.hh_content_footer .item_top_right .hh_qqqun a{margin-top:5px;}
}
.hh_qqqun a img{ position: relative; top: 7px; right: 2px;}
/*底部版权提示结束*/
常见问题FAQ
- 免费下载或者VIP会员专享资源能否直接商用?
- 本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。
- 提示下载完但解压或打开不了?
- 最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用百度网盘软件或迅雷下载。若排除这种情况,可在对应资源底部留言,或 联络我们。
- 找不到素材资源介绍文章里的示例图片?
- 对于PPT,KEY,Mockups,APP,网页模版等类型的素材,文章内用于介绍的图片通常并不包含在对应可供下载素材包内。这些相关商业图片需另外购买,且本站不负责(也没有办法)找到出处。 同样地一些字体文件也是这种情况,但部分素材会在素材包内有一份字体下载链接清单。
