Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterSorry for the delay. There was a bug of version 4.9.3, please update to the latest version to fix that.
Anh Tran
KeymasterThere's a method
add_actionsofRWMB_Fieldthat you can use to define custom actions for sub-fields. For more info, please see this docs:https://metabox.io/docs/rwmb-field-class/#section-add_actions
October 4, 2016 at 8:24 AM in reply to: The WYSIWYG has white color in the content and missing the toolbar when repeating #4231Anh Tran
KeymasterPlease update to the latest version, it's 1.1.5 now. For more info, please follow this guide:
Anh Tran
KeymasterThis is just fixed on Github.
New version will be available soon π
Anh Tran
KeymasterFor old posts, the custom fields already have some value (even empty values). So it doesn't make any sense to set the default value anymore.
Anh Tran
KeymasterIt should. The taxonomy field needs to work as normal fields. I will check and fix it on Github.
Anh Tran
KeymasterHi, each clone field will store values as an array. You just need to loop through it to get the value:
<?php $details = rwmb_meta( 'bee_img_details' ); // See details var_dump( $details ); if ( !empty( $details ) ) { foreach ( $details as $detail ) { $layers = isset( $detail['bee_slide_img'] ) ? $detail['bee_slide_img'] : array(); $texts = isset( $detail['bee_text_layer'] ) ? $detail['bee_text_layer'] : array(); if ( ! empty( $layers ) ) { foreach ( $layers as $layer ) { echo $layer; } } if ( ! empty( $texts ) ) { foreach ( $texts as $text ) { echo $text; } } } }October 2, 2016 at 8:53 PM in reply to: The WYSIWYG has white color in the content and missing the toolbar when repeating #4213Anh Tran
KeymasterWhich version of the Group extension are you using?
October 1, 2016 at 2:34 PM in reply to: The WYSIWYG has white color in the content and missing the toolbar when repeating #4206Anh Tran
KeymasterI've just fixed it on Github. Please download the development version here.
Thanks
September 30, 2016 at 10:49 PM in reply to: Problem since this morning (RW_Meta_Box :: get_class_name) #4199Anh Tran
KeymasterYes, itβs possible. Please follow the instruction in this guide:
Anh Tran
KeymasterThanks for reporting. It's fixed in version 4.9.5.
Anh Tran
KeymasterThe Group extension is working now with version 4.9.4. Please update Meta Box.
Anh Tran
KeymasterFYI, I've just added an issue on Github to track this and gather more opinions.
Anh Tran
KeymasterHi,
The plugin use WordPress mechanism to store the data. And WordPress chooses to store an array as a serialized string, not a json_encode string.
I suggest you hook to the
rwmb_after_save_posthook and store a duplicated value for that specific field.Another idea is in the topic that you referred to, but it has an issue with backward compatibility.
Anh Tran
KeymasterI've just fixed the bug and released version 4.9.4. Please update!
-
AuthorPosts