theme development - Redux Setting on custom created admin page

I am using Redux Framework and I am creating a theme and I want all my theme option on my custom created page Like thisb

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
Add a comment  | 

1 Answer 1

Reset to default 1

Change menu_type to submenu. ;)

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745602524a4635484.html

相关推荐

  • theme development - Redux Setting on custom created admin page

    I am using Redux Framework and I am creating a theme and I want all my theme option on my custom created page Like thisb

    12小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信