Support Forum » User Profile

Forum Replies Created

Viewing 5 posts - 16 through 20 (of 20 total)
  • Author
    Posts
  • in reply to: Checkbox Tree not displayed in Sub-group fields #34016
    indatext.comindatext.com
    Participant

    I also have additional meta-definition for setting pics for terms in custom plugin as:

    // Add custom meta for Types of Glass Taxonomy
    add_filter( 'rwmb_meta_boxes', 'prefix_register_taxonomy_meta_boxes' );
    function prefix_register_taxonomy_meta_boxes( $meta_boxes ){
        $meta_boxes[] = array(
            'title'      => 'Additional Meta for Doors',
            'taxonomies' => array('type-of-glass','jamb'), // THIS: List of taxonomies. Array or string
    
            'fields' => array(
                array(
                    'name' => 'Featured?',
                    'id'   => 'featured_glass',
                    'type' => 'checkbox',
                ),
                array(
                    'name' => 'Preview Image',
                    'id'   => 'glass_single_image',
                    'type' => 'single_image',
                ),
            ),
        );
        return $meta_boxes;
    }

    Maybe that is causing the issue. What to use instead of taxonomies for array of taxonomies here, if one of taxonomies is advanced taxonomy?

    in reply to: Checkbox Tree not displayed in Sub-group fields #34015
    indatext.comindatext.com
    Participant

    But it does not display that on my side


    [
                            'name'              => __( 'Type of Glass', 'your-text-domain' ),
                            'id'                => $prefix . 'door_glass_type_selector',
                            'type'              => 'taxonomy_advanced',
                            'label_description' => __( 'only select one type for this variant', 'your-text-domain' ),
                            'taxonomy'          => ['type-of-glass'],
                            'field_type'        => 'checkbox_tree',
                            'remove_default'    => true,
                        ],
    indatext.comindatext.com
    Participant

    Thank you for pointing me there. If I have a group defined from UI, can I add filter for sub-group titles only using PHP function, or I have to delete group created from UI and then re-define the whole array programmatically?

    in reply to: Are Metabox AIO and MB Views compatible with WPML 4.5? #33991
    indatext.comindatext.com
    Participant

    It seems that content of Metabox Groups is not translated with WPML. I bumbed into necessity to add manually the content of sub-group entries.

    in reply to: How to output a shortcode? #33054
    indatext.comindatext.com
    Participant

    Yup, '[rwmb_meta id="seo_text" render_shortcode="true" raw="true"]' renders TablePress shortcodes for example.

Viewing 5 posts - 16 through 20 (of 20 total)