<?php if (!defined('ABSPATH')) {die;} // Cannot access directly.
/**
* RiPro是一个优秀的主题,首页拖拽布局,高级筛选,自带会员生态系统,超全支付接口,你喜欢的样子我都有!
* 正版唯一购买地址,全自动授权下载使用:https://ritheme.com/
* 作者唯一QQ:200933220 (油条)
* 承蒙您对本主题的喜爱,我们愿向小三一样,做大哥的女人,做大哥网站中最想日的一个。
* 能理解使用盗版的人,但是不能接受传播盗版,本身主题没几个钱,主题自有支付体系和会员体系,盗版风险太高,鬼知道那些人乱动什么代码,无利不起早。
* 开发者不易,感谢支持,更好的更用心的等你来调教
*/
$prefix = '_caozhuti_options';
$tips_6_2 = '';
$tips_6_3 = '';
$tips_6_4 = '';
$tips_6_5 = '';
$tips_6_6 = '';
//
// Create options
//
CSF::createOptions($prefix, array(
'menu_title' => 'RiPro主题设置',
'menu_slug' => 'csf-caozhuti',
));
//
// 基本设置
//
CSF::createSection($prefix, array(
'title' => '基本设置',
'icon' => 'fa fa-rocket',
'fields' => array(
array(
'id' => 'site_logo',
'type' => 'upload',
'title' => '网站LOGO',
'default' => get_template_directory_uri() . '/assets/images/logo/logo-light.png',
),
array(
'id' => 'site_favicon',
'type' => 'upload',
'title' => 'favicon',
'default' => get_template_directory_uri() . '/assets/images/favicon/favicon.png',
),
array(
'id' => 'is_site_max_width',
'type' => 'switcher',
'title' => '网站整体使用宽屏模式(nwe)',
'label' => '宽屏模式下,文章网格自动为五列模式显示',
'default' => false,
),
array(
'id' => 'is_ripro_blog_style_btn',
'type' => 'switcher',
'title' => '左下角显示切换博客模式按钮'.$tips_6_2,
'label' => '',
'default' => true,
),
array(
'id' => 'is_ripro_dark_btn',
'type' => 'switcher',
'title' => '左下角显示切换夜间模式按钮',
'label' => '',
'default' => true,
),
array(
'id' => 'is_ripro_dark',
'type' => 'switcher',
'title' => '网站默认使用暗黑风格',
'label' => '',
'default' => false,
),
array(
'id' => 'is_site_comments',
'type' => 'switcher',
'title' => '关闭全站评论',
'label' => '评论很多时候没什么用,直接干掉',
'default' => false,
),
array(
'id' => 'is_all_publish_posts',
'type' => 'switcher',
'title' => '所有人都可投稿',
'label' => '关闭后网站仅限有作者权限的用户投稿发布文章',
'default' => true,
),
array(
'id' => 'is_wp_admin_write',
'type' => 'switcher',
'title' => '使用wp自带后台编辑投稿',
'label' => '开启后用户在个人中心投稿,编辑文章都会跳转到wp自带的发布文章和编辑界面,注意如果界面进不去跳回用户中心,请编辑用户-角色-贡献者(投稿),保存即可,如果要新用户注册就有投稿权限,在wp设置-常规-新用户默认角色,编辑保存即可',
'default' => true,
),
array(
'id' => 'is_site_notify',
'type' => 'switcher',
'title' => '全站弹窗公告',
'label' => '开启后用户首次打开网站弹出',
'default' => true,
),
array(
'id' => 'site_notify_title',
'type' => 'text',
'title' => '全站弹窗公告-标题',
'desc' => '例如:RiPro最新版本更新日志',
'attributes' => array(
'style' => 'width: 100%;',
),
'default' => 'RiPro最新版本更新日志',
'dependency' => array('is_site_notify', '==', 'true'),
),
array(
'id' => 'site_notify_desc',
'type' => 'textarea',
'title' => '全站弹窗公告-内容',
'desc' => '全站弹窗公告,通知,纯文本通知弹窗',
'attributes' => array(
'style' => 'width: 100%;',
),
'default' => '这是一条网站公告,可在后台开启或关闭,可自定义背景颜色,标题,内容,用户首次打开关闭后不再重复弹出,此处可使用html标签...',
'dependency' => array('is_site_notify', '==', 'true'),
),
array(
'id' => 'site_notify_color',
'type' => 'color',
'title' => '全站弹窗公告-背景颜色',
'default' => 'rgb(33, 150, 243)',
'dependency' => array('is_site_notify', '==', 'true'),
),
array(
'id' => 'site_kefu_qq',
'type' => 'text',
'title' => '网站右下角客服QQ按钮',
'desc' => '输入您的QQ,不设置则不现实',
'attributes' => array(
'style' => 'width: 100%;',
),
'default' => '88888888',
),
),
));
//
// SEO设置
//
CSF::createSection($prefix, array(
'title' => 'SEO设置',
'icon' => 'fa fa-circle',
'fields' => array(
array(
'id' => 'del_ripro_seo',
'type' => 'switcher',
'title' => '禁用主题内置的SEO功能',
'label' => '有部分会员在用插件做SEO,可以在此关闭S主题自带SEO功能',
'default' => false,
),
array(
'id' => 'is_post_meta_og',
'type' => 'switcher',
'title' => '是否在文章页开启新版OG(open-graph)协议',
'label' => '利于SEO,更加容易被社交媒体,新闻等发现收录,规范了文章的链接图片标题和描述',
'default' => false,
),
array(
'id' => 'seo',
'type' => 'fieldset',
'title' => 'SEO相关',
'fields' => array(
array(
'id' => 'web_keywords',
'type' => 'text',
'title' => '网站关键词',
'desc' => '3-5个关键词,用英文逗号隔开',
'attributes' => array(
'style' => 'width: 100%;',
),
'default' => 'RiPro主题,ritheme,rizhuti.com,rizhuti',
),
array(
'id' => 'web_description',
'type' => 'textarea',
'title' => '网站描述',
'default' => 'RiPro主题,用户消费首选的WordPress主题,喜欢你就CAO一下',
),
),
'dependency' => array('del_ripro_seo', '==', 'false'),
),
array(
'id' => 'connector',
'type' => 'text',
'title' => '全站链接符',
'desc' => '一经选择,切勿更改,对SEO不友好,�
没有合适的资源?快使用搜索试试~ 我知道了~
WordPress主题RiPro v8.6
共539个文件
php:383个
po:21个
mo:21个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 149 浏览量
2022-07-04
09:48:34
上传
评论
收藏 2.6MB ZIP 举报
温馨提示
Version V8.6 2020-12-20 最新 新增-(讯虎支付-支付宝),支持PC端扫码,手机浏览器内唤醒支付宝APP支付–>>注册地址 新增-(讯虎支付-微信),支持PC端扫码,手机H5浏览器内唤醒微信APP支付,微信内JSAPI支付–>>注册地址 修复支付-用户在微信内打开网站,网站已经开启了jsapi支付,登录用户单独购买时,提示请在外部浏览器打开支付问题,修正为直接唤醒微信支付 下载最新版RiPro主题后,同安装方法类似,直接上传新版本RiPro主题包覆盖旧版本即可,数据无损,为了避免异常问题,建议任何操作,升级前,都进行备份,以防万一 Version V8.5 2020-12-14 修复新版本后台管理页面订单记录等个别页面时区相差8小时问题,导致订单时间不一致 新增后台资源订单也页面右上角新增搜索框,可以根据文章ID直接搜索某个文章的所有订单记录,方便站长查看统计结算 修复用户购买支付时,如果是在线支付,并且有折扣金额时,订单记录表中统计的实际支付和折扣不一致问题
资源推荐
资源详情
资源评论
收起资源包目录
WordPress主题RiPro v8.6 (539个子文件)
app.css 209KB
external.css 121KB
style.css 80KB
style.min.css 64KB
admin.css 51KB
DPlayer.min.css 44KB
sweetalert2.min.css 21KB
style.css 20KB
wangEditor.min.css 15KB
jquery.fancybox.min.css 14KB
style-rtl.css 9KB
style-rtl.min.css 5KB
install.min.css 5KB
style.css 944B
diy.css 447B
materialdesignicons-webfont.eot 296KB
fontawesome-webfont.eot 75KB
preloader.gif 866B
loginAgent.html 4KB
loginAgent.html 4KB
loginAgent.html 4KB
index.html 307B
screenshot.jpg 146KB
6.jpg 53KB
bg-1.jpg 25KB
ads.jpg 12KB
qr.jpg 8KB
op-default.jpg 3KB
full.jpg 3KB
1.jpg 3KB
op-slider2.jpg 2KB
sidebar.jpg 2KB
grid.jpg 2KB
list.jpg 2KB
op-blog.jpg 2KB
no-sidebar.jpg 2KB
op-slider1.jpg 2KB
hls.min.js 209KB
plugins.js 118KB
DPlayer.min.js 114KB
main.js 92KB
jquery-2.2.4.min.js 84KB
llqrcode.js 70KB
plugins.js 65KB
wangEditor.min.js 64KB
sweetalert2.all.js 64KB
jquery.fancybox.min.js 60KB
main.min.js 44KB
plugins.min.js 37KB
sweetalert2.min.js 37KB
app.js 31KB
jquery.easydropdown.min.js 7KB
nprogress.min.js 4KB
respond.min.js 4KB
gutenberg.js 2KB
html5shiv.js 2KB
rAF.js 0B
installed.json 5KB
composer.json 621B
composer.json 582B
composer.json 457B
composer.json 450B
zh_CN.mo 8KB
bn_BD.mo 6KB
hi_IN.mo 6KB
th.mo 6KB
ru_RU.mo 5KB
ar.mo 5KB
ja.mo 5KB
fr_FR.mo 4KB
vi.mo 4KB
de_DE.mo 4KB
az.mo 4KB
ko_KR.mo 4KB
es_ES.mo 4KB
tr_TR.mo 4KB
nl_NL.mo 4KB
it_IT.mo 4KB
pl_PL.mo 4KB
pt_PT.mo 4KB
id_ID.mo 4KB
ne_NP.mo 3KB
wp-clean-up-zh_CN.mo 2KB
admin-options.php 133KB
core-ajax.php 126KB
qrcode.class.php 113KB
theme-functions.php 95KB
core.class.7.4.php 81KB
google-fonts.php 75KB
timthumb.php 52KB
fa5-icons.php 31KB
core.class.7.3.php 28KB
widget-options.php 27KB
core-functions.php 27KB
admin-options.class.php 26KB
setup.class.php 24KB
typography.php 22KB
HttpRequest.php 20KB
Swoole.php 17KB
Uri.php 17KB
共 539 条
- 1
- 2
- 3
- 4
- 5
- 6
资源评论
智慧浩海
- 粉丝: 1w+
- 资源: 5145
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功