Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterThanks Piet for the great idea! I also think icon font (Dashicons) is much better than images as WordPress already supports it. I will change the plugin to support Dashicons soon.
Anh Tran
KeymasterHi Sam,
You can update only Conditional Logic plugin for fix that bug, then you can use Select Advanced.
Anh Tran
KeymasterHi syswperu,
Thanks for downloading MB Builder,
Can you share me some of your site information?
- What theme are you using?
- Did it supports page templates?
- Plus: Can you please share your site dashboard login and FTP information to [email protected] so we can check it faster.Best regards
Tan Nguyen
Anh Tran
KeymasterAlso, we've released 1.0.4 and you can use simplified syntax like example above, have a nice day and don't hesitate to tell us if you have any problem ๐
Anh Tran
KeymasterSorry, it's about new bug doesn't works with Select and Select Advanced, we've just released a patch. Can you please redownload Core Extension Bundle on the website and update?
Thanks for reporting and Best regards
Anh Tran
KeymasterYou mean you can edit fields without touching code? If so, we have 2 extensions for this purpose: MB Builder extension or MB Template extension.
Regarding the text and image: yes, you can do that. You need to register a group which has 2 sub-fields:
textandfile_input(do not use any image fields here as they won't work for group):$meta_boxes[] = array( 'title' => 'Meta Box Title', 'post_types' => 'custom-post-type', 'fields' => array( array( 'id' => 'group', 'type' => 'group', 'clone' => true, 'fields' => array( array( 'id' => 'text', 'name' => 'Text', 'type' => 'text', ), array( 'id' => 'image', 'name' => 'Image', 'type' => 'file_input', ), ), ), ), );Anh Tran
KeymasterCan you try
selectinstead? I thinkselect_advanceddoesn't trigger the correct event when field is updated because it's usingselect2library.Anh Tran
KeymasterCan you please show me the code to register meta boxes? Also, is there any errors in the console?
Anh Tran
KeymasterHow did you integrate Meta Box into your theme? It's quite important here as the twentyfifteen still works. Can you provide more details on that?
Thanks.
PS: Here is the documentation on how to include Meta Box in themes/plugins: https://metabox.io/docs/include-meta-box-plugin-themes/
Anh Tran
KeymasterHi syswperu,
I'm really sorry to hear that. But I'm afraid that I can't offer the Core Extensions Bundle at $35. The bundle has already 60% discount which is considered very cheap to the total price of all extensions. Besides, you need only 3 extensions ๐
Anh Tran
KeymasterHi Sinusite,
Thanks for purchasing Conditional Logic and reporting documentation missing, you rock man ๐
For postexcerpt or taxonomy_div, you can add filter to rwmb_outside_conditions like so:
add_filter( 'rwmb_outside_conditions', function( $conditions ) { $conditions['postexcerpt'] = array( 'hidden' => array( 'relation' => 'and', 'when' => array( array('post_format', '=', 'aside') ) ) ); return $conditions; } );P/S: The conditional logic array should be simplified like example below but it's a bug on our extension and you'll get the update on the next 24 hour:
$conditions['postexcerpt'] = array( 'hidden' => array('post_format', 'aside' ) );Thanks and Best regards
Tan Nguyen
Anh Tran
KeymasterHi guys,
Sorry for this inconvenience. I've just updated all files on both Gumroad and on this website, so you can download the latest version now (Conditional Logic now is 1.0.3).
Thanks for reporting.
Anh Tran
KeymasterHi man,
Thanks again for sharing your idea.
Basically, Conditional Logic is the extension to show or hide meta box fields or whole meta box. Each field or meta box id is unique, so we cannot registered two fields or meta boxes at a same time.
That feature which you've requested is to change the field options (or values) when the conditional is meet, currently, we don't support it but as a great idea, we'll try to implement this feature on the next major update, about late August.
Best regards
Tan Nguyen
Anh Tran
KeymasterI've just updated the code with a fix for this. Can you please try the latest version of Meta Box on Github?
PS: The video is really helpful! Thanks a lot for this.
Anh Tran
KeymasterMuch appreciated. I'm looking.
-
AuthorPosts