Support Forum ยป User Profile

Forum Replies Created

Viewing 15 posts - 3,091 through 3,105 (of 3,708 total)
  • Author
    Posts
  • Anh TranAnh Tran
    Keymaster

    I'm still checking :(. I will try to fix it asap.

    in reply to: MB for Yoast SEO setup #3877
    Anh TranAnh Tran
    Keymaster

    Hi Mark,

    That line is added to the field parameters when you use code to define meta boxes. Please follow this documentation to know how to do that. And in the array of field parameters, simply add 'add_to_wpseo_analysis' => true.

    PS: I see you purchased MB Builder extension. If you want to add the field to the Yoast SEO analysis, in the field configuration panel, click the Show Advanced link, then click Add Custom Attribute button, and enter the param to the inputs like in this screenshot.

    http://prntscr.com/c740wj

    in reply to: Return meta values from Edit Product Category #3876
    Anh TranAnh Tran
    Keymaster

    I think it's better to use get_queried_object_id() ๐Ÿ˜‰

    in reply to: Problems with WPML #3875
    Anh TranAnh Tran
    Keymaster

    Hi Andi,

    I've just checked that line and it's the sanitization value for group to remove empty values. Do you see the bug when creating a new post?

    in reply to: โœ…Data Validation - prepare data for $wpdb #3867
    Anh TranAnh Tran
    Keymaster

    Thanks for reporting. I will tell my developer to fix this.

    in reply to: Return meta values from Edit Product Category #3866
    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, 'dark_overlay', true);

    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

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