Support Forum ยป User Profile

Forum Replies Created

Viewing 15 posts - 2,281 through 2,295 (of 3,702 total)
  • Author
    Posts
  • in reply to: โœ…front end extension and gutenberg #8940
    Anh TranAnh Tran
    Keymaster

    Hello,

    Thanks for the question. All the plugins will work normally with or without Gutenberg. Gutenberg has no effect to the plugins on the frontend at all.

    By the way, if you don't like Gutenberg, you can always disable it and use the classic editor.

    in reply to: taxonomy_advanced fields are not cloneable #8939
    Anh TranAnh Tran
    Keymaster

    I will do that today!

    Updated: the version 4.14.1 has been released!

    in reply to: โœ…New contexts broken with Gutenberg #8928
    Anh TranAnh Tran
    Keymaster

    Hello,

    Unfortunately, Gutenberg doesn't support contexts. It has only one place to show meta boxes. So, please just remove the contexts param from the meta box settings.

    in reply to: Using Custom Attributes from rwmb_before_save_post action #8926
    Anh TranAnh Tran
    Keymaster

    Hello,

    I've just added rwmb_after_save_field hook, that can help you ease the pain ๐Ÿ™‚

    Here is the code using it:

    add_action( 'rwmb_after_save_field', function ( $null, $field, $new, $old, $post_id ) {
    	$pre = '';
    	if ( ! empty( $field['attributes']['mod_lock'] ) ) {
    		$pre = 'pending_';
    	}
    	$storage = $field['storage'];
    
    	if ( $new !== $old ) {
    		$storage->update( $post_id, $pre . $field['id'], $new );
    	}
    
    	if ( empty( $new ) ) {
    		$storage->delete( $post_id, $pre . $field['id'] );
    	}
    }, 10, 5 );
    in reply to: taxonomy_advanced fields are not cloneable #8908
    Anh TranAnh Tran
    Keymaster

    Hi Johann,

    Thanks for bug report. I've just fixed it on Github.

    in reply to: sub group gets only one value #8907
    Anh TranAnh Tran
    Keymaster

    Hi,

    The files field is a sub-group of the press_group, so you should not get sub-group's value directly with rwmb_meta. Instead, get the value from the parent group press_group, like this:

    $group = rwmb_meta( 'press_group' );
    $files = isset( $group['Press_Files_group'] ) ? $group['Press_Files_group'] : array();
    print_r( $files );
    in reply to: OEmbed Empty Control #8906
    Anh TranAnh Tran
    Keymaster

    In the link I pasted above, there's full code to detect if the URL is a valid oembed, you can try it, like this:

    $url = get_post_meta( get_the_ID(), 'oembed', true );
    $args = ['width' => 640];
    $embed = wp_oembed_get( $url, $args );
    if ( ! $embed ) {
        $embed = $GLOBALS['wp_embed']->shortcode( $args, $url );
    }
    if ( $embed ) {
        echo $embed;
    } else {
        // Do something when there's no controls if you want
    }
    in reply to: โœ…how it will work for front end ? #8905
    Anh TranAnh Tran
    Keymaster

    Hello,

    Currently, it's not worked in the frontend yet. We're working on adding this feature. Probably in the next 1 or 2 weeks. The code is completed, but there's a bug that we need to fix before releasing.

    in reply to: Forgotten test code on line 30 #8904
    Anh TranAnh Tran
    Keymaster

    Hello, I've just checked and don't find it in the file. Probably I removed it in the version 1.0.1. Can you try redownloading again?

    in reply to: โœ…Cancellation & REUND #8903
    Anh TranAnh Tran
    Keymaster

    Hello,

    No problem, I'll send you the refund.

    FYI, we're working closely with support from Beaver Builder teams to make Meta Box and BB compatible. nomad411 - the admin of BB's Slack channel is also a customer here ๐Ÿ™‚

    in reply to: FacetWP & Custom Tables #8894
    Anh TranAnh Tran
    Keymaster

    Hi, which topic are you talking about? I'm happy to clarify if there's something unclear.

    in reply to: "Using custom tables" in Custom Tables Documentation #8893
    Anh TranAnh Tran
    Keymaster

    Hi,

    #1: If you don't use the exported code, then the whole meta box settings is saved in the database (under a special custom post type called "meta-box"). The MB Builder will get all the configured meta boxes and pass them to the Meta Box plugin (and extensions).

    Technically, meta box settings (an array) is stored as a serialized data in the post content of "meta-box" custom post type.

    #2: Yes, definitely. You can use the Export/Import features of the MB Builder to use it on other sites. Or you can just copy the exported code (in the Code Export tab) to use on other sites. Both methods work.

    in reply to: Metabox group does not appear #8890
    Anh TranAnh Tran
    Keymaster

    @jacek: the latest version of MB Builder already supports that. You don't need to do that manual anymore. Please update.

    in reply to: "Using custom tables" in Custom Tables Documentation #8873
    Anh TranAnh Tran
    Keymaster

    Hi James,

    You can do that in the MB Builder extension with Custom Attributes. Just go to tab Settings and you'll see Custom Attributes button. Clicking on that and add "storage_type" and "table" attributes, then you're done!

    in reply to: Documentation Page > box shortcode is showing #8866
    Anh TranAnh Tran
    Keymaster

    Thank you very much! The docs has been updated!

Viewing 15 posts - 2,281 through 2,295 (of 3,702 total)