Support Forum ยป User Profile

Forum Replies Created

Viewing 15 posts - 3,091 through 3,105 (of 3,702 total)
  • Author
    Posts
  • in reply to: Return meta values from Edit Product Category #3865
    Anh TranAnh Tran
    Keymaster

    Hi,

    This is term meta and you should use get_term_meta instead of get_post_meta:

    echo get_post_meta($term_id->ID, 'dark_overlay', true);

    in reply to: Template on Select2 #3857
    Anh TranAnh Tran
    Keymaster

    I've just checked the select2 documentation and see the problem. The templateSelection must be a JavaScript function. But when we set up in the PHP, we can only send a string and the JavaScript understand that as a string (even the function name, but it is just a string) and the template function could not be called.

    Currently, I haven't got a solution for this yet :(.

    in reply to: Nested groups conflict #3856
    Anh TranAnh Tran
    Keymaster

    Thanks. Let me check the Conditional Logic extension with my developer.

    Anh TranAnh Tran
    Keymaster

    Thanks for reporting. Let me check with @funkedgeek on Github.

    in reply to: When MB Admin Columns will work with MB Term Meta? #3854
    Anh TranAnh Tran
    Keymaster

    Hi,

    I'm having a technical problem with getting/formatting term meta value. After this, the Admin Columns extension will work with the Term Meta extension. I'll try my best to make it available asap.

    Thanks
    Anh

    in reply to: Nested groups conflict #3847
    Anh TranAnh Tran
    Keymaster

    Hi Lucas,

    Currently, the logic of the clone is keeping the 1st entries for users to enter data. It's applied not only to groups, but also all fields.

    Regarding the conditional check, have you updated both the group and conditional logic plugins to the latest version? We've just fixed a bug to make them work together.

    Thanks
    Anh

    in reply to: Template on Select2 #3840
    Anh TranAnh Tran
    Keymaster

    Strange, this is the code I use to test and it works:

    add_filter( 'rwmb_meta_boxes', 'your_prefix_select_demo' );
    function your_prefix_select_demo( $meta_boxes ) {
    	$meta_boxes[] = array(
    		'title' => __( 'Select Field Demo', 'your-prefix' ),
    
    		'fields' => array(
    			array(
    				'name'       => __( 'Select Advanced', 'your-prefix' ),
    				'id'         => 'select_advanced',
    				'type'       => 'select_advanced',
    				'options'    => array(
    					'value1' => __( 'Label1', 'your-prefix' ),
    					'value2' => __( 'Label2', 'your-prefix' ),
    				),
    				'js_options' => [
    					'placeholder' => 'Select whatever you want',
    					'allowClear'  => false,
    				],
    			),
    
    		),
    	);
    
    	return $meta_boxes;
    }

    The placeholder and allowClear just work as expected.

    Please try again.

    in reply to: Changing Map to Satellite View #3834
    Anh TranAnh Tran
    Keymaster

    Hi Matt,

    The map in the back end always have ROADMAP view. The js_options is used for the front end only.

    in reply to: Meta box group compitability issue #3833
    Anh TranAnh Tran
    Keymaster

    Please re-download the Group extension. The latest version is now 1.1.4.

    Thanks
    Anh

    in reply to: Cloneable group with WYSIWYG #3826
    Anh TranAnh Tran
    Keymaster

    Hi,

    I tested your code and saw the bug. It relates with the unique ID attribute for the editors which is a technical challenge at the moment. I will keep trying and release a fix as soon as I find a solution.

    Thanks

    in reply to: Template on Select2 #3819
    Anh TranAnh Tran
    Keymaster

    I haven't tried the templating option for select2, but ideally, you can pass any params to the js_options. So just try it ๐Ÿ™‚

    in reply to: Meta Box for Yoast not working #3818
    Anh TranAnh Tran
    Keymaster

    Thanks for reporting. Yoast's JavaScript code is always the trouble :(. The updated version 3.0 broke MB's JS once. I will check this and get back to you.

    in reply to: Cloneable group with WYSIWYG #3817
    Anh TranAnh Tran
    Keymaster

    Can you post your code to test?

    Thanks
    Anh

    in reply to: Cloneable group with tabs #3816
    Anh TranAnh Tran
    Keymaster

    Unfortunately, it's not possible for now. That probably is a new UI tool for building tabs ๐Ÿ™‚

    in reply to: Max clone does not work if I have subgroup #3806
    Anh TranAnh Tran
    Keymaster

    It's a JS bug and I have a little difficulty with it. I will let you know when it's fixed.

Viewing 15 posts - 3,091 through 3,105 (of 3,702 total)