Forum Replies Created
-
AuthorPosts
-
Tan Nguyen
ParticipantCan you please send us your website/ftp information through contact form?
Tan Nguyen
ParticipantYes, you can inspect element to see taxonomy name or id to create conditional logic. For example:
Visible when post category is 99
'visible' => ['post_category', 99]Visible when post_category is in 55, 66 and 77
'visible' => ['post_category', 'in', [55,66,77]]Post Category works same as other Taxonomies
Tan Nguyen
ParticipantHi,
Please change
mb_bg_image_repeatandmb_bg_image_sizeto something do not containsmb_bg_image. For example:foo_repeat,foo_size.Regards
Tan Nguyen
ParticipantI have answered via email. Have fun ๐
Tan Nguyen
ParticipantBtw, I have just updated MB Conditional Logic ๐
Tan Nguyen
ParticipantHi mate,
Can you please export that meta box and send it to me via email: [email protected] then I can look into it. Also, can you please create another test meta box with tabs? Is this works with new meta box?
Best regards,
Tan Nguyen
Tan Nguyen
ParticipantThanks for your contributing, we're in progress to update this extension ๐ Very appreciated.
Tan Nguyen
ParticipantHi cmchahon
Can you please export that meta box and send to me via email: [email protected]?
Thank you
Tan Nguyen
ParticipantHi sarzade,
You can now hide Group with Conditional Logic, please follow this guide
https://metabox.io/docs/hide-group-conditional-logic/
Thank you
Tan Nguyen
ParticipantHi Guido,
This bug is on this plugin itself, happened when add two elements with same ID. Just update to the latest version (2.0.2) and it will work.
Best regards
TanTan Nguyen
ParticipantI have fixed bug on your site, if you have other bugs/requests. Feel free to contact me on this forum or my email.
Thank you
Tan Nguyen
ParticipantHi tfmwa,
Thanks for reporting that bug. Can you please export that meta box file and email to me ([email protected]) or better give me your site credentials via contact form then I can check it.
Best regards
Tan
Tan Nguyen
ParticipantHi sarzade,
Currently, MB Group doesn't have html ID attribute so that's the reason why MB Conditional Logic can't hide Group. We're working to fix it.
Best regards,
Tan
Tan Nguyen
ParticipantHi Memaddog,
Thanks for reporting that bug, we can make sure that MB Builder never touch to your exists custom fields (the only thing it do is create Meta Box). Can you please send me the exported file of that meta box to [email protected] so I can fix that bug asap ๐
Regards
Tan
Tan Nguyen
ParticipantHi Bravebits,
I've test with your meta boxes again. It seems that you not use use Meta Box as normally way (You extends Meta Box class, then do some change inside), so I can't tell you your problem with your code but I can make sure that it works properly if you register as normal way, like this guide:
https://metabox.io/docs/registering-meta-boxes/
Also, you don't have to use
rwmb_outside_conditionsfilter. You can use that filter if you want to hide some element outside meta box. For example: post title, categories, post excerpt, etc...I have modified your code, you can put this to your theme functions.php to see it works:
add_filter( 'rwmb_meta_boxes', function( $meta_boxes ) { // Additional meta box for post. $meta_boxes[] = array( 'id' => 'wr_post_option', 'post_types' => array( 'post' ), 'title' => _( 'Post Settings' ), 'context' => 'normal', 'priority' => 'high', 'autosave' => true, 'fields' => array( array( 'name' => _( 'Enable large post' ), 'id' => 'masonry_large', 'type' => 'checkbox', 'desc' => _( '<i>Support Masonry layout only</i>' ), 'std' => 0, ), array( 'name' => _( 'Add image gallery' ), 'id' => 'format_gallery', 'type' => 'image_advanced', 'visible' => array( 'post_format', 'gallery' ) ), array( 'name' => _( 'Video Source' ), 'id' => 'format_video', 'type' => 'select', 'options' => array( 'link' => _( 'Video Link' ), 'file' => _( 'Video Upload File' ), ), 'visible' => array( 'post_format', 'video' ), ), array( 'name' => _( 'Video Link' ), 'id' => 'format_video_url', 'desc' => _( '(Support Youtube and Vimeo video)' ), 'type' => 'oembed', 'visible' => array( 'format_video', '=', 'link' ), ), array( 'name' => _( 'Upload video' ), 'id' => 'format_video_file', 'desc' => _( 'Support .mp4 file format only' ), 'type' => 'file_advanced', 'max_file_uploads' => 1, 'mime_type' => 'video', 'visible' => array( 'format_video', '=', 'file' ), ), array( 'name' => _( 'Audio Source' ), 'id' => 'format_audio', 'type' => 'select', 'options' => array( 'link' => _( 'Soundcloud Link' ), 'file' => _( 'Upload audio' ), ), 'visible' => array( 'post_format', 'audio' ), ), array( 'name' => _( 'Soundcloud Link' ), 'id' => 'format_audio_url', 'type' => 'oembed', 'visible' => array( 'format_audio', '=', 'link' ), ), array( 'name' => _( 'Upload Audio' ), 'id' => 'format_audio_file', 'desc' => _( 'Support .mp3 file format only' ), 'type' => 'file_advanced', 'max_file_uploads' => 1, 'mime_type' => 'audio', 'visible' => array( 'format_audio', '=', 'file' ), ), array( 'name' => _( 'Quote content' ), 'desc' => _( 'You can write the Quote content here.' ), 'id' => 'format_quote_content', 'type' => 'textarea', 'cols' => '30', 'rows' => '6', 'visible' => array( 'post_format', 'quote' ), ), array( 'name' => _( 'Quote author' ), 'id' => 'format_quote_author', 'type' => 'text', 'clone' => false, 'visible' => array( 'post_format', 'quote' ), ), array( 'name' => _( 'Link to' ), 'id' => 'format_link_url', 'type' => 'text', 'visible' => array( 'post_format', 'link' ), ), ) ); return $meta_boxes; } );Regards
Tan Nguyen
-
AuthorPosts