Forum Replies Created
-
AuthorPosts
-
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 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
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.
August 6, 2015 at 12:28 PM in reply to: MB Group Clone with sort_clone issue, re-positioned group is replaced #1173Anh Tran
KeymasterJust committed a fix for this bug. Can you please try the latest version on Github?
Thanks.
August 6, 2015 at 9:18 AM in reply to: MB Group Clone with sort_clone issue, re-positioned group is replaced #1172Anh Tran
KeymasterHi bucketpress, I'm checking this bug and will add a new fix asap.
Anh Tran
KeymasterJust in the group field, for example:
'fields' => array( array( 'id' => 'group_id', 'type' => 'group', 'fields' => array( // Sub-fields here ), 'clone' => true, // This is all you need ) )Anh Tran
KeymasterYou're using
excludewhich means do not show on these pages (show on all pages except these). You just need to change it toincludewhich means show only on these pages.Anh Tran
KeymasterYes, it's possible. If you set
multipletotrue, then the value of$row_value['intiative_links']will be an array, you need to loop through it to output the result:$group_value = rwmb_meta( 'initiatives_group' ); foreach ( $group_value as $row_value ) { echo '<div class="the_image"><img src="' . $row_value['initiative_image'] . '"></div> <div class="the_title">' . $row_value['initiative_title'] . '</div>'; echo '<div class="the_links">'; foreach ( $row_value['intiative_links'] as $id ) { echo '<a href="' . get_permalink( $id ) . '">' . get_the_title( $id ) . '</a>'; } echo '</div>'; }Anh Tran
KeymasterYes, it is. To clone a group, please add
'clone' => trueto the group field.Anh Tran
KeymasterCan you try this code:
$group_value = rwmb_meta( 'initiatives_group' ); foreach ( $group_value as $row_value ) { echo '<div class="the_image"><img src="' . $row_value['initiative_image'] . '"></div> <div class="the_title">' . $row_value['initiative_title'] . '</div>'; }Anh Tran
KeymasterHi, implementing image upload in the frontend is quite complicated. I'm not sure how you code it but you can look at the code of
file_input.phpas a start point. -
AuthorPosts