admin管理员组文章数量:1025244
I am using Redux Framework and I am creating a theme and I want all my theme option on my custom created page Like this
but by default Redux Created a different page like this
I am using this configuration
$options_name = 'wee_redux';
$options_name = apply_filters('wee_redux/options_name', $options_name);
$theme = wp_get_theme();
$args = [
'opt_name' => $options_name,
'display_name' => $theme->get( 'Name' ),
'display_version' => $theme->get( 'Version' ),
'menu_type' => 'menu',
'allow_sub_menu' => true,
'menu_title' => __( 'Theme_options' ),
'page_title' => __( 'Theme_options' ),
'google_api_key' => '',
'google_update_weekly' => true,
'dev_mode' => false,
'async_typography' => true,
'admin_bar' => true,
'admin_bar_icon' => 'dashicons-portfolio',
'admin_bar_priority' => 50,
'update_notice' => true,
'customizer' => false,
'page_permissions' => 'manage_options',
'use_cdn' => true,
];
I am using Redux Framework and I am creating a theme and I want all my theme option on my custom created page Like this
but by default Redux Created a different page like this
I am using this configuration
$options_name = 'wee_redux';
$options_name = apply_filters('wee_redux/options_name', $options_name);
$theme = wp_get_theme();
$args = [
'opt_name' => $options_name,
'display_name' => $theme->get( 'Name' ),
'display_version' => $theme->get( 'Version' ),
'menu_type' => 'menu',
'allow_sub_menu' => true,
'menu_title' => __( 'Theme_options' ),
'page_title' => __( 'Theme_options' ),
'google_api_key' => '',
'google_update_weekly' => true,
'dev_mode' => false,
'async_typography' => true,
'admin_bar' => true,
'admin_bar_icon' => 'dashicons-portfolio',
'admin_bar_priority' => 50,
'update_notice' => true,
'customizer' => false,
'page_permissions' => 'manage_options',
'use_cdn' => true,
];
Share
Improve this question
edited Apr 11, 2019 at 1:16
fuxia♦
107k39 gold badges255 silver badges459 bronze badges
asked Apr 10, 2019 at 17:56
Aakash BhagatAakash Bhagat
531 silver badge5 bronze badges
1 Answer
Reset to default 1Change menu_type
to submenu
. ;)
I am using Redux Framework and I am creating a theme and I want all my theme option on my custom created page Like this
but by default Redux Created a different page like this
I am using this configuration
$options_name = 'wee_redux';
$options_name = apply_filters('wee_redux/options_name', $options_name);
$theme = wp_get_theme();
$args = [
'opt_name' => $options_name,
'display_name' => $theme->get( 'Name' ),
'display_version' => $theme->get( 'Version' ),
'menu_type' => 'menu',
'allow_sub_menu' => true,
'menu_title' => __( 'Theme_options' ),
'page_title' => __( 'Theme_options' ),
'google_api_key' => '',
'google_update_weekly' => true,
'dev_mode' => false,
'async_typography' => true,
'admin_bar' => true,
'admin_bar_icon' => 'dashicons-portfolio',
'admin_bar_priority' => 50,
'update_notice' => true,
'customizer' => false,
'page_permissions' => 'manage_options',
'use_cdn' => true,
];
I am using Redux Framework and I am creating a theme and I want all my theme option on my custom created page Like this
but by default Redux Created a different page like this
I am using this configuration
$options_name = 'wee_redux';
$options_name = apply_filters('wee_redux/options_name', $options_name);
$theme = wp_get_theme();
$args = [
'opt_name' => $options_name,
'display_name' => $theme->get( 'Name' ),
'display_version' => $theme->get( 'Version' ),
'menu_type' => 'menu',
'allow_sub_menu' => true,
'menu_title' => __( 'Theme_options' ),
'page_title' => __( 'Theme_options' ),
'google_api_key' => '',
'google_update_weekly' => true,
'dev_mode' => false,
'async_typography' => true,
'admin_bar' => true,
'admin_bar_icon' => 'dashicons-portfolio',
'admin_bar_priority' => 50,
'update_notice' => true,
'customizer' => false,
'page_permissions' => 'manage_options',
'use_cdn' => true,
];
Share
Improve this question
edited Apr 11, 2019 at 1:16
fuxia♦
107k39 gold badges255 silver badges459 bronze badges
asked Apr 10, 2019 at 17:56
Aakash BhagatAakash Bhagat
531 silver badge5 bronze badges
1 Answer
Reset to default 1Change menu_type
to submenu
. ;)
本文标签: theme developmentRedux Setting on custom created admin page
版权声明:本文标题:theme development - Redux Setting on custom created admin page 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745602522a2158539.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论