Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterHi,
The files field is a sub-group of the
press_group, so you should not get sub-group's value directly withrwmb_meta. Instead, get the value from the parent grouppress_group, like this:$group = rwmb_meta( 'press_group' ); $files = isset( $group['Press_Files_group'] ) ? $group['Press_Files_group'] : array(); print_r( $files );Anh Tran
KeymasterIn 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 }Anh Tran
KeymasterHello,
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.
Anh Tran
KeymasterHello, 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?
Anh Tran
KeymasterHello,
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 ๐
Anh Tran
KeymasterHi, which topic are you talking about? I'm happy to clarify if there's something unclear.
Anh Tran
KeymasterHi,
#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.
Anh Tran
Keymaster@jacek: the latest version of MB Builder already supports that. You don't need to do that manual anymore. Please update.
Anh Tran
KeymasterHi 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!
Anh Tran
KeymasterThank you very much! The docs has been updated!
Anh Tran
KeymasterI updated the plugin 2 days ago with the fix. Please update!
Anh Tran
KeymasterThe shortcodes look ok. Can you send me the website URL to check? Or probably an admin account (via Contact page)?
Anh Tran
KeymasterYou can use the
rwmb_meta()function, it will auto checks whether the media player is available. If not, it shows the "Embeded HTML is not available" message.If you want to check that your self, you can do similarly like here:
https://github.com/wpmetabox/meta-box/blob/master/inc/fields/oembed.php#L41
Anh Tran
KeymasterHi,
Unfortunately, tabs is not supported in groups yet ๐
-
AuthorPosts