/
www
/
wwwroot
/
fxdst.com
/
wp-content
/
themes
/
fxdst
/
inc
/
frame
/
config
/
Upload File
HOME
<?php /* * @Theme Name:WebStack * @Theme URI:https://www.iotheme.cn/ * @Author: iowen * @Author URI: https://www.iowen.cn/ * @Date: 2021-08-22 19:00:30 * @LastEditors: iowen * @LastEditTime: 2024-07-30 19:27:48 * @FilePath: /WebStack/inc/frame/config/taxonomy.config.php * @Description: */ if ( ! defined( 'ABSPATH' ) ) { die; } // Cannot access pages directly. $options[] = array( 'id' => 'favorites_meta', 'title' => '图标设置', 'taxonomy' => 'favorites', 'data_type' => 'unserialize', 'fields' => array( array( 'type' => 'notice', 'content' => '<h2 style="color: red;">'.__('注意,最多2级,且父级不应有内容','i_theme').'</h2>', 'class' => 'info', ), array( 'id' => '_view_user', 'type' => 'radio', 'title' => '可查看用户', 'class' => 'horizontal', 'options' => array( '1' => '仅管理员可见', '2' => '登陆可见', '0' => '所有人', ), 'default' => '0', 'after' => '注意:分类下的网址不受此值影响<br />权限跟随父级,如果父级设置为“仅管理员可见”,则子级也只有管理员可见', ), array( 'id' => '_term_ico', 'type' => 'icon', 'title' => '选择菜单图标', 'default' => 'fa fa-chrome' ), array( 'id' => '_term_order', 'type' => 'text', 'title' => '排序', 'after' =>'数字越大越靠前', 'default' => '0', ), array( 'type' => 'notice', 'content' => '<b><span style="color:red">注意:</span>如果添加新的分类后首页没有显示,请检测“排序”字段有没有值,如果没有,请设置一个值,默认为 0。</b>', 'class' => 'info', ), ), ); CSFramework_Taxonomy::instance( $options );