首页
产品中心
折扣
ZibBox主题
建站笔记
子比主题
7B2主题
RiTheme
WP插件
绿色软件
实用
图片素材
精美
关于我们
About
用户协议
隐私政策
免责声明
友情链接
登录
注册
首页
产品中心
折扣
ZibBox主题
建站笔记
子比主题
7B2主题
RiTheme
WP插件
绿色软件
实用
图片素材
精美
关于我们
About
用户协议
隐私政策
免责声明
友情链接
开通会员 尊享会员权益
登录
注册
找回密码
快速登录
QQ登录
微信登录
3.3W+
3842
1
更多资料
搜索内容
汇聚访
UID:1
已加入汇聚访256天
总消费:0
11枚徽章
河南省漯河市
管理员
关注
私信
文章
374
收藏
0
评论
4
粉丝
1
发布
374
排序
最新发布
最近更新
最多查看
最多点赞
最多回复
最多收藏
销售数量
2025-12-10
12-10
实用
子比主题 – 侧边栏信息统计数据小工具
这是一款子比主题的侧边栏信息统计数据小工具,此小工具可显示网站的多个信息资料,同时汇聚访这里已经把代码封装为可视化小工具了,部署起来十分简单,图片也可自行更换,有喜欢的朋友自行部署吧! 演示效果: 代码部署: [hidecontent type="payshow"] 首先我们第一步定位:/wp-content/themes/zibll/func.php文件,如果没有这个文件自己创建在子比目录创建一个,创建之后记得加php头,要不然会报错!随后加下方的代码: $widgets_files = array( 'zibbox_slider_tj.php', /*小工具文件名*/ ); foreach ($widgets_files as $file) { require get_template_directory() . '/zibbox/widgets/' . $file; } 文章附件下载之后上传到:/wp-content/themes/zibll解压即可!如需更换图片请到:/wp-content/themes/zibll/img/zibbox里更换! [/hidecontent]
5天前
建站笔记
2025-12-14
12-14
实用
子比主题 – 新文章轮播小工具
这是一款适配于子比主题的新文章轮播小工具,此小工具是左一右二排列的,同时此小工具还可以自定义轮播的文章ID以及是否显示作者、日期等相关信息,同时还可以单独设置每个轮播组件的切换效果,有需要的朋友自行部署吧! 演示效果: 代码部署: [hidecontent type="reply"] 定位:/wp-content/themes/zibll/func.php添加以下代码即可: Zib_CFSwidget::create('zib_widget_new_carousel',array('title'=>'New轮播图','zib_title'=>true,'zib_affix'=>true,'zib_show'=>true,'description'=>'左侧轮播+右侧双栏,支持5种切换效果','fields'=>array(array('id'=>'height','type'=>'number','title'=>'模块高度','default'=>400,'unit'=>'px'),array('id'=>'right_width','type'=>'number','title'=>'右侧宽度','default'=>300,'unit'=>'px'),array('id'=>'left_posts','type'=>'text','title'=>'左侧文章ID','desc'=>'多个用逗号分隔,留空自动获取'),array('id'=>'right_top_posts','type'=>'text','title'=>'右上文章ID','desc'=>'多个用逗号分隔,留空自动获取'),array('id'=>'right_bottom_posts','type'=>'text','title'=>'右下文章ID','desc'=>'多个用逗号分隔,留空自动获取'),array('id'=>'left_effect','type'=>'select','title'=>'左侧切换效果','options'=>array('slide'=>'滑动','fade'=>'淡出淡入','cube'=>'3D方块','coverflow'=>'3D滑入','flip'=>'3D翻转'),'default'=>'slide'),array('id'=>'right_top_effect','type'=>'select','title'=>'右上切换效果','options'=>array('slide'=>'滑动','fade'=>'淡出淡入','cube'=>'3D方块','coverflow'=>'3D滑入','flip'=>'3D翻转'),'default'=>'fade'),array('id'=>'right_bottom_effect','type'=>'select','title'=>'右下切换效果','options'=>array('slide'=>'滑动','fade'=>'淡出淡入','cube'=>'3D方块','coverflow'=>'3D滑入','flip'=>'3D翻转'),'default'=>'fade'),array('id'=>'autoplay','type'=>'switcher','title'=>'自动播放','default'=>true),array('id'=>'interval','type'=>'number','title'=>'播放间隔(秒)','default'=>4,'dependency'=>array('autoplay','==',true)),array('id'=>'show_info','type'=>'checkbox','title'=>'显示信息','inline'=>true,'options'=>array('show_author'=>'作者','show_date'=>'日期','show_category'=>'分类','show_tags'=>'标签'),'default'=>array('show_author','show_date','show_category')),array('id'=>'text_style','type'=>'fieldset','title'=>'文字样式','inline'=>true,'fields'=>array(array('id'=>'title_length','type'=>'number','title'=>'标题字数','default'=>30),array('id'=>'excerpt_length','type'=>'number','title'=>'摘要字数','default'=>50),array('id'=>'text_shadow','type'=>'switcher','title'=>'文字阴影','default'=>true)))))); function zib_widget_new_carousel($args,$instance){if(!Zib_CFSwidget::show_class($instance))return;$cfg=array_merge(array('height'=>400,'right_width'=>300,'left_effect'=>'slide','right_top_effect'=>'fade','right_bottom_effect'=>'fade','autoplay'=>true,'interval'=>4,'show_info'=>array(),'text_style'=>array()),$instance);$show_cfg=array_flip($cfg['show_info']);$posts=array('left'=>nc_get_posts($cfg['left_posts']??'',5),'top'=>nc_get_posts($cfg['right_top_posts']??'',3),'bottom'=>nc_get_posts($cfg['right_bottom_posts']??'',3));if(!array_filter($posts))return;$id='nc-'.uniqid();$shadow=($cfg['text_style']['text_shadow']??true)?'text-shadow:1px 1px 2px rgba(0,0,0,0.8);':'';Zib_CFSwidget::echo_before($instance);echo'<div class="new-carousel-wrap" id="'.$id.'">';$areas=array('left'=>array('height'=>$cfg['height'],'class'=>'nc-left-wrap','pagination'=>true,'button'=>true,'effect'=>$cfg['left_effect'],'interval'=>$cfg['interval']*1000),'top'=>array('height'=>($cfg['height']-10)/2,'class'=>'nc-right-top-wrap','pagination'=>true,'button'=>false,'effect'=>$cfg['right_top_effect'],'interval'=>$cfg['interval']*1000+1000),'bottom'=>array('height'=>($cfg['height']-10)/2,'class'=>'nc-right-bottom-wrap','pagination'=>true,'button'=>false,'effect'=>$cfg['right_bottom_effect'],'interval'=>$cfg['interval']*1000+2000));if($posts['left']){echo'<div class="nc-left-wrap">';nc_render_slider($posts['left'],$areas['left'],$show_cfg,$cfg['text_style'],true);echo'</div>';}if($posts['top']||$posts['bottom']){echo'<div class="nc-right-wrap">';if($posts['top']){echo'<div class="nc-right-top-wrap">';nc_render_slider($posts['top'],$areas['top'],$show_cfg,$cfg['text_style'],false);echo'</div>';}if($posts['bottom']){echo'<div class="nc-right-bottom-wrap">';nc_render_slider($posts['bottom'],$areas['bottom'],$show_cfg,$cfg['text_style'],false);echo'</div>';}echo'</div>';}echo'</div><style>#'.$id.'{display:flex;gap:10px;height:'.$cfg['height'].'px;border-radius:8px;overflow:hidden}#'.$id.' .nc-left-wrap{flex:1;position:relative;border-radius:8px;overflow:hidden}#'.$id.' .nc-right-wrap{width:'.$cfg['right_width'].'px;display:flex;flex-direction:column;gap:10px}#'.$id.' .nc-right-top-wrap,#'.$id.' .nc-right-bottom-wrap{flex:1;position:relative;border-radius:8px;overflow:hidden}#'.$id.' .zib-slider{height:100%}#'.$id.' .new-swiper{height:100%;border-radius:8px;overflow:hidden}#'.$id.' .nc-right-top-wrap .swiper-pagination,#'.$id.' .nc-right-bottom-wrap .swiper-pagination{bottom:8px}#'.$id.' .nc-right-top-wrap .swiper-pagination-bullet,#'.$id.' .nc-right-bottom-wrap .swiper-pagination-bullet{width:6px;height:6px;margin:0 3px}#'.$id.' .swiper-slide::before{content:"";position:absolute;bottom:0;left:0;right:0;height:30%;background:linear-gradient(to top,rgba(0,0,0,0.5)...
前天
建站笔记
2025-11-27
11-27
实用
WordPress插件 – 简约浅色后台美化插件
这是一款WordPress简约浅色后台美化插件,这款插件的色彩美化也是非常的简约,菜...
18天前
功能插件
2025-12-12
12-12
实用
WordPress插件 – 评论清理助手
这是一款WordPress的评论清理助手插件,此插件可以用来批量删除文章的一些评论。...
3天前
功能插件
上一页
1
…
36
37
38
跳转
随便逛逛
博客标签
新窗口打开
复制链接地址
复制选中文本
粘贴文本
站内搜索
百度搜索
复制此图片
下载此图片
用户协议
免责声明
复制地址
关闭热评
轉為繁體
切换模式
热评
登录
没有账号?立即注册
邮箱
验证码
发送验证码
记住登录
账号密码登录
登录
用户名或邮箱
登录密码
记住登录
找回密码
|
免密登录
登录
社交账号登录
QQ登录
微信登录
使用社交账号登录即表示同意
用户协议
、
隐私声明
注册
已有账号,立即登录
设置用户名
邮箱
验证码
发送验证码
设置密码
注册
已阅读并同意
用户协议
、
隐私声明
扫码登录
使用
其它方式登录
或
注册
扫码登录
扫码登录即表示同意
用户协议
、
隐私声明
开通会员享特权
专属内容无限访问
下载权限提升至最高级
专属子比付费美化优惠
免费下载更多精品资源
¥29.9
¥39.9
Vip会员 · 立省30元
立即开通
每日签到
在线
扫码关注公众号
获取更多专属内容和最新资讯
展开全屏
返回顶部