• Resolved Md Alamin

    (@bir0611)


    I am trying to show custom post category in theme option. I have written the following code for that.

    array(
        'id'          => 'slider-category',
        'label'       => __( 'Category Checkbox', 'theme-text-domain' ),
        'desc'        => __( 'The Category Checkbox option type displays a list of category IDs.' ),
        'std'         => '',
        'type'        => 'category-checkbox',
        'section'     => 'social-icon',
        'rows'        => '',
        'post_type'   => 'slider',
        'taxonomy'    => 'Categori',
        'min_max_step'=> '',
        'class'       => '',
        'condition'   => '',
    
      )

    https://www.ads-software.com/plugins/option-tree/

Viewing 1 replies (of 1 total)
  • Plugin Author Derek Herman

    (@valendesigns)

    It seems you’re using the category-checkbox option type, but you want the taxonomy-checkbox option type instead.

Viewing 1 replies (of 1 total)
  • The topic ‘How to show custom post category in theme option?’ is closed to new replies.