Support Forum ยป User Profile

Forum Replies Created

Viewing 15 posts - 3,061 through 3,075 (of 3,702 total)
  • Author
    Posts
  • Anh TranAnh Tran
    Keymaster

    Just released a new version of MB Settings Page extension with fix for this. Please try it.

    Anh TranAnh Tran
    Keymaster

    Oh, I see the problem now. I'm working on it.

    in reply to: Nested groups problem #3971
    Anh TranAnh Tran
    Keymaster

    Hi,

    Currently, we can support only drag and drop clones within its parent. Moving it into another container (another group) actually breaks the JavaScript code ๐Ÿ™

    in reply to: Showing Metabox for only certain template. #3970
    Anh TranAnh Tran
    Keymaster

    Hi,

    Assuming you have a page template file called template-front-page.php in your theme folder and you want to create a meta box only for that page template, then please change the code to:

    add_filter( 'rwmb_meta_boxes', 'prefix_include_exclude_demo' );
    function prefix_include_exclude_demo( $meta_boxes ) {
    	$meta_boxes[] = array(
    		'title'   => 'Template - Home',
    		'include' => array(
    			'template' => array( 'template-front-home.php' ),
    		),
    		'fields'  => array(
    			array(
    				'name' => 'Name',
    				'id'   => 'name',
    				'type' => 'text',
    			),
    		),
    	);
    	return $meta_boxes;
    }

    The demo code has all possible conditions for include/exclude. You just need to remove what you don't need ๐Ÿ™‚

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

    Hi Mark,

    Please add custom attributes to text or textarea field like this:

    http://prntscr.com/cce6jw

    It works in my case. Can you please try again?

    in reply to: meta-box in the "themes folder" language settings #3968
    Anh TranAnh Tran
    Keymaster

    Hi,

    Do you mean including the plugin inside theme doesn't load the translation?

    in reply to: File Type Upload Error #3967
    Anh TranAnh Tran
    Keymaster

    Hi @eboss99s,

    Which version of Meta Box and MB Settings Page are you using? I'm testing with the latest version of MB Settings Page and development version of Meta Box and don't see the error.

    in reply to: Can not get value from field. #3966
    Anh TranAnh Tran
    Keymaster

    Hi,

    You're trying to get field value from a group, so please try this:

    $hero = rwmb_meta( 'home__hero' );
    if ( ! empty( $hero ) ) {
        $h4 = isset( $hero['rw_hometemp-hero-h4'] ) ? $hero['rw_hometemp-hero-h4'] : '';
        echo $h4;
    }
    in reply to: Remove data #3965
    Anh TranAnh Tran
    Keymaster

    Sorry for the delay support :(. I'm trying my best to support all the tickets. It sometimes takes time to fix the reported bugs.

    Regarding the problem with the frontend query, it's the permalink issue as the slug is changed. To fix it, simply go to Settings > Permalink and resave (you don't need to change anything).

    Please let me know if it works.
    Thanks

    in reply to: Images attached to a post/page in edit screen #3964
    Anh TranAnh Tran
    Keymaster

    Hi Cristian,

    To show all attached images of the being edited post, you need to write custom code to get them and put them in the custom_html field. This field doesn't have any input and don't save anything to the database. You can use it just to show the content you want.

    Here is the sample code:

    http://pastebin.com/H7vqqx26

    You might need to alter it and add more CSS ๐Ÿ˜‰

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

    I've just updated the plugin with fix for this. Please try it.

    Anh TranAnh Tran
    Keymaster

    I've recorded a video. It works on my case :(. Please take a look:

    http://take.ms/tuZCc

    PS: To download the latest version on Github, please use this link:

    https://github.com/rilwis/meta-box/archive/master.zip

    in reply to: Remove data #3934
    Anh TranAnh Tran
    Keymaster

    Hi,

    Can you give me some more details on this? How is the data corrupted?

    in reply to: Nested groups problem #3933
    Anh TranAnh Tran
    Keymaster

    Hi @wefit.lucas, @Flikweert,

    I've just updated the Meta Box plugin on Github with a fix for removing clones. Please try it.

    Thanks
    Anh

    in reply to: Using an array as value for custom attribute #3932
    Anh TranAnh Tran
    Keymaster

    Hi, please follow this documentation:

    https://metabox.io/docs/how-to-create-nested-array-field-with-meta-box-builder/

    Thanks
    Anh

Viewing 15 posts - 3,061 through 3,075 (of 3,702 total)