Support Forum » User Profile

Forum Replies Created

Viewing 15 posts - 2,806 through 2,820 (of 3,702 total)
  • Author
    Posts
  • in reply to: MB Term Meta not showing the fields #5369
    Anh TranAnh Tran
    Keymaster

    It still works: http://prntscr.com/encgwh

    Here is my code: http://pastebin.com/gBpS4Fv5

    Probably you need to change the priority in the init hook for registering post type and taxonomy to something very low (like 0), so post type and taxonomy are available when registering meta boxes.

    in reply to: Post field with post_type page and wpml #5362
    Anh TranAnh Tran
    Keymaster

    Hi, you probably need to translate all posts into another language. WPML auto changes the query to include only posts in the current language.

    in reply to: the_post_thumbnail() in MB Admin Columns #5361
    Anh TranAnh Tran
    Keymaster

    Please 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.

    in reply to: MB Term Meta not showing the fields #5349
    Anh TranAnh Tran
    Keymaster

    Hi 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?

    in reply to: Nested Tab #5348
    Anh TranAnh Tran
    Keymaster

    Hi ismail,

    Unfortunately, nested tabs are not supported. Tabs are defined at meta box level and there's only 1 tabs group.

    in reply to: Bug in Cloneable Field #5347
    Anh TranAnh Tran
    Keymaster

    Hi,

    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.

    in reply to: Collapsible group + not Collapsible group => JS error #5336
    Anh TranAnh Tran
    Keymaster

    OK, great. Let me know if you still see the bug.

    in reply to: Coonamble fields have no default #5335
    Anh TranAnh Tran
    Keymaster

    Hi @carassius,

    This bug was reported in this ticket and I'm working on it.

    in reply to: Checkboxes #5334
    Anh TranAnh Tran
    Keymaster

    Hi,

    Did you get the $settings first, like shown in the documentation?

    $settings = get_option( 'option_name' );
    $field_id = 'your_field_id';
    if ( isset( $settings[$field_id] ) ) {
        echo '<div id="preloader">';
    }
    in reply to: Get Image Attachment Meta #5333
    Anh TranAnh Tran
    Keymaster

    You can use the function rwmb_the_value (accepts the same arguments as rwmb_meta. I wrote about it here (for checkbox list and radio, but works for all fields, too).

    in reply to: Collapsible group + not Collapsible group => JS error #5321
    Anh TranAnh Tran
    Keymaster

    Hi, can you please post your code here?

    in reply to: Get Image Attachment Meta #5320
    Anh TranAnh Tran
    Keymaster

    I 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;
        }
    }
    in reply to: Include/Exclude with Setting Page. #5319
    Anh TranAnh Tran
    Keymaster

    The 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.

    in reply to: 'collapsible' doesn't collapse properly #5295
    Anh TranAnh Tran
    Keymaster

    You'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.

    in reply to: Include Meta Box directly #5294
    Anh TranAnh Tran
    Keymaster

    You can't load 2 versions of the plugin. The best thing you can do is edit the plugins to compatible with 1 specific version.

Viewing 15 posts - 2,806 through 2,820 (of 3,702 total)