为什么换了二维码但是帖子页还是显示作者的二维码?
答:并非二维码还是作者的,是因为插件支持帖子二维码自动生成,并且带站点logo,在后台的帖子二维码logo:将logo地址设置成你的或者直接将source/plugin/jz52_top/template/qrlogo.gif这个图片用你的logo替换掉即可.
如果不需要自动生成二维码 可以关闭。
如何给分享添加一个更多按钮?
答:随便删掉一个按钮 然后在
<a title="分享到QQ收藏" href="#" class="bds_qq" data-cmd="qq">QQ收藏</a>
后面添加:
<a href="#" data-cmd="more" target="_blank;">更多...</a>
默认的分享代码如下:
- <h3>分享到:</h3>
- <div class="bdsharebuttonbox" data-tag="share_2">
- <a title="分享到QQ空间" href="#" class="bds_qzone" data-cmd="qzone">QQ空间</a>
- <a title="分享到新浪微博" href="#" class="bds_tsina" data-cmd="tsina">新浪微博</a>
- <a title="分享到腾讯微博" href="#" class="bds_tqq" data-cmd="tqq">腾讯微博</a>
- <a title="分享到人人网" href="#" class="bds_renren" data-cmd="renren">人人网</a>
- <a title="分享到腾讯朋友" href="#" class="bds_tqf" data-cmd="tqf">腾讯朋友</a>
- <a title="分享到百度贴吧" href="#" class="bds_tieba" data-cmd="tieba">百度贴吧</a>
- <a title="分享到QQ好友" href="#" class="bds_sqq" data-cmd="sqq">QQ好友</a>
- <a title="分享到百度空间" href="#" class="bds_hi" data-cmd="hi">百度空间</a>
- <a title="分享到微信" href="#" class="bds_weixin" data-cmd="weixin">微信</a>
- <a title="分享到网易微博" href="#" class="bds_t163" data-cmd="t163">网易微博</a>
- <a title="分享到搜狐微博" href="#" class="bds_tsohu" data-cmd="tsohu">搜狐微博</a>
- <a title="分享到百度搜藏" href="#" class="bds_baidu" data-cmd="baidu">百度搜藏</a>
- <a title="分享到QQ收藏" href="#" class="bds_qq" data-cmd="qq">QQ收藏</a>
- <a href="#" onclick="return false;" data-cmd="more" target="_blank;">更多...</a>
- </div>
- <script>with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
复制代码- <div class="wxwb" style="width:230px;height:150px;float:left;" >
- <style type="text/css">
- <style type="text/css">
- .wbwx {
- width: 220px;
- padding-left: 10px;
- }
- .wbwx .wb a .wbt {
- font-size: 18px;
- color: #fff;
- padding-left: 63px;
- padding-top: 16px;
- width: 155px;
- }
- .wbwx .wx .wxt {
- font-size: 18px;
- color: #fff;
- padding-left: 63px;
- padding-top: 6px;
- width: 155px;
- }
- .wbwx .wx .wxt1 {
- font-size: 14px;
- color: #fff;
- padding-left: 63px;
- width: 155px;
- }
- .wbwx .wx .wxt1 i {
- color: #ffd800;
- }
- .wbwx .wb {
- height: 60px;
- width: 220px;
- margin-bottom: 4px;
- }
- .wbwx .wb a {
- text-decoration: none;
- display: block;
- height: 60px;
- width: 220px;
- background: url('source/plugin/jz52_top/template/wbwxbj.jpg') no-repeat scroll 0px 0px transparent;
- }
- .wbwx .wb a:hover {
- background-position: -220px 0px;
- }
- .wbwx .wx {
- background: url('source/plugin/jz52_top/template/wbwxbj.jpg') no-repeat scroll 0px 0px transparent;
- height: 60px;
- width: 220px;
- margin-top: 4px;
- background-position: 0 -60px;
- }
- .wbwx .wx:hover {
- background-position: -220px -60px;
- }
- .weixin_code {
- width: 186px;
- height: 209px;
- background: none repeat scroll 0% 0% #FFF;
- border: 1px solid #DDD;
- padding: 15px 15px 12px;
- }
- .weixin_code p {
- font-size: 14px;
- padding-top: 5px;
- text-align: center;
- margin: 0px;
- padding: 0px;
- }
- </style>
- </style>
- <div class="wbwx">
- <div class="wb"><a href="http://weibo.com/jzzzzy" target="_blank"><div class="wbt" >关注本站新浪微博</div></a></div>
-
-
- <div class="wx" id="jzweixin_t_mob" onmouseover="showMenu({'ctrlid':this.id,'pos':'41!','ctrlclass':'weixin_hover','duration':2});" ><a href="http://weibo.com" target="_blank" ><div class="wxt">本站官方微信平台</div><div class="wxt1">微信账号:<i>jzzzzy</i></div></a></div>
-
-
- <div style="display: none;" id="jzweixin_t_mob_menu" class="weixin_code">
- <div class="weixin_img"><img src="source/plugin/jz52_top/template/wxqr.jpg" height="186" width="186"></div>
- <p>使用微信扫一扫</p>
- </div>
- </div>
- </div>
复制代码
|