Forum Replies Created
-
AuthorPosts
-
Anh Tran
KeymasterIt still works: http://prntscr.com/encgwh
Here is my code: http://pastebin.com/gBpS4Fv5
Probably you need to change the priority in the
inithook for registering post type and taxonomy to something very low (like0), so post type and taxonomy are available when registering meta boxes.Anh Tran
KeymasterHi, you probably need to translate all posts into another language. WPML auto changes the query to include only posts in the current language.
Anh Tran
KeymasterPlease follow this documentation: https://metabox.io/docs/mb-admin-columns/#section-create-custom-admin-columns-without-custom-fields
In the callback function to show column content, you can use the function
the_post_thumbnail.Anh Tran
KeymasterHi Carlos,
I've just checked your code and it works: http://prntscr.com/emi3f6. Can you check if you're using an old version of the extension?
Anh Tran
KeymasterHi ismail,
Unfortunately, nested tabs are not supported. Tabs are defined at meta box level and there's only 1 tabs group.
Anh Tran
KeymasterHi,
You're right. The indexes for cloned values are not reset properly when saving. I've just updated the extension with a fix for that. Please update.
Anh Tran
KeymasterOK, great. Let me know if you still see the bug.
Anh Tran
KeymasterHi @carassius,
This bug was reported in this ticket and I'm working on it.
Anh Tran
KeymasterHi,
Did you get the
$settingsfirst, like shown in the documentation?$settings = get_option( 'option_name' ); $field_id = 'your_field_id'; if ( isset( $settings[$field_id] ) ) { echo '<div id="preloader">'; }Anh Tran
KeymasterYou can use the function
rwmb_the_value(accepts the same arguments asrwmb_meta. I wrote about it here (for checkbox list and radio, but works for all fields, too).Anh Tran
KeymasterHi, can you please post your code here?
Anh Tran
KeymasterI think your code is very close to what you want. Try changing it to:
$paintings = rwmb_meta( 'colours_gallery_images' ); if ( ! empty($paintings) ) { foreach ( $paintings as $painting ) { $attachment_image = wp_get_attachment_url( $painting['ID'] ); $painting_origin = rwmb_meta( 'colours_attachment_origin_area', '', $painting['ID'] ); echo $painting_origin; } }Anh Tran
KeymasterThe Include/Exclude extension works on the meta boxes, not on fields. You can hide/show meta boxes in a settings page using callback function without any problem. However, if you want to show/hide a field, you might need to do a trick: separate the original meta box into 2 meta boxes: 1 for all other fields that always show, 1 for the specific field that can be shown/hide in the settings page. Then use the Include/Exclude extension on the 2nd meta box.
Anh Tran
KeymasterYou're right. That is a bug with the CSS for the Columns extension. I've just fixed in the version 1.2.1 of the Group. Please update it.
Anh Tran
KeymasterYou can't load 2 versions of the plugin. The best thing you can do is edit the plugins to compatible with 1 specific version.
-
AuthorPosts