Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterJust figured out the bug and released a fix. Please update the extension.
Anh Tran
KeymasterHi @Flickweert,
I've just updated the MB User Meta plugin as well. Please redownload it.
Thanks
AnhAnh Tran
KeymasterHmm, it seems to work for me. Which version of the extension are you using?
Anh Tran
KeymasterRegarding the switching between text and visual tab, this is the behavior of WordPress. WP checks the user's favorite editing mode and saves that in the user meta. Next time the user comes back, he will see the previous mode enabled. In your case, I guess when you edit the post content in visual mode, WP saves this mode.
Besides, if you need to enter raw HTML, you can just use
textareafield. That avoids the switching issue like the editor.Anh Tran
KeymasterI'm still looking at them. Until now, I haven't seen any API that can be used by the Meta Box yet.
Anh Tran
KeymasterHi, if you're using a simple cloned text field, then it has only values. In this case, I think it's best to use these values as both the value and label in the options of the check box list.
You can use a snippet like this:
$settings = get_option( 'option_id' ); $values = isset( $settings['field_id'] ) ? $settings['field_id'] : array(); $options = array(); foreach ( $values as $value ) { $options[$value] = $value; } // In the field array( // Other options 'options' => $options, )Anh Tran
KeymasterYes, it works with WordPress 4.6. The new version introduces WP_Post_Type class and the new API for meta data. All of these things affects the low layer of code and doesn't affect the development layer where Meta Box is. All the public API that is used by the plugin isn't affected. So, everything is ok 🙂
Anh Tran
KeymasterCan you update the Group extension to 1.1.3? I think I already fixed this.
Thanks
AnhAnh Tran
KeymasterThanks for reporting. Just figured out the bug and updated the Term Meta extension. Please update it.
Thanks
AnhJuly 28, 2016 at 11:19 AM in reply to: Trying to show the taxonomy name of a custom post type with a shortcode #3764Anh Tran
KeymasterCan you just try
[rwmb_meta meta_key=“YOUR META KEY” taxonomy=“presenter”]? I see you missedmeta_key.July 28, 2016 at 11:16 AM in reply to: How can I have a pre-embedded video in a meta box (for a tutorial) for my blog writers? #3763Anh Tran
KeymasterHi,
You can use
custom_htmlfield. It allows you add custom HTML code for a field via thestdparam. So you can enter the embeded code of the video for the field. It can’t be edited.Anh Tran
KeymasterHi Nick,
The development version on Github has a fix for this. It adds a new param for map field
api_keywhere you should enter your Google Maps API key. It actually doesn’t relate with the Group extension, so the error must be somewhere else. Can you please post the error here?Thanks
AnhAnh Tran
KeymasterThanks, I will check it.
Anh Tran
KeymasterHi,
Do you see any error in the MB Builder screen?
Anh Tran
KeymasterHi @Ivo,
The 'Supplementary Information' is a child field of the parent group, so you have to access to its value through the parent value, like this:
$group = rwmb_meta( 'saq_id' ); $supplementary = isset( $group['supplementary'] ) ? $group['supplementary'] : array(); foreach ( $supplementary as $single_supplementary ) { $value = isset( $single_supplementary['sub_text'] ) ? $single_supplementary['sub_text'] : ''; echo $value; }Just think about group and sub-group as a hierarchy, everything will be clear 🙂
-
AuthorPosts